/* ITIDA: retain the existing red/orange identity and page composition. */
body:is(.theme-itida-store, .wp-theme-itida-store) {
  --itida-font: "Poppins", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --itida-ink: #212121;
  --itida-copy: #414141;
  font-family: var(--itida-font);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(input, select, textarea, button, .itida-offers-box, .itd-drag-wrap) {
  font-family: var(--itida-font) !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.product_title, .entry-title) {
  line-height: 1.4 !important;
  font-weight: 600 !important;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .product_title { margin-bottom: 16px !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.itida-section h2, .itida-sec-title, .scroll-header, .scroll-header-2, .scroll-header-3, .itd-drag-head) {
  font-family: var(--itida-font) !important;
  font-size: clamp(20px, 1.8vw, 28px) !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: -.02em;
  margin-top: 0;
  margin-bottom: 24px !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.itida-t-title, .itida-hor-title, .itida-cat-header) { line-height: 1.45 !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.itida-t-desc, .story-desc, .coupon-desc, .hindi-alert) { line-height: 1.7 !important; }

/* Product photos occupy a square box. scale-down never stretches or enlarges. */
body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-loop-image-wrapper > a {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view ul.products li.product img.product-loop-image,
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itd-drag-card > img,
body:is(.theme-itida-store, .wp-theme-itida-store) #view .scroll-card > img,
body:is(.theme-itida-store, .wp-theme-itida-store) #view .buy-card > img,
body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-card .img-box > img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: scale-down !important;
  object-position: center !important;
  background: transparent !important;
  display: block;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-loop-hover-image { background-size: contain !important; background-repeat: no-repeat; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-images .image-item > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-images .image-item > a > img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: scale-down !important;
  object-position: center;
  background: transparent !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-thumbnail-images .thumbnail-item {
  aspect-ratio: 1 / 1;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-thumbnail-images .thumbnail-item > img {
  width: 100%;
  height: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: scale-down;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.itida-frame, .itida-img-box, .itida-hor-img-box) {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  border-radius: 8px !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.itida-img, .itida-img-box > img, .itida-hor-img) {
  width: 100% !important;
  height: 100% !important;
  object-fit: scale-down !important;
  border-radius: 0 !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.woocommerce-cart-form .product-thumbnail img, .woocommerce-mini-cart-item img) {
  aspect-ratio: 1 / 1;
  object-fit: scale-down !important;
}

/* Equal title space and a quiet, readable hierarchy inside existing cards. */
body:is(.theme-itida-store, .wp-theme-itida-store) #view ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--itida-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  height: 4.5em !important;
  -webkit-line-clamp: 3 !important;
  margin: 14px 0 10px !important;
  padding: 0 !important;
  overflow-wrap: anywhere;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itd-drag-card h3 {
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  height: 4.5em !important;
  -webkit-line-clamp: 3 !important;
  margin: 12px 0 !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .price-wrapper.grid-price {
  flex-wrap: wrap;
  gap: 4px;
  margin: 12px 0 16px !important;
}
/* The legacy 30px animated price slot clips larger text and wrapped badges. */
body:is(.theme-itida-store, .wp-theme-itida-store) #view ul.products li.product .product-loop-meta,
body:is(.theme-itida-store, .wp-theme-itida-store) #view ul.products li.product .product-loop-meta .animated-meta,
body:is(.theme-itida-store, .wp-theme-itida-store) #view ul.products li.product .product-loop-meta .price {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view ul.products li.product .product-loop-meta .animated-meta {
  transform: none !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view ul.products li.product .price-wrapper.grid-price {
  margin: 0 !important;
  padding: 6px 0;
  gap: 6px 8px;
  flex-wrap: wrap !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view ul.products li.product .grid-highlight-price,
body:is(.theme-itida-store, .wp-theme-itida-store) #view ul.products li.product .grid-highlight-price :is(span, bdi) {
  line-height: 1.35 !important;
  white-space: nowrap;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-offers-box { margin: 20px 0 !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-offers-title {
  font-family: var(--itida-font);
  font-size: 15px !important;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 10px !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-offers-box ul { list-style: disc !important; padding-left: 20px !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-offers-box li { font-size: 13px !important; line-height: 1.7 !important; margin: 0 0 8px !important; padding-left: 3px; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-offers-box li::marker { color: #e95420; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-product-details__short-description { margin: 20px 0 24px !important; }

/* Descriptions and information pages: the words stay the same. */
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.woocommerce-Tabs-panel--description, .woocommerce-product-details__short-description,
 .policy-container, .shipping-container, .privacy-container, .terms-container, .disclaimer-container, .contact-container, .faq-container) {
  font-family: var(--itida-font) !important;
  line-height: 1.75 !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.woocommerce-Tabs-panel--description, .woocommerce-product-details__short-description) :is(div, p, ul, ol, li, table, td, th, span, em) {
  font-family: var(--itida-font) !important;
  line-height: 1.75 !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-Tabs-panel--description { font-size: 15px !important; color: var(--itida-copy); }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-Tabs-panel--description :is(p, li, td, th, span, em) { font-size: inherit !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-Tabs-panel--description > div { font-size: inherit !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.woocommerce-Tabs-panel--description, .policy-section, .shipping-section, .terms-section, .faq-answer) p { margin: 0 0 16px !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.woocommerce-Tabs-panel--description, .policy-section, .terms-section) :is(ul, ol) {
  padding-inline-start: 24px !important;
  margin: 16px 0 24px !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.woocommerce-Tabs-panel--description, .policy-section, .terms-section) li { padding-left: 4px; margin-bottom: 16px !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-Tabs-panel--description li::marker { color: #e95420; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-Tabs-panel--description li > :is(em, span[style*="italic"]) {
  display: block;
  margin-top: 5px;
  font-style: normal !important;
  color: #565656 !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-Tabs-panel--description :is(h2, h3, h4) {
  font-family: var(--itida-font) !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: var(--itida-ink) !important;
  margin: 28px 0 14px !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-Tabs-panel--description h2 { font-size: 23px !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-Tabs-panel--description h3 { font-size: 19px !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-Tabs-panel--description h4 { font-size: 17px !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-Tabs-panel--description > div > :first-child { margin-top: 0 !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.woocommerce-Tabs-panel--description, .woocommerce-product-details__short-description) table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0 24px !important;
  font-size: 14px !important;
  text-align: left;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.woocommerce-Tabs-panel--description, .woocommerce-product-details__short-description) :is(td, th) {
  padding: 12px 14px !important;
  vertical-align: top;
  border-color: #dedede !important;
  overflow-wrap: anywhere;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-product-details__short-description td:first-child { width: 32%; font-weight: 600; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.policy-section, .shipping-section, .terms-section) :is(h2, h3, h4) { line-height: 1.45 !important; margin-bottom: 14px !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .faq-answer { padding-top: 14px !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .faq-card summary { line-height: 1.6 !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .site-footer p { line-height: 1.75; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .site-footer li { margin-bottom: 9px; }
/* The newer local FiboSearch icon otherwise overlaps the copied placeholder. */
body:is(.theme-itida-store, .wp-theme-itida-store) #view .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input { padding-left: 42px !important; font-style: normal !important; }
@media (max-width: 767px) {
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .product_title { font-size: 22px !important; line-height: 1.45 !important; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view ul.products li.product .woocommerce-loop-product__title { font-size: 13px !important; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .itd-drag-card h3 { font-size: 12px !important; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-Tabs-panel--description { font-size: 14px !important; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-Tabs-panel--description h2 { font-size: 20px !important; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-Tabs-panel--description h3 { font-size: 18px !important; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.woocommerce-Tabs-panel--description, .woocommerce-product-details__short-description) :is(td, th) { padding: 10px !important; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view :is(.scroll-header, .scroll-header-2, .scroll-header-3, .itida-sec-title) { margin-bottom: 18px !important; }
}

body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-card .img-box { height:auto !important; aspect-ratio:1 / 1; }

body:is(.theme-itida-store, .wp-theme-itida-store) #view .site-navigation .current-menu-item > a,
body:is(.theme-itida-store, .wp-theme-itida-store) #view .woocommerce-tabs .tabs li.active a { color:#b8450a !important; }

/* Keep long hero text readable within the existing image/text composition. */
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-mobile-hero .itida-title {
  font-family:var(--itida-font) !important; font-size:clamp(25px, 2.6vw, 36px) !important;
  font-weight:700 !important; line-height:1.35 !important; letter-spacing:-.02em;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-mobile-hero .itida-price {
  font-family:var(--itida-font) !important; font-size:clamp(27px, 2.8vw, 38px) !important;
  font-weight:700 !important; line-height:1.25 !important; letter-spacing:-.02em;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-mobile-hero .itida-list {
  font-family:var(--itida-font) !important; font-size:14px !important; line-height:1.8 !important;
}

/* Product-page update: larger thumbnails beneath the main photo. */
@media (min-width: 768px) {
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-gallery.horizontal-style .product-thumbnail-images .thumbnail-item {
    width: 104px !important;
    max-width: 104px !important;
    margin-right: 12px;
  }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-gallery.horizontal-style .product-images { margin-bottom: 18px; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-thumbnail-images .thumbnail-item > img {
    border: 2px solid #e6e6e6;
    border-radius: 8px;
  }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-thumbnail-images .thumbnail-item.is-nav-selected > img { border-color: #f56a0b; }
}
@media (min-width: 768px) and (max-width: 991px) {
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-gallery.horizontal-style .product-thumbnail-images .thumbnail-item {
    width: 96px !important;
    max-width: 96px !important;
  }
}

/* Keep the existing prepaid saving clear without coupon promotions. */
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-offers-box.itida-prepaid-offer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0 !important;
  padding: 16px 18px !important;
  border: 1px solid #cce2d1;
  border-left: 4px solid #278348;
  border-radius: 10px;
  background: #f2faf4;
  color: #185d32;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-prepaid-icon {
  display: flex;
  flex: 0 0 24px;
  margin-top: 2px;
  color: #278348;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-prepaid-copy { min-width: 0; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-prepaid-offer .itida-offers-title {
  color: #185d32;
  font-size: 13px !important;
  font-weight: 600;
  margin: 0 0 4px !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-prepaid-message {
  color: #173c23;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-prepaid-message strong { color: #176e35; font-weight: 700; white-space: nowrap; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-prepaid-terms { margin-top: 6px; font-size: 12px; line-height: 1.65; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-prepaid-terms summary { cursor: pointer; width: fit-content; color: #185d32; text-decoration: underline; text-underline-offset: 3px; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-prepaid-terms p { margin: 8px 0 0; color: #355e40; }

/* Compact product details keep the two columns visually balanced. */
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .itida-prepaid-offer {
  margin: 12px 0 !important;
  padding: 12px 14px !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .woocommerce-product-details__short-description {
  margin: 14px 0 !important;
  font-size: 14px;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .woocommerce-product-details__short-description table {
  margin: 0 !important;
  font-size: 13px !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .woocommerce-product-details__short-description :is(td, th) {
  padding: 7px 10px !important;
  line-height: 1.5 !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .woocommerce-product-details__short-description :is(p, ul, ol) {
  margin: 0 0 8px !important;
  line-height: 1.6 !important;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .product_meta {
  margin: 14px 0 !important;
  padding: 0 !important;
  border: 0;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .product_meta .posted_in {
  display: block;
  font-size: 0 !important;
  line-height: 1.5;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .product_meta .posted_in::before {
  content: "Categories";
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
  font-weight: 600;
  color: #292929;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .product_meta .posted_in a {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 5px 10px;
  border: 1px solid #f3cdb8;
  border-radius: 6px;
  background: #fff6ef;
  color: #a53d09;
  font-size: 15px !important;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .product_meta .posted_in a:is(:hover, :focus-visible) {
  color: #853005;
  background: #ffeadb;
  border-color: #c85418;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .product_meta .tagged_as { font-size: 12px; line-height: 1.5; }
/* WooCommerce Brands reuses posted_in; retain its own Brand label. */
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .product_meta .posted_in ~ .posted_in { font-size: 12px !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .product_meta .posted_in ~ .posted_in::before { display: none; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .product_meta .posted_in ~ .posted_in a {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px !important;
  font-weight: 500;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .itida-pincode-wrapper {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 16px;
  align-items: center;
  margin: 14px 0 !important;
  padding: 10px 12px !important;
  border-radius: 8px;
  background: #fafafa;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .pincode-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .pincode-group { padding-bottom: 2px; border-bottom-width: 1px; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .pincode-group input { height: 34px; font-size: 14px; font-weight: 500; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .pincode-group button { min-height: 36px; padding: 0 6px; font-size: 12px; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view #itida_pincode_message { grid-column: 1 / -1; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary form.cart { margin: 16px 0 0 !important; }
@media (min-width: 992px) {
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-page-container > .woostify-container > :is(.product-gallery, .product-summary) {
    width: calc((100% - 28px) / 2);
    flex-basis: calc((100% - 28px) / 2);
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
  }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .product-page-container > .woostify-container > .product-gallery { margin-right: 28px; }
}
@media (max-width: 575px) {
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .summary .itida-pincode-wrapper { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* Make the existing marketplace presence easy to recognise on every screen. */
body:is(.theme-itida-store, .wp-theme-itida-store) #view .marketplace-section {
  padding: clamp(24px, 3vw, 42px) 24px;
  margin: 24px 0;
  border: 1px solid #f2d4ba;
  border-top: 4px solid #f56713;
  border-radius: 18px;
  background: linear-gradient(125deg, #fff5e9, #fffdfb 55%, #fff7ee);
  box-shadow: 0 8px 24px #7837000a;
  font-family: var(--itida-font);
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .marketplace-section h3 {
  margin: 0 0 10px;
  color: #242424;
  font-family: var(--itida-font);
  font-size: clamp(23px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.025em;
  text-transform: none;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .marketplace-section > p { margin: 0 0 24px; font-size: 15px; color: #615447; line-height: 1.6; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  max-width: 1160px;
  margin: 0 auto;
  overflow: visible;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-logos .platform-box {
  flex-direction: column;
  gap: 6px;
  width: 100%;
  height: 150px;
  padding: 16px 12px;
  border: 1px solid #eaded2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 10px #44220008;
  color: #292929;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-box img {
  width: 150px;
  height: 90px;
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
  mix-blend-mode: normal;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-box::before {
  content: "↗";
  position: absolute;
  top: 8px;
  right: 12px;
  color: #b34b0b;
  font-size: 18px;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-box::after { font-size: 14px; font-weight: 600; line-height: 1.4; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-box:has(img[alt="Amazon"])::after { content: "Amazon"; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-box:has(img[alt="Meesho"])::after { content: "Meesho"; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-box:has(img[alt="JioMart"])::after { content: "JioMart"; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-box:has(img[alt="Flipkart"])::after { content: "Flipkart"; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-box:has(img[alt="Shopsy"])::after { content: "Shopsy"; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-box:is(:hover, :focus-visible) {
  transform: translateY(-3px);
  border-color: #ea742c;
  box-shadow: 0 8px 18px #b3521418;
  outline: 2px solid #f5b78e;
  outline-offset: 2px;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .marketplace-section .scroll-hint { display: none; }
@media (max-width: 767px) {
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .marketplace-section { padding: 24px 14px; border-radius: 14px; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-box { height: 136px; padding: 12px; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-box:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - 12px) / 2); justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .platform-box { transition: none; }
}

body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-marketplace-story { max-width: 1000px; margin: 0 auto 28px; padding-bottom: 26px; border-bottom: 1px solid #edd5c2; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-marketplace-story h2 {
  font-family: var(--itida-font);
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  color: #a9440a;
  margin: 0 0 14px;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-marketplace-story p { font-size: 16px; line-height: 1.9; color: #473c33; margin: 0; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-story-banner:has(.story-whatsapp-wrapper):not(:has(.story-top-row)) { padding-top: 0; padding-bottom: 0; }

/* Keep every original category image and link in a clear shopping grid. */
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-section { padding: 32px 20px; background: #fff; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-section .itida-sec-title { text-transform: none; font-size: clamp(24px, 2.3vw, 32px) !important; margin-bottom: 26px !important; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-section .itida-sec-title span { border-bottom: 0; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-wrap {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  max-width: 1440px;
  padding: 0;
  overflow: visible;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-wrap .itida-hor-item {
  display: flex !important;
  width: 100%;
  min-width: 0;
  padding: 16px 12px;
  border: 1px solid #e7e3df;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px #32200d06;
  transition: border-color .18s ease, box-shadow .18s ease;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-wrap .itida-hor-img-box {
  width: min(100%, 160px);
  padding: 8px;
  background: #fff;
  border: 0;
  box-shadow: none;
  margin-bottom: 14px;
}
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-wrap .itida-hor-title { font-size: 16px; font-weight: 600; line-height: 1.5 !important; color: #282828; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-wrap .itida-hor-item:is(:hover, :focus-visible) { transform: none; border-color: #e87836; box-shadow: 0 6px 18px #c65b1318; outline: 2px solid #f7c5a7; outline-offset: 2px; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-wrap .itida-hor-item:is(:hover, :focus-visible) .itida-hor-title { color: #a9440a; }
body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-section .itida-swipe-hint { display: none; }
@media (max-width: 1024px) {
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 575px) {
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-section { padding: 26px 10px; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-wrap .itida-hor-item { padding: 12px 8px; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-hor-cat-wrap .itida-hor-title { font-size: 14px; }
  body:is(.theme-itida-store, .wp-theme-itida-store) #view .itida-marketplace-story p { font-size: 15px; }
}
