/* Panda 1.2.5 — scoped header, shop and comparison table fixes. */
@media (min-width: 841px) {
  .pd-header .pd-header-row {
    display: grid;
    grid-template-columns: max-content minmax(0, max-content) minmax(220px, 1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    direction: rtl;
  }
  .pd-header-row .pd-cat-nav,
  .pd-header-row .pd-nav,
  .pd-header-row .pd-search { min-width: 0; margin: 0; align-self: center; }
  .pd-header-row .pd-cat-nav__toggle { white-space: nowrap; }
  .pd-header-row .pd-nav { max-width: 100%; width: auto; justify-self: start; }
  .pd-header-row .pd-nav__menu,
  .pd-header-row .pd-nav-fallback { display: flex; flex-flow: row nowrap; align-items: center; gap: 4px; }
  .pd-header-row .pd-nav__menu > li { flex: 0 0 auto; }
  .pd-header-row .pd-nav__menu a { white-space: nowrap; padding-inline: 8px; }
  .pd-header-row .pd-search { width: 100%; justify-self: stretch; height: 44px; }
}
/* Integrate search submit icon with the rounded search field, not a square box. */
.pd-header-row .pd-search { border-radius: var(--radius-md, 12px); }
.pd-header-row .pd-search > button[type="submit"] {
  border-radius: var(--radius-md, 12px) 0 0 var(--radius-md, 12px);
  align-self: stretch; flex: 0 0 44px; overflow: hidden;
}
.pd-header-row .pd-search > button[type="submit"] .pd-icon { display: grid; place-items: center; }
@media (min-width:841px) and (max-width:1160px) {
  .pd-header .pd-header-row { gap: 8px; grid-template-columns:max-content minmax(0,max-content) minmax(180px,1fr); }
  .pd-header-row .pd-nav__menu { gap:2px; }
  .pd-header-row .pd-nav__menu a { font-size:10px; padding-inline:5px; }
  .pd-header-row .pd-cat-nav__toggle { font-size:11px; padding-inline:9px; }
}
@media (max-width:840px) {
  .pd-header .pd-header-row { display:flex; flex-direction:column; align-items:stretch; gap:10px; }
  .pd-header .pd-header-row .pd-cat-nav,
  .pd-header .pd-header-row .pd-search { width:100%; }
  .pd-header .pd-header-row .pd-nav { width:100%; }
  .pd-header .pd-header-row .pd-nav__menu { flex-direction:column; align-items:stretch; }
}
/* Collapsible technical filters remain closed by default. */
.pd-archive .discoverySection { padding:0; overflow:visible; }
.pd-archive .pd-spec-filters { display:block; }
.pd-archive .pd-spec-filters__toggle { display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer; list-style:none; padding:16px 20px; color:var(--ink); }
.pd-archive .pd-spec-filters__toggle::-webkit-details-marker {display:none}
.pd-archive .pd-spec-filters__toggle strong {display:block;font-size:16px;font-weight:900}
.pd-archive .pd-spec-filters__toggle small {display:block;color:var(--muted);font-size:11px;margin-top:3px}
.pd-archive .pd-spec-filters__chevron,.pd-archive .pd-accordion-chevron{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px;transition:transform .2s ease;color:var(--ink)}
.pd-archive .pd-spec-filters__chevron svg,.pd-archive .pd-accordion-chevron svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pd-archive .pd-spec-filters[open] .pd-spec-filters__chevron {transform:rotate(180deg)}
.pd-archive .pd-spec-filters__content {padding:6px 20px 22px;border-top:1px solid var(--divider);min-width:0}
.pd-archive .pd-spec-filters__toggle:focus-visible {outline:3px solid var(--violet);outline-offset:2px}
/* Shop carousel, five visible product columns on wide screens. */
.pd-archive .pd-shop-carousel { margin:0 0 18px; padding:18px; min-width:0; overflow:hidden; }
.pd-shop-carousel__heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.pd-archive .pd-shop-carousel__heading h2 {margin:0;font-size:clamp(17px,1.65vw,23px);line-height:1.5}
.pd-shop-carousel__controls {display:flex;gap:8px;align-items:center}
.pd-shop-carousel__controls button {width:36px;height:36px;border:1px solid var(--border);border-radius:11px;background:var(--paper);color:var(--ink);font-size:25px;line-height:1;cursor:pointer;display:grid;place-items:center}
.pd-shop-carousel__controls button:disabled {opacity:.35;cursor:default}
.pd-shop-carousel__track {--pd-carousel-gap:12px;--pd-carousel-cols:5; display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--pd-carousel-cols) - 1)*var(--pd-carousel-gap))/var(--pd-carousel-cols));gap:var(--pd-carousel-gap);width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none;direction:rtl;padding:3px 1px 9px}
.pd-shop-carousel__track::-webkit-scrollbar {display:none}
.pd-shop-carousel__item {min-width:0;scroll-snap-align:start;direction:rtl;display:flex}
.pd-shop-carousel__item .pd-product-card {width:100%;height:100%;min-width:0;display:flex;flex-direction:column;padding:12px;border:1px solid var(--border);border-radius:14px;box-shadow:none;background:var(--paper)}
.pd-shop-carousel__item .pd-product-card__image {height:135px;min-height:135px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.pd-shop-carousel__item .pd-product-card__image img {max-width:100%;max-height:100%;height:100%;width:100%;object-fit:contain}
.pd-shop-carousel__item .pd-product-card__title {font-size:12px;line-height:1.65;overflow-wrap:anywhere;min-width:0}
.pd-shop-carousel__item .pd-product-card__foot {margin-top:auto;gap:8px;flex-wrap:wrap}
.pd-shop-carousel__item .pd-price {font-size:12px;overflow-wrap:anywhere}
.pd-shop-carousel__item .pd-product-card__sku {font-size:10px;overflow-wrap:anywhere}
@media (max-width:900px) {.pd-shop-carousel__track {--pd-carousel-cols:3}}
@media (max-width:740px) {.pd-shop-carousel__track {--pd-carousel-cols:2}}
@media (max-width:460px) {.pd-shop-carousel__track {--pd-carousel-cols:1.45}}
/* A mobile LTR scroll container starts on the visual left, matching the LTR table. */
@media (max-width:840px) {
  .pd-archive .techTableViewport { direction:ltr; }
  /* Mobile: keep all technical table columns in the same horizontal scroll flow. */
  .pd-archive .techTable th:first-child,
  .pd-archive .techTable td:first-child {
    position:static!important;
    left:auto!important;
    z-index:auto!important;
    box-shadow:none!important;
    min-width:184px!important;
    width:184px!important;
    max-width:184px!important;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .pd-archive .techTable th:first-child {line-height:1.5}
  .pd-archive .actionCell {overflow-wrap:anywhere;word-break:normal;padding:9px 7px!important}
  .pd-archive .actionCell .datasheetLink {white-space:normal;overflow-wrap:anywhere;max-width:100%}
  .pd-archive .actionCell .priceStart {display:flex;flex-direction:column;align-items:flex-start;gap:3px;overflow-wrap:anywhere}
  .pd-archive .actionCell .priceStart b {font-size:11px;max-width:100%;overflow-wrap:anywhere;white-space:normal}
  .pd-archive .actionCell .cartControl {display:grid;grid-template-columns:27px minmax(0,1fr) 27px 30px;gap:2px;width:100%;min-width:0}
  .pd-archive .actionCell .cartControl .quantity,.pd-archive .actionCell .cartControl input.qty {width:100%;min-width:0;max-width:100%}
  .pd-archive .actionCell .qtyBtn,.pd-archive .actionCell .cartIconBtn {width:100%;min-width:0;padding:0}
  .pd-archive .actionCell .qtyLimits {overflow-wrap:anywhere}
}
@media (prefers-reduced-motion:reduce){.pd-archive .pd-spec-filters__chevron{transition:none}.pd-shop-carousel__track{scroll-behavior:auto}}

/* 1.2.5: mobile header always exposes category + search in one aligned row.
   Only the primary WP nav menu is controlled by the hamburger button. */
@media (max-width:840px) {
  .pd-header .pd-header-row,
  .pd-header .pd-header-row:not(.is-open) {
    display:grid;
    grid-template-columns:max-content minmax(0,1fr);
    align-items:center;
    column-gap:8px;
    row-gap:8px;
    direction:rtl;
    min-width:0;
  }
  .pd-header .pd-header-row .pd-cat-nav {
    grid-row:1;grid-column:1;
    width:auto;min-width:0;max-width:100%;align-self:stretch;
  }
  .pd-header .pd-header-row .pd-cat-nav__toggle {
    display:flex;align-items:center;justify-content:center;
    height:44px;max-width:100%;padding:0 9px;
    font-size:clamp(10px,2.7vw,12px);white-space:nowrap;
  }
  .pd-header .pd-header-row .pd-search {
    grid-row:1;grid-column:2;
    width:100%;min-width:0;height:44px;align-self:stretch;
  }
  .pd-header .pd-header-row .pd-search input {min-width:0;width:0;flex:1 1 auto;}
  .pd-header .pd-header-row .pd-search > button[type="submit"] {flex:0 0 38px;width:38px;}
  .pd-header .pd-header-row .pd-nav {
    grid-row:2;grid-column:1/-1;
    display:none;min-width:0;width:100%;
  }
  .pd-header .pd-header-row.is-open .pd-nav {display:block;}
  /* Touch browsers keep focused buttons on tap. Visibility must depend only on the
     explicit JS state, not on :hover or :focus-within, so a second tap can close it. */
  .pd-header .pd-cat-nav:not(.is-open) > .pd-cat-nav__panel {display:none!important;}
  .pd-header .pd-cat-nav.is-open > .pd-cat-nav__panel {display:block!important;}
  .pd-header .pd-cat-nav__panel {
    position:absolute;top:calc(100% + 6px);right:0;
    width:min(310px, calc(100vw - 24px));
    max-height:min(68vh, 520px);overflow-y:auto;overscroll-behavior:contain;
    z-index:130;
  }
  .pd-header .pd-cat-nav__panel > ul {max-height:none;overflow:visible;}
  .pd-header .pd-cat-nav__panel li.has-children {flex-wrap:wrap;}
  .pd-header .pd-cat-nav__panel li.has-children > ul {
    position:static;flex:1 0 100%;width:100%;max-height:none;
    border:0;box-shadow:none;background:var(--surface);
  }
  .pd-header .pd-cat-nav__panel li.has-children:not(.is-open) > ul {display:none!important;}
  .pd-header .pd-cat-nav__panel li.has-children.is-open > ul {display:block!important;}
  .pd-header .pd-cat-nav__panel li.has-children.is-open > a {background:var(--surface);border-radius:6px;}
  .pd-header .pd-cat-nav__expand {width:36px;height:36px;flex:0 0 36px;}
  .pd-header .pd-cat-nav__panel li > a {min-width:0;}
  /* Defensive coverage: neither operations header nor cells can be pinned on mobile. */
  .pd-archive .techTableViewport {direction:ltr;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .pd-archive .techTable > thead > tr > th:first-child,
  .pd-archive .techTable > tbody > tr > td:first-child,
  .pd-archive .techTable .actionCell {
    position:static!important;left:auto!important;right:auto!important;
    inset-inline-start:auto!important;transform:none!important;
    box-shadow:none!important;
  }
}

/* Panda 1.2.7 — mobile commerce header + archive carousel/accordion/off-canvas UX. */
.pd-mobile-commerce-row{display:contents}
.pd-mobile-commerce-action{display:none!important}
.pd-mobile-archive-tools,.pd-archive-panel__close,.pd-archive-panel__mobile-title,.pd-archive-panel-backdrop{display:none}

/* Category and technical-filter blocks are accordions and remain closed by default. */
.pd-archive .pd-archive-panel--categories{padding:0;overflow:visible}
.pd-archive .pd-categories-details{display:block}
.pd-archive .pd-categories-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;padding:16px 20px;font-size:16px;font-weight:900;color:var(--ink)}
.pd-archive .pd-categories-details>summary::-webkit-details-marker{display:none}
.pd-archive .pd-categories-details>summary:after{display:none!important;content:none!important}
.pd-archive .pd-categories-details[open]>summary .pd-accordion-chevron{transform:rotate(180deg)}
.pd-archive .pd-categories-details>.categoryBoard{padding:6px 20px 22px;border-top:1px solid var(--divider)}
.pd-archive .searchCategorySection>.tableToolbarText{display:none}

/* Current-query carousel: bestseller/newest tabs share the same product card system. */
.pd-archive-context-carousel .pd-archive-carousel__heading{align-items:flex-end}
.pd-archive-context-carousel .pd-archive-carousel__heading p{margin:3px 0 0;color:var(--muted);font-size:11px}
.pd-archive-carousel__tabs{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.pd-archive-carousel__tabs button{height:34px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--ink);padding:0 12px;font-size:11px;font-weight:900;cursor:pointer}
.pd-archive-carousel__tabs button.is-active{background:var(--violet);border-color:var(--violet);color:#fff}
.pd-archive-carousel__pane[hidden]{display:none!important}
.pd-archive-carousel__pane>.pd-shop-carousel__controls{justify-content:flex-end;margin:-2px 0 8px}

@media(max-width:840px){
  /* Brand stays on top; the requested commerce controls form one row below it. */
  .pd-header .pd-topbar{justify-content:space-between}
  .pd-header .pd-topbar .pd-header-actions>a{display:none!important}
  .pd-header .pd-topbar .pd-mobile-toggle{display:grid}
  .pd-header .pd-header-row,.pd-header .pd-header-row:not(.is-open){display:grid!important;grid-template-columns:1fr;gap:8px;align-items:stretch;direction:rtl;min-width:0}
  .pd-header .pd-mobile-commerce-row{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;gap:8px;align-items:stretch;grid-row:1;grid-column:1;min-width:0}
  .pd-header .pd-mobile-commerce-action{display:grid!important;width:44px;height:44px}
  .pd-header .pd-mobile-commerce-row .pd-cat-nav{width:100%;min-width:0;grid-column:auto;grid-row:auto;align-self:stretch}
  .pd-header .pd-mobile-commerce-row .pd-cat-nav__toggle{width:100%;height:44px;justify-content:center;white-space:nowrap}
  .pd-header .pd-header-row .pd-search{grid-row:2;grid-column:1;width:100%;height:44px;min-width:0}
  .pd-header .pd-header-row .pd-nav{grid-row:3;grid-column:1;width:100%;display:none}
  .pd-header .pd-header-row.is-open .pd-nav{display:block}

  /* PDP order on phones: title/info -> gallery -> price/purchase. */
  .pd-pdp-v2 .pdpTop{display:flex!important;flex-direction:column;gap:14px}
  .pd-pdp-v2 .productInfoCard{order:1}
  .pd-pdp-v2 .galleryCard{order:2}
  .pd-pdp-v2 .purchaseCard{order:3}

  /* Mobile archive controls open true side sheets; categories from right, filters from left. */
  .pd-mobile-archive-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px;position:relative;z-index:2}
  .pd-mobile-archive-tools .button{width:100%;cursor:pointer}
  .pd-archive .pd-archive-panel{position:fixed!important;inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;width:100dvw!important;max-width:none!important;height:100vh!important;height:100dvh!important;min-height:100vh!important;margin:0!important;border:0!important;border-radius:0!important;background:#fff!important;z-index:100500!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;box-shadow:none!important;visibility:hidden;opacity:0;pointer-events:none;padding:0!important;transform:translateX(0);transition:none}
  html.pd-archive-ui-ready .pd-archive .pd-archive-panel{transition:transform .24s ease,opacity .18s ease,visibility .24s ease}
  .admin-bar .pd-archive .pd-archive-panel{top:0!important;height:100vh!important;height:100dvh!important}
  .pd-archive .pd-archive-panel--categories{transform:translateX(101%)}
  .pd-archive .pd-archive-panel--filters{transform:translateX(-101%)}
  .pd-archive .pd-archive-panel.is-open{transform:translateX(0)!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
  .pd-archive-panel__close{display:grid;place-items:center;position:sticky;top:calc(10px + env(safe-area-inset-top));margin:calc(10px + env(safe-area-inset-top)) 10px -46px auto;width:38px;height:38px;border:1px solid var(--border);border-radius:11px;background:#fff;color:var(--ink);line-height:1;z-index:6;cursor:pointer;box-shadow:0 4px 14px rgba(15,23,42,.06)}
  .pd-archive-panel__close span,.pd-archive-panel__close svg{display:block;width:19px;height:19px}.pd-archive-panel__close svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .pd-archive-panel__mobile-title{display:flex;flex-direction:column;gap:3px;padding:calc(20px + env(safe-area-inset-top)) 60px 16px 20px;border-bottom:1px solid var(--divider);min-height:74px;background:#fff;position:relative;z-index:3}
  .pd-archive-panel__mobile-title strong{font-size:18px}.pd-archive-panel__mobile-title small{font-size:11px;color:var(--muted)}
  .pd-archive .pd-archive-panel .pd-categories-details,.pd-archive .pd-archive-panel .pd-spec-filters{border:0;border-radius:0;background:#fff}
  .pd-archive .pd-archive-panel .pd-categories-details>summary,.pd-archive .pd-archive-panel .pd-spec-filters__toggle{padding:20px;border-bottom:1px solid var(--divider);background:#fff}
  .pd-archive .pd-archive-panel .pd-categories-details>.categoryBoard,.pd-archive .pd-archive-panel .pd-spec-filters__content{padding:14px 20px calc(28px + env(safe-area-inset-bottom))}
  .pd-archive .pd-archive-panel .categoryBoard{grid-template-columns:1fr!important;gap:10px}
  .pd-archive .pd-archive-panel .categoryTile{width:100%;min-height:70px}
  .pd-archive .pd-archive-panel .filterScroller{display:flex!important;flex-direction:column!important;gap:12px!important;overflow:visible!important;padding:0!important;scroll-snap-type:none!important}
  .pd-archive .pd-archive-panel .filterCard{flex:0 0 auto!important;width:100%!important;max-width:none!important;scroll-snap-align:none!important}
  .pd-archive .pd-archive-panel .filterActionBar{position:sticky;bottom:0;z-index:5;margin:18px -20px calc(-28px - env(safe-area-inset-bottom));padding:14px 20px calc(14px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);backdrop-filter:blur(12px);box-shadow:0 -8px 24px rgba(15,23,42,.06)}
  .pd-archive .pd-archive-panel .filterActions{display:grid;grid-template-columns:1fr 1fr;width:100%}.pd-archive .pd-archive-panel .filterActions .button.primary{grid-column:1/-1}
  .pd-archive .pd-archive-panel-backdrop{position:fixed;inset:0;background:rgba(10,20,40,.38);z-index:100450;backdrop-filter:blur(2px)}
  .pd-archive .pd-archive-panel-backdrop:not([hidden]){display:block}
  body.pd-archive-panel-open{overflow:hidden!important;overscroll-behavior:none;touch-action:none}
  body.pd-archive-panel-open .pdm-bottom-nav,body.pd-archive-panel-open .floating-support{visibility:hidden!important;opacity:0!important;pointer-events:none!important}

  .pd-archive-context-carousel .pd-shop-carousel__heading{align-items:flex-start;flex-direction:column}
  .pd-archive-carousel__tabs{width:100%}
  .pd-archive-carousel__tabs button{flex:1 1 0}
  .pd-archive-context-carousel .pd-shop-carousel__track{--pd-carousel-cols:1.35}
  .pd-archive-context-carousel .pd-shop-carousel__controls{display:none}
}
@media(max-width:480px){.pd-header .pd-brand__name{font-size:14px}.pd-header .pd-brand__logo img{max-height:36px}.pd-header .pd-mobile-commerce-row{grid-template-columns:minmax(0,1fr) 42px 42px}.pd-header .pd-mobile-commerce-action{width:42px;height:42px}.pd-archive-context-carousel .pd-shop-carousel__track{--pd-carousel-cols:1.2}}
@media(prefers-reduced-motion:reduce){.pd-archive .pd-archive-panel,.pd-archive .pd-accordion-chevron,.pd-archive .pd-spec-filters__chevron{transition:none!important}}
@media(max-width:840px){
  /* Split the information card visually so the exact mobile sequence is title -> gallery -> purchase -> technical info. */
  .pd-pdp-v2 .productInfoCard{display:contents!important}
  .pd-pdp-v2 .productInfoTitle{order:1;background:var(--paper);border:1px solid var(--border);border-radius:16px;padding:18px;box-shadow:var(--shadow-soft)}
  .pd-pdp-v2 .galleryCard{order:2}
  .pd-pdp-v2 .purchaseCard{order:3}
  .pd-pdp-v2 .infoList{order:4;background:var(--paper);border:1px solid var(--border);border-radius:16px;padding:16px;box-shadow:var(--shadow-soft)}
  .pd-pdp-v2 .productInfoActions{order:5;background:var(--paper);border:1px solid var(--border);border-radius:16px;padding:14px 16px;box-shadow:var(--shadow-soft)}
  .pd-pdp-v2 .productDescription{order:6;background:var(--paper);border:1px solid var(--border);border-radius:16px;padding:16px;box-shadow:var(--shadow-soft)}
  .pd-pdp-v2 .pdpTop>.productInfoCard{height:auto}
}


/* Panda 1.2.11 — final mobile QA from client document. */
@media (max-width:840px){
  /* Category section is a true horizontal swipe lane on phones. */
  .pd-home .pd-home-category-carousel{
    display:flex!important;flex-flow:row nowrap!important;align-items:stretch!important;
    gap:12px!important;width:100%!important;max-width:100%!important;
    overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;
    overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;
    padding:2px 0 12px!important;touch-action:pan-x pan-y;
  }
  .pd-home .pd-home-category-carousel::-webkit-scrollbar{display:none!important}
  .pd-home .pd-home-category-carousel>.pd-category-card{
    flex:0 0 82%!important;width:82%!important;min-width:82%!important;max-width:82%!important;
    scroll-snap-align:start!important;scroll-snap-stop:always;box-sizing:border-box;
  }

  /* The technical list starts with the product image/name before commerce controls. */
  .pd-archive .techTableViewport{direction:ltr!important;scroll-padding-left:0!important}
  .pd-archive .techTable th.imageCol,.pd-archive .techTable td.imageCol{
    min-width:92px!important;width:92px!important;max-width:92px!important;
    position:sticky!important;left:0!important;z-index:5!important;background:var(--paper)!important;
    box-shadow:8px 0 16px color-mix(in srgb,var(--ink-2) 5%,transparent);
  }
  .pd-archive .techTable th.imageCol{z-index:8!important;background:var(--surface)!important}
  .pd-archive .techTable td.imageCol .productImage{width:68px!important;height:68px!important;margin:auto!important}
  .pd-archive .techTable th.nameCol,.pd-archive .techTable td.nameCol{min-width:210px!important;width:210px!important}
  .pd-archive .techTable th:nth-child(3),.pd-archive .techTable td:nth-child(3){min-width:184px!important;width:184px!important;max-width:184px!important}
}

/* Product prose: make mixed Persian/Latin technical text visually consistent. */
.pd-pdp-v2 .productDescription,
.pd-pdp-v2 .aboutProduct{direction:rtl;text-align:right;unicode-bidi:plaintext}
.pd-pdp-v2 .productDescription p,
.pd-pdp-v2 .aboutProduct p{direction:rtl;text-align:right;unicode-bidi:plaintext;font-weight:400!important;word-break:normal;overflow-wrap:break-word}
.pd-pdp-v2 .productDescription p :where(b,strong,span,em),
.pd-pdp-v2 .aboutProduct p :where(b,strong,span,em){font-weight:400!important}
.pd-pdp-v2 .productDescription :where(code,kbd),
.pd-pdp-v2 .aboutProduct :where(code,kbd){direction:ltr;unicode-bidi:isolate;font-family:var(--panda-latin-font),Arial,sans-serif}

/* 1.2.12 - Home bestseller categories: image-first, opt-in section */
.pd-home #categories .pd-category-card{
  display:flex;
  flex-direction:column!important;
  align-items:stretch;
  justify-content:flex-start;
  gap:14px;
  min-height:0;
  padding:16px;
}
.pd-home #categories .pd-category-icon{
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  height:148px!important;
  border-radius:18px!important;
  transform:none!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden;
  background:linear-gradient(145deg,#f8faff,#edf4ff);
  order:0;
}
.pd-home #categories .pd-category-icon img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:12px;
}
.pd-home #categories .pd-category-icon>.pd-icon{
  width:42px;
  height:42px;
}
.pd-home #categories .pd-category-text{
  order:1!important;
  display:flex;
  flex-direction:column;
  gap:4px;
  width:100%;
  text-align:right;
}
.pd-home #categories .pd-category-text strong{
  display:block;
  font-size:16px;
  line-height:1.55;
}
.pd-home #categories .pd-category-text small{
  min-height:0!important;
  margin-top:0!important;
}
.pd-home #categories .pd-category-text em{
  margin-top:3px;
}
@media(max-width:840px){
  .pd-home #categories .pd-category-icon{height:132px!important}
  .pd-home #categories .pd-category-card{padding:14px;gap:11px}
}
