/* IrwaStyle V3.8 — QA stabilization. Loaded last; deliberately targeted overrides.
   Keep every slider visible and operable on touch, mouse and keyboard. */
.storefront .easy-hero,
.storefront .pdp-gallery,
.storefront .easy-card-photo { touch-action: pan-y; }
.storefront .easy-hero:focus-visible,
.storefront .pdp-gallery:focus-visible,
.storefront .easy-card-photo:focus-visible {
  outline:3px solid var(--site-primary,#77344f); outline-offset:3px;
}
/* Place controls ABOVE the copy instead of overlaying the mobile Shop button. */
.storefront .easy-hero-controls {
  z-index:12; top:12px; right:12px; bottom:auto;
  min-height:44px; padding:2px 4px; border-radius:99px;
  background:#211224a6; color:#fff; text-shadow:0 1px 3px #0008;
  -webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)
}
.storefront .easy-hero-controls button,
.storefront .easy-hero-controls .easy-hero-pause {
  width:44px; height:44px; min-width:44px; min-height:44px;
  background:#ffffff29; border:1px solid #ffffff4d; border-radius:99px;
  color:#fff; opacity:1; display:grid;place-items:center;cursor:pointer;
}
.storefront .easy-hero-controls button:hover{background:#ffffff49}
.storefront .easy-hero-controls button:focus-visible,
.storefront .easy-hero-dots button:focus-visible,
.storefront .pdp-arrow:focus-visible,
.storefront .pdp-thumbs button:focus-visible,
.storefront .easy-card-prev:focus-visible,
.storefront .easy-card-next:focus-visible{
  outline:3px solid #ffdf9a;outline-offset:2px;
}
.storefront .easy-hero-dots{
  position:absolute;z-index:10;bottom:12px;left:14px;display:flex;
  align-items:center;justify-content:flex-start;gap:3px;
  background:#211224aa;padding:5px;border-radius:99px;
}
.storefront .easy-hero-dots button{
  width:28px;height:27px;min-width:28px;background:transparent;
  display:grid;place-items:center;cursor:pointer;
}
.storefront .easy-hero-dots button::after{
  content:'';display:block;width:7px;height:7px;border-radius:99px;background:#ffffffb8;
}
.storefront .easy-hero-dots button.active::after,
.storefront .easy-hero-dots button[aria-current=true]::after{width:18px;background:#fff}
.storefront .easy-hero-shade{pointer-events:none}
.storefront .easy-hero-copy{z-index:4}
.storefront .easy-hero-photo{pointer-events:none}
/* Mobile card arrows were hidden in V3.7; they are necessary for discoverability. */
.storefront .easy-card-prev,.storefront .easy-card-next{
  display:grid!important;opacity:1!important;z-index:4!important;
  width:44px!important;height:48px!important;
  border:1px solid #e7cfd9!important;
  background:#fffdf6df!important;color:#683147!important;
  transition:background .15s ease;
}
.storefront .easy-card-prev{left:0;border-radius:0 10px 10px 0}
.storefront .easy-card-next{right:0;border-radius:10px 0 0 10px}
.storefront .easy-card-prev:hover,.storefront .easy-card-next:hover{background:white!important}
.storefront .easy-card-photo{overflow:hidden}
.storefront .easy-card-photo .easy-card-link{touch-action:pan-y}
/* Show the whole product unless the owner deliberately chooses cover. */
.storefront .pdp-gallery{background:linear-gradient(135deg,#fffafd,#f7edf2)}
.storefront .pdp-gallery .pdp-main-image{
  object-fit:var(--t-product-fit,contain)!important;
  object-position:center!important;
  background:linear-gradient(135deg,#fffafd,#f7edf2);
}
.storefront .pdp-arrow{
  display:grid!important;z-index:10!important;
  width:46px!important;height:46px!important;
  color:#6c314c;background:#fffffff0;
  opacity:1!important;cursor:pointer;
}
.storefront .pdp-arrow.prev{left:7px}
.storefront .pdp-arrow.next{right:7px}
.storefront .pdp-gallery-pagination{z-index:10}
.storefront .pdp-gallery-pagination button{
  width:22px;height:25px;min-width:22px;border-radius:12px;
  display:grid;place-items:center;background:transparent;cursor:pointer;
}
.storefront .pdp-gallery-pagination button::after{
  content:'';height:7px;width:7px;border-radius:12px;background:#a67c92;
}
.storefront .pdp-gallery-pagination button.active::after{width:15px;background:#77344f}
/* Thumbnails should be accessible by touch even on small screens. */
.storefront .pdp-thumbs{display:flex!important;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 3px 7px;scrollbar-width:thin}
.storefront .pdp-thumbs button{height:66px;width:59px;min-width:59px;opacity:.8;scroll-snap-align:start}
.storefront .pdp-thumbs button.active{opacity:1;border-color:var(--site-primary,#77344f)}
.storefront .pdp-thumbs button img{object-fit:contain!important;background:#fcf3f6}
/* Keep form submission and warnings legible at 320px. */
.cod-inline-warning{margin:12px 16px 4px;padding:10px 12px;background:#fff1ef;border:1px solid #cc716c;
  border-radius:9px;color:#792922;font-size:13px;line-height:1.5}
.app-modal-panel:focus{outline:none}
.app-modal-panel button:focus-visible,.app-modal-panel input:focus-visible,
.app-modal-panel textarea:focus-visible,.app-modal-panel select:focus-visible{
  outline:3px solid #b15781;outline-offset:2px;
}
/* Accessible range controls: drag, tap plus/minus, or focus and use keyboard. */
.easy-range-row{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:9px;align-items:center}
.easy-range-row>button{
  width:44px;height:44px;min-height:44px;border-radius:11px;
  background:#fff2f7;border:1px solid #d9acc0;color:#77344f;
  font-size:20px;line-height:1;font-weight:800;cursor:pointer;
}
.easy-range-row>button:disabled{opacity:.4;cursor:not-allowed}
.easy-range-row>button:focus-visible,
.easy-tweak-control input[type=range]:focus-visible{outline:3px solid #bb6d92;outline-offset:2px}
.easy-range-row input[type=range]{width:100%;min-width:0;min-height:44px;height:44px;
  accent-color:#77344f;cursor:pointer;touch-action:auto}
.easy-range-row input[type=range]::-webkit-slider-thumb{width:22px;height:22px}
.easy-range-row input[type=range]::-moz-range-thumb{width:22px;height:22px}
@media(max-width:640px){
 .storefront .easy-hero-controls{right:7px;top:7px;gap:2px;min-height:42px}
 .storefront .easy-hero-controls button{width:41px;min-width:41px;height:42px;min-height:42px}
 .storefront .easy-hero-dots{left:8px;bottom:8px}
 .storefront .easy-hero-copy{bottom:52px!important}
 .storefront .pdp-gallery .pdp-main-image{object-position:center!important}
 .storefront .easy-card-dots{bottom:7px}
 .storefront .easy-card-prev,.storefront .easy-card-next{width:35px!important;height:44px!important}
 .storefront .pdp-gallery-pagination{bottom:8px}
}
@media(prefers-reduced-motion:reduce){
 .storefront .easy-hero-photo,.storefront .pdp-main-image,
 .storefront .easy-card-photo img{animation:none!important;transition:none!important}
}

.storefront .easy-card-counter{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);
  z-index:5;border-radius:99px;background:#26132bc9;color:white;padding:5px 9px;
  font-size:11px;font-weight:800;line-height:1.2;pointer-events:none}

.qty-adjust{min-width:44px;min-height:44px;justify-content:center}
.storefront .cart-panel .icon-button:focus-visible{outline:3px solid #a95078;outline-offset:2px}
