/**
 * Console theme — Awesome Shop PLP / PDP layout (scoped).
 * Container width matches Console site grid (1350px).
 */
html[data-ec-storefront="console"] {
  --color: #fff;
  --color-2: #1a1d3e;
  --color-3: #f2f2f2;
  --color-4: var(--ec-style-primary, #f14901);
  --color-6: #f5f5f5;
  --color-7: var(--ec-style-primary, #f14901);
  --color-9: dimgrey;
  --color-10: #b0b0b0;
  --color-11: #c4c4c4;
  --color-12: #646466;
  --color-13: #404040;
}

/* ── Shared container (Console 1350px) ── */
html[data-ec-storefront="console"] .product-detail-section .container,
html[data-ec-storefront="console"] .product-detail-section .w-container,
html[data-ec-storefront="console"] .product-detail-section .w-layout-blockcontainer,
html[data-ec-storefront="console"] .related-product-section .container,
html[data-ec-storefront="console"] .related-product-section .w-container,
html[data-ec-storefront="console"] .related-product-section .w-layout-blockcontainer,
html[data-ec-storefront="console"] .all-product-section .container,
html[data-ec-storefront="console"] .all-product-section .w-container,
html[data-ec-storefront="console"] .all-product-section .w-layout-blockcontainer {
  width: 100% !important;
  max-width: 1350px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  box-sizing: border-box;
}

/* ── PLP ── */
html[data-ec-storefront="console"] .all-product-section {
  margin-bottom: 60px;
  padding-top: 24px;
}

html[data-ec-storefront="console"] .all-product-section-wrapper {
  padding-top: 0 !important;
}

html[data-ec-storefront="console"] .all-product-content {
  display: grid;
  grid-template-columns: minmax(240px, 0.28fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

html[data-ec-storefront="console"] .section-header.wd-section-header {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

html[data-ec-storefront="console"] .section-header.wd-section-header.dire-verical {
  flex-flow: column;
  padding-bottom: 32px;
}

html[data-ec-storefront="console"] .heading-two {
  letter-spacing: -0.02em;
  margin: 0;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.16;
}

html[data-ec-storefront="console"] .heading-two.dark-blue {
  color: var(--color-2);
}

html[data-ec-storefront="console"] .heading-two.dark-blue.font-44 {
  font-size: 44px;
}

html[data-ec-storefront="console"] .heading-two.dark-blue.font-44.mt-16 {
  margin-top: 16px;
}

html[data-ec-storefront="console"] .normal-text.ls-color {
  color: #646466;
  letter-spacing: -0.03em;
}

html[data-ec-storefront="console"] .normal-text.dark-blue {
  color: var(--color-2);
}

html[data-ec-storefront="console"] .normal-text.dark-blue.ls_-03 {
  letter-spacing: -0.03em;
}

html[data-ec-storefront="console"] .normal-text.dark-blue.ls_-01 {
  letter-spacing: -0.01em;
}

html[data-ec-storefront="console"] .product-filter-bar {
  display: flex;
  flex-flow: column;
  gap: 32px;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  padding: 20px;
}

html[data-ec-storefront="console"] .product-filter-divider {
  border-top: 1px solid rgba(26, 29, 62, 0.16);
  width: 100%;
  height: 0;
}

html[data-ec-storefront="console"] .accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

html[data-ec-storefront="console"] .accordion-title {
  color: var(--color-2);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

html[data-ec-storefront="console"] .category-filter-list {
  display: flex;
  flex-flow: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html[data-ec-storefront="console"] .category-filter-list-item {
  display: flex;
  align-items: center;
}

html[data-ec-storefront="console"] .category-filter-text {
  display: flex;
  gap: 6px;
  align-items: baseline;
}

html[data-ec-storefront="console"] .product-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

html[data-ec-storefront="console"] .shorting-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f5f5;
  border: 1px solid rgba(26, 29, 62, 0.04);
  border-radius: 8px;
  padding: 14px 16px;
}

html[data-ec-storefront="console"] .shorting-text-block {
  display: flex;
  gap: 4px;
  align-items: center;
}

html[data-ec-storefront="console"] .shorting-text {
  color: var(--color-2);
  font-size: 16px;
  line-height: 1.16;
}

html[data-ec-storefront="console"] .product-collections-content,
html[data-ec-storefront="console"] .all-products-view-content.product-card-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 16px;
}

html[data-ec-storefront="console"] .product-card-wrapper,
html[data-ec-storefront="console"] .product-card-wrapper.product-collections-content {
  grid-row-gap: 16px;
}

html[data-ec-storefront="console"] .product-card,
html[data-ec-storefront="console"] .product-card.product_card_archive {
  display: flex;
  flex-flow: column;
  gap: 8px;
  width: 100%;
  min-height: 0;
  max-height: none;
  height: auto;
  padding: 0;
  text-decoration: none;
}

html[data-ec-storefront="console"] .product-card-img-block {
  position: relative;
  width: 100%;
  max-width: none;
  aspect-ratio: 1 / 1;
  height: auto;
  max-height: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

html[data-ec-storefront="console"] .product-card-image-link,
html[data-ec-storefront="console"] .product-card-img-block .product-img {
  display: block;
  width: 100%;
  height: 100%;
}

html[data-ec-storefront="console"] .product-card-img-block .product-img {
  object-fit: cover;
  transition: transform 0.38s ease, filter 0.38s ease;
}

html[data-ec-storefront="console"] .product-card.product_card_archive:hover .product-card-img-block .product-img {
  transform: scale(1.06);
  filter: saturate(1.04);
}

html[data-ec-storefront="console"] .product-info-wrapper {
  display: flex;
  flex-flow: column;
  gap: 12px;
  width: 100%;
  min-height: 0;
  height: auto;
  flex: 1 1 auto;
}

html[data-ec-storefront="console"] .product-card-text-wrap {
  display: flex;
  flex-flow: column;
  gap: 2px;
  padding: 5px 15px 15px;
}

html[data-ec-storefront="console"] .product_card_archive .product-card-text-wrap {
  gap: 8px;
  flex: 1 1 auto;
}

html[data-ec-storefront="console"] .product_card_archive .product-card-text-wrap .cart-btn-wrap {
  margin-top: 4px;
}

html[data-ec-storefront="console"] .product-title {
  margin: 0;
  color: var(--color-2);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

html[data-ec-storefront="console"] .review-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

html[data-ec-storefront="console"] .normal-small-text {
  font-size: 14px;
  line-height: 1.4;
}

html[data-ec-storefront="console"] .normal-small-text.dimgrey-color {
  color: var(--color-9);
}

html[data-ec-storefront="console"] .normal-small-text.gedium-gray {
  color: var(--color-10);
}

html[data-ec-storefront="console"] .normal-small-text.gedium-gray.line-through {
  text-decoration: line-through;
}

html[data-ec-storefront="console"] .price-label {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: center;
  justify-content: center;
}

html[data-ec-storefront="console"] .semibold-text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

html[data-ec-storefront="console"] .semibold-text.dark-blue {
  color: var(--color-2);
}

html[data-ec-storefront="console"] .product-cart,
html[data-ec-storefront="console"] .ec-console-add-to-cart-form .product-cart {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  box-sizing: border-box;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

html[data-ec-storefront="console"] .product-cart--compact {
  padding: 9px 12px;
}

html[data-ec-storefront="console"] .product-cart .product-cart-text {
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

html[data-ec-storefront="console"] .product-cart .cart-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%);
  transition: filter 0.22s ease;
}

html[data-ec-storefront="console"] .product-cart:hover:not(:disabled),
html[data-ec-storefront="console"] .product-cart:focus-visible:not(:disabled) {
  background: var(--ec-style-primary, #f14901);
  border-color: var(--ec-style-primary, #f14901);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(241, 73, 1, 0.18);
}

html[data-ec-storefront="console"] .product-cart:hover:not(:disabled) .product-cart-text,
html[data-ec-storefront="console"] .product-cart:focus-visible:not(:disabled) .product-cart-text {
  color: #fff;
}

html[data-ec-storefront="console"] .product-cart:hover:not(:disabled) .cart-icon,
html[data-ec-storefront="console"] .product-cart:focus-visible:not(:disabled) .cart-icon {
  filter: brightness(0) invert(1);
}

html[data-ec-storefront="console"] .product-cart:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

html[data-ec-storefront="console"] .product-card .cart-btn-wrap,
html[data-ec-storefront="console"] .ec-console-list-cart {
  margin-top: auto;
  width: 100%;
}

html[data-ec-storefront="console"] .ec-console-add-to-cart-form {
  width: 100%;
}

html[data-ec-storefront="console"] .sale-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: max-content;
  background: var(--color-7);
  border-radius: 999px;
  padding: 4px 8px;
}

html[data-ec-storefront="console"] .sale-tag-text {
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
}

html[data-ec-storefront="console"] .ec-studio-plp-pagination {
  width: 100%;
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* ── PDP ── */
html[data-ec-storefront="console"] .product-detail-section {
  padding-top: 28px;
  padding-bottom: 64px;
}

html[data-ec-storefront="console"] .product-de-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 62px;
  align-items: start;
  margin-top: 10px;
}

html[data-ec-storefront="console"] .product-image-gallrey {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

html[data-ec-storefront="console"] .product-image-gallrey.ec-pdp-gallery--single {
  grid-template-columns: minmax(0, 1fr);
}

html[data-ec-storefront="console"] .side-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html[data-ec-storefront="console"] .pd-main-image,
html[data-ec-storefront="console"] .ec-main-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}

html[data-ec-storefront="console"] .product-summaty-content {
  display: flex;
  flex-flow: column;
  gap: 32px;
}

html[data-ec-storefront="console"] .sub-title {
  color: var(--color-7);
  font-size: 16px;
  line-height: 1.59;
}

html[data-ec-storefront="console"] .heading-style-four {
  color: var(--color-2);
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.31;
}

html[data-ec-storefront="console"] .review-box.pd-review-box {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

html[data-ec-storefront="console"] .normal-text.dc-grey {
  color: #404040;
}

html[data-ec-storefront="console"] .price-label.pd-price-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 24px;
  justify-content: flex-start;
  text-align: left;
}

html[data-ec-storefront="console"] .semibold-text.dark-blue.pd-semibold-text {
  font-size: 26px;
  line-height: 1.16;
}

html[data-ec-storefront="console"] .normal-small-text.gedium-gray.line-through.pd-normal-small-text {
  opacity: 0.5;
  color: var(--color-13);
  font-size: 26px;
  line-height: 1.16;
  text-decoration: line-through;
}

html[data-ec-storefront="console"] .pd-pra-wrap {
  margin-top: 24px;
}

html[data-ec-storefront="console"] .checkout-controls {
  display: flex;
  flex-flow: column;
  gap: 12px;
}

html[data-ec-storefront="console"] .checkout-controls-box {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

html[data-ec-storefront="console"] .quantity-selector {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 218px;
  padding: 6px 16px;
  background: var(--color-6);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 8px;
}

html[data-ec-storefront="console"] .quantity-selector input {
  background: transparent !important;
  border: 0;
}

html[data-ec-storefront="console"] .buy-now-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border-radius: 8px;
  background: #c4c4c4;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

html[data-ec-storefront="console"] .primary-cart-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--color-7);
  text-decoration: none;
}

html[data-ec-storefront="console"] .primary-cart-btn-text {
  color: #fff;
  font-size: 16px;
}

html[data-ec-storefront="console"] .pd-metadata-content {
  display: flex;
  flex-flow: column;
  gap: 18px;
}

html[data-ec-storefront="console"] .sk-unit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

html[data-ec-storefront="console"] .trust-badges {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 20px;
  background: var(--color-6);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 8px;
}

html[data-ec-storefront="console"] .trust-badges-box {
  display: flex;
  flex-flow: column;
  gap: 22px;
}

html[data-ec-storefront="console"] .tb-singel-block {
  display: flex;
  align-items: center;
  gap: 8px;
}

html[data-ec-storefront="console"] .product-divider {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  width: 100%;
}

html[data-ec-storefront="console"] .heading-four.color-black {
  color: var(--color-2);
  font-size: 18px;
  font-weight: 600;
}

html[data-ec-storefront="console"] .related-product-section {
  background: var(--color-6);
  padding: 64px 0;
}

html[data-ec-storefront="console"] .related-product-section-wrapper {
  display: flex;
  flex-flow: column;
  gap: 40px;
}

html[data-ec-storefront="console"] .related-product-section .all-products-view-content {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 16px;
}

html[data-ec-storefront="console"] .related-product-section .product-card {
  min-height: 0;
  max-height: none;
}

/* ── Responsive ── */
@media screen and (max-width: 1199px) {
  html[data-ec-storefront="console"] .product-collections-content,
  html[data-ec-storefront="console"] .all-products-view-content.product-card-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html[data-ec-storefront="console"] .related-product-section .all-products-view-content {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (max-width: 991px) {
  html[data-ec-storefront="console"] .all-product-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  html[data-ec-storefront="console"] .product-de-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  html[data-ec-storefront="console"] .product-collections-content,
  html[data-ec-storefront="console"] .all-products-view-content.product-card-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-ec-storefront="console"] .related-product-section .all-products-view-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html[data-ec-storefront="console"] .heading-two,
  html[data-ec-storefront="console"] .heading-two.dark-blue.font-44 {
    font-size: 34px;
  }
}

@media screen and (max-width: 767px) {
  html[data-ec-storefront="console"] .related-product-section .all-products-view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-ec-storefront="console"] .checkout-controls-box {
    flex-direction: column;
  }

  html[data-ec-storefront="console"] .quantity-selector {
    max-width: none;
  }
}
