/* ===== Armaghan WooCommerce v0.5 ===== */
.woocommerce,.woocommerce-page{color:var(--armaghan-text)}
.woocommerce a{color:inherit}
.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit{
  border:0;border-radius:12px;background:var(--armaghan-primary);color:#fff;font-weight:800;min-height:44px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;transition:.2s ease
}
.woocommerce button.button:hover,.woocommerce a.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover{background:var(--armaghan-primary-dark);color:#fff}
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.woocommerce .select2-container--default .select2-selection--single{
  min-height:46px;border:1px solid var(--armaghan-border);border-radius:12px;background:#fff;color:#46566e;box-shadow:none;padding:9px 12px
}
.woocommerce textarea{min-height:120px}
.woocommerce label{color:#5a6b83;font-size:13px;font-weight:700;margin-bottom:6px}
.woocommerce .required{color:var(--armaghan-primary)}
.woocommerce-error,.woocommerce-info,.woocommerce-message{border:1px solid var(--armaghan-border);border-top:0;border-radius:14px;background:#fff;padding:16px 18px 16px 46px!important;box-shadow:0 8px 25px rgba(54,39,44,.05);color:#5c6e85}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{color:var(--armaghan-primary);top:16px}

/* Shared page shell */
.armaghan-page-title{margin:0 0 28px;color:var(--armaghan-primary);font-size:38px;font-weight:900}
.armaghan-content-wrap{width:100%;max-width:none}
.armaghan-breadcrumb,.woocommerce-breadcrumb{color:#94a0b2!important;font-size:12px!important;display:flex;gap:7px;flex-wrap:wrap}
.armaghan-breadcrumb a,.woocommerce-breadcrumb a{color:#7789a1!important}
.armaghan-breadcrumb__sep,.woocommerce-breadcrumb span{color:#c2c9d2}

/* Archive / category */
.armaghan-shop-page{padding-top:28px;padding-bottom:52px}
.armaghan-shop-hero{position:relative;overflow:hidden;border:1px solid var(--armaghan-border);border-radius:var(--armaghan-section-radius);background:linear-gradient(135deg,#fff 0%,#fbf7f5 100%);padding:28px 32px;margin-bottom:22px;box-shadow:0 8px 24px rgba(67,45,50,.04)}
.armaghan-shop-hero::after{content:"";position:absolute;left:-70px;bottom:-100px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(146,6,62,.07),transparent 70%);pointer-events:none}
.armaghan-shop-hero__eyebrow{display:block;color:#9aa8ba;font-size:11px;font-weight:800;letter-spacing:.18em;direction:ltr;text-align:right}
.armaghan-shop-hero h1{margin:6px 0 4px;color:var(--armaghan-primary);font-size:42px;line-height:1.3;font-weight:900}
.armaghan-shop-hero__description,.armaghan-shop-hero__description p{margin:0;color:#7e8fa6;font-size:14px;line-height:1.9;max-width:850px}
.armaghan-shop-toolbar{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding:10px 14px;border:1px solid var(--armaghan-border);border-radius:16px;background:#faf9f8}
.armaghan-shop-toolbar::after{content:"";display:table;clear:both}
.armaghan-shop-toolbar .woocommerce-result-count{float:none!important;margin:0!important;color:#8493a8;font-size:12px}
.armaghan-shop-toolbar .woocommerce-ordering{float:none!important;margin:0!important}
.armaghan-shop-toolbar .woocommerce-ordering select{min-width:190px;min-height:38px;padding:4px 12px;background:#fff}
.armaghan-shop-products ul.products,.woocommerce .armaghan-shop-products ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0!important;padding:0!important;list-style:none}
.armaghan-shop-products ul.products::before,.armaghan-shop-products ul.products::after{display:none!important}
.woocommerce ul.products li.product.armaghan-product-card,.woocommerce-page ul.products li.product.armaghan-product-card{float:none!important;width:auto!important;margin:0!important;padding:0!important;border:1px solid var(--armaghan-border);border-radius:var(--armaghan-card-radius);overflow:hidden;background:#fff;box-shadow:0 10px 28px rgba(55,39,43,.06);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;display:flex;flex-direction:column}
.woocommerce ul.products li.product.armaghan-product-card:hover{transform:translateY(-5px);box-shadow:0 20px 42px rgba(55,39,43,.11);border-color:#e0d2d8}
.armaghan-product-card__media{position:relative;display:block;aspect-ratio:1.2/1;background:#f5f1ee;overflow:hidden}
.armaghan-product-card__image-wrap{position:absolute;inset:0;display:block;overflow:hidden}
.woocommerce ul.products li.product .armaghan-product-card__image{width:100%!important;height:100%!important;object-fit:cover;margin:0!important;transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.armaghan-product-card:hover .armaghan-product-card__image{transform:scale(1.045)}
.armaghan-product-card__media .onsale,.woocommerce span.onsale{right:14px!important;left:auto!important;top:14px!important;margin:0!important;min-width:auto!important;min-height:30px!important;line-height:30px!important;padding:0 10px!important;border-radius:999px!important;background:var(--armaghan-primary)!important;font-size:11px!important;font-weight:800!important}
.armaghan-product-card__view{position:absolute;left:14px;bottom:14px;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.94);display:grid;place-items:center;color:#48566b;font-size:20px;box-shadow:0 6px 18px rgba(0,0,0,.08)}
.armaghan-product-card__body{display:grid;grid-template-columns:1fr auto;grid-template-areas:"title title" "price action";align-items:center;gap:10px 12px;padding:16px 16px 17px;flex:1}
.armaghan-product-card__title{grid-area:title}
.armaghan-product-card__title h2{margin:0!important;padding:0!important;color:#405169!important;font-size:16px!important;line-height:1.55!important;font-weight:900!important}
.armaghan-product-card__price{grid-area:price;color:var(--armaghan-primary);font-size:14px;font-weight:900;direction:rtl}
.armaghan-product-card__price del{color:#a6afb9;font-size:11px;font-weight:500}
.armaghan-product-card__price ins{text-decoration:none}
.armaghan-product-card__action{grid-area:action}
.armaghan-product-card__action .button{min-height:36px!important;padding:0 12px!important;border-radius:10px!important;font-size:11px!important;margin:0!important;white-space:nowrap}
.armaghan-shop-pagination{margin-top:30px;text-align:center}
.woocommerce nav.woocommerce-pagination ul{border:0!important;display:inline-flex;gap:7px}
.woocommerce nav.woocommerce-pagination ul li{border:0!important}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:#f7f5f3;color:#718198;padding:0!important}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--armaghan-primary);color:#fff}

/* Single product */
.armaghan-single-page{padding:28px 0 56px;background:linear-gradient(180deg,#fff,#fdfcfb)}
.armaghan-single__hero{margin-top:4px}
.armaghan-single__gallery-card,.armaghan-single__summary-card{border:1px solid var(--armaghan-border);border-radius:26px;background:#fff;box-shadow:0 15px 44px rgba(64,42,48,.08)}
.armaghan-single__gallery-card{padding:18px;position:relative;overflow:hidden}
.armaghan-single__gallery-card::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 10%,rgba(146,6,62,.035),transparent 40%);pointer-events:none}
.armaghan-single__summary-card{padding:30px 30px 24px;position:sticky;top:20px}
.armaghan-single__summary .product_title{color:var(--armaghan-primary);font-size:20px;line-height:1.35;font-weight:900;margin:0 0 12px}
.armaghan-single__summary .woocommerce-product-rating{margin:0 0 10px}
.armaghan-single__summary .price{display:flex;align-items:center;gap:8px;color:var(--armaghan-primary)!important;font-size:25px!important;font-weight:900;margin:10px 0 18px!important}
.armaghan-single__summary .price del{color:#aab2bd;font-size:14px;opacity:1}
.armaghan-single__summary .price ins{text-decoration:none}
.armaghan-single__summary .woocommerce-product-details__short-description{color:#6f8097;font-size:14px;line-height:2;margin-bottom:18px}
.armaghan-single__summary form.cart{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:20px 0!important;padding:18px;border-radius:18px;background:#fbf8f6;border:1px solid #f0e8e3}
.armaghan-single__summary form.cart .quantity{margin:0!important}
.woocommerce .quantity .qty{width:74px;min-height:46px;border:1px solid var(--armaghan-border);border-radius:12px;background:#fff;font-weight:800;color:#42536a}
.armaghan-single__summary .single_add_to_cart_button{min-height:48px!important;border-radius:13px!important;padding:0 24px!important;background:linear-gradient(180deg,#a60b48,var(--armaghan-primary-dark))!important;box-shadow:0 10px 22px rgba(146,6,62,.18)}
.armaghan-single__summary .stock{font-weight:700;font-size:12px}
.armaghan-single__summary table.variations{margin:0 0 12px!important;border-collapse:separate;border-spacing:0 10px}
.armaghan-single__summary table.variations th,.armaghan-single__summary table.variations td{display:block;text-align:right;padding:0!important}
.armaghan-single__summary table.variations label{font-size:13px;font-weight:800;color:#4c5e77}
.armaghan-single__summary table.variations select{width:100%;margin:5px 0 0!important;min-height:44px;border:1px solid var(--armaghan-border);border-radius:12px;background:#fff;padding:0 12px;color:#53647b}
.armaghan-single__summary .reset_variations{display:inline-block;margin-top:7px;color:var(--armaghan-primary);font-size:11px;font-weight:700}
.armaghan-single__summary .product_meta{border-top:1px solid var(--armaghan-border);padding-top:16px;margin-top:16px;display:grid;gap:6px;color:#8794a6;font-size:12px}
.armaghan-single__summary .product_meta a{color:#5e7089;font-weight:700}
.armaghan-single__trust{border-top:1px solid var(--armaghan-border);margin-top:22px;padding-top:17px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.armaghan-single__trust-item{display:flex;align-items:center;gap:7px;color:#687a92;font-size:11px;font-weight:700}
.armaghan-single__trust-icon{width:28px;height:28px;color:var(--armaghan-primary);flex:0 0 28px}
.armaghan-single__gallery-note{display:flex;align-items:center;gap:8px;color:#8996a7;font-size:11px;padding:10px 8px 0}
.armaghan-single__gallery-note-icon{width:19px;height:19px;color:var(--armaghan-primary)}

/* Woo native gallery inside premium box */
.woocommerce div.product div.images{float:none!important;width:100%!important;margin:0!important}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{margin:0!important}
.woocommerce div.product div.images .woocommerce-product-gallery__image{border-radius:18px;overflow:hidden;background:#f6f2ef}
.woocommerce div.product div.images .woocommerce-product-gallery__image a{display:flex;align-items:center;justify-content:center;min-height:500px}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{width:100%!important;height:auto!important;max-height:600px;object-fit:contain;margin:0 auto!important;transition:transform .35s ease}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:12px 0 0!important;padding:0!important}
.woocommerce div.product div.images .flex-control-thumbs li{float:none!important;width:auto!important;border:1px solid var(--armaghan-border);border-radius:12px;overflow:hidden;background:#faf8f6;padding:3px}
.woocommerce div.product div.images .flex-control-thumbs img{border-radius:9px;opacity:.68;transition:.2s ease}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active{opacity:1;box-shadow:0 0 0 2px var(--armaghan-primary)}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger{top:14px!important;right:14px!important;left:auto!important;width:42px;height:42px;border-radius:50%;background:#fff;box-shadow:0 8px 20px rgba(44,33,37,.12);z-index:5}

.armaghan-single__details{margin-top:34px}
.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper{border:1px solid var(--armaghan-border);border-radius:24px;background:#fff;padding:0 24px 24px;box-shadow:0 12px 34px rgba(64,42,48,.06)}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:28px;margin:0 0 22px!important;padding:0!important;border-bottom:1px solid var(--armaghan-border)}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;margin:0!important;padding:0!important;border-radius:0!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:18px 2px 14px!important;color:#8794a5!important;font-size:13px!important;font-weight:800!important;border-bottom:3px solid transparent}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--armaghan-primary)!important;border-bottom-color:var(--armaghan-primary)}
.woocommerce div.product .woocommerce-tabs .panel{color:#667890;font-size:14px;line-height:2;margin:0!important}
.woocommerce div.product .woocommerce-tabs .panel h2{color:#42536b;font-size:24px;font-weight:900}

.woocommerce .related.products,.woocommerce .up-sells.upsells{margin-top:34px}
.woocommerce .related.products>h2,.woocommerce .up-sells.upsells>h2{margin:0 0 18px;color:var(--armaghan-primary);font-size:30px;font-weight:900}
.woocommerce .related.products ul.products,.woocommerce .up-sells.upsells ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0!important}

/* Custom image lightbox */
.armaghan-lightbox{position:fixed;inset:0;z-index:99999;opacity:0;visibility:hidden;transition:.25s ease}
.armaghan-lightbox.is-open{opacity:1;visibility:visible}
.armaghan-lightbox__backdrop{position:absolute;inset:0;background:rgba(17,14,16,.86);backdrop-filter:blur(9px)}
.armaghan-lightbox__panel{position:absolute;inset:4vh 4vw;display:flex;flex-direction:column;align-items:center;justify-content:center}
.armaghan-lightbox__viewport{width:100%;height:calc(100% - 60px);display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none}
.armaghan-lightbox__image{max-width:86vw;max-height:78vh;object-fit:contain;transform-origin:center;transition:transform .22s ease;cursor:zoom-in;user-select:none}
.armaghan-lightbox__controls{height:50px;display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:16px;background:rgba(255,255,255,.11);backdrop-filter:blur(8px)}
.armaghan-lightbox__controls button,.armaghan-lightbox__close{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.12);color:#fff;border-radius:11px;min-width:38px;height:38px;font-size:18px}
.armaghan-lightbox__close{position:absolute;top:0;right:0;z-index:4;font-size:25px}

/* Cart */
.woocommerce-cart .armaghan-entry,.woocommerce-checkout .armaghan-entry,.woocommerce-account:not(.armaghan-auth-screen) .armaghan-entry{max-width:none}
.armaghan-cart{display:grid;gap:14px}
.armaghan-cart__items{display:grid;gap:12px}
.armaghan-cart-item{display:grid;grid-template-columns:110px minmax(0,1fr) 110px 130px 44px;align-items:center;gap:18px;padding:14px;border:1px solid var(--armaghan-border);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(55,39,43,.04)}
.armaghan-cart-item__image img{width:110px;height:100px;object-fit:cover;border-radius:13px}
.armaghan-cart-item__info h3{margin:0 0 7px;font-size:15px;font-weight:900;color:#405169}
.armaghan-cart-item__price{color:var(--armaghan-primary);font-weight:800;font-size:13px}
.armaghan-cart-item__subtotal{color:#43546b;font-weight:900;text-align:center}
.armaghan-cart-item__remove .remove{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fbf0f3;color:var(--armaghan-primary)!important;font-size:20px!important}
.armaghan-cart__actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--armaghan-border);border-radius:16px;background:#faf8f6}
.armaghan-cart__actions .coupon{display:flex;gap:8px;align-items:center}
.armaghan-cart__actions .coupon .input-text{min-width:210px}
.armaghan-cart__totals{margin-top:22px;display:flex;justify-content:flex-end}
.armaghan-cart__totals .cart-collaterals{width:min(100%,460px)}
.woocommerce .cart-collaterals .cart_totals{float:none!important;width:100%!important;border:1px solid var(--armaghan-border);border-radius:20px;background:#fff;padding:20px;box-shadow:var(--armaghan-shadow-soft)}
.woocommerce .cart-collaterals .cart_totals h2{color:var(--armaghan-primary);font-size:22px;font-weight:900}
.woocommerce .cart-collaterals .cart_totals table{border-collapse:separate;border-spacing:0 8px}
.woocommerce .wc-proceed-to-checkout a.checkout-button{width:100%;min-height:50px;font-size:14px}

/* Checkout */
.armaghan-checkout__main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(360px,.75fr);gap:24px;align-items:start}
.armaghan-checkout__fields,.armaghan-checkout__review{border:1px solid var(--armaghan-border);border-radius:22px;background:#fff;padding:24px;box-shadow:var(--armaghan-shadow-soft)}
.armaghan-checkout__review{position:sticky;top:20px}
.armaghan-checkout h3{margin:0 0 18px;color:var(--armaghan-primary);font-size:22px;font-weight:900}
.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{float:none!important;width:100%!important}
.woocommerce-checkout #customer_details{display:grid;gap:22px}
.woocommerce form .form-row{margin:0 0 14px;padding:0}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:calc(50% - 6px)}
.woocommerce-checkout-review-order-table{border-collapse:separate!important;border-spacing:0!important;border:1px solid var(--armaghan-border)!important;border-radius:14px;overflow:hidden}
.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td{padding:12px!important;border-color:#eee8e3!important}
#payment{background:#faf8f6!important;border-radius:16px!important;margin-top:14px}
#payment ul.payment_methods{border-bottom:1px solid var(--armaghan-border)!important}
#payment div.form-row{padding:16px!important}
#payment #place_order{width:100%;min-height:50px}

/* My Account logged out */
.armaghan-auth-screen,.armaghan-auth-screen body{background:#fff}
.page--auth{min-height:100vh}
.armaghan-auth-page{min-height:100vh}
.armaghan-auth-page>.woocommerce{min-height:100vh}
.armaghan-auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;direction:rtl;background:#fff}
.armaghan-auth__visual{position:relative;min-height:100vh;background-image:var(--auth-image);background-size:cover;background-position:center;overflow:hidden}
.armaghan-auth__visual-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(31,22,25,.05),rgba(31,22,25,.62))}
.armaghan-auth__visual-copy{position:absolute;right:8%;left:8%;bottom:8%;color:#fff;z-index:2}
.armaghan-auth__visual-copy span{font-size:11px;letter-spacing:.15em;font-weight:800;opacity:.85;direction:ltr;display:block}
.armaghan-auth__visual-copy h2{margin:10px 0 0;font-size:35px;line-height:1.55;font-weight:900}
.armaghan-auth__forms{width:min(100%,560px);margin:auto;padding:50px 54px;direction:rtl}
.armaghan-auth__brand{display:flex;align-items:center;gap:11px;color:var(--armaghan-primary);font-size:16px;font-weight:900;margin-bottom:42px}
.armaghan-auth__brand .custom-logo,.armaghan-auth__brand .logo-slot{width:52px;height:52px;object-fit:contain}
.armaghan-auth__tabs{display:flex;gap:8px;margin-bottom:26px;padding:5px;background:#f7f4f2;border-radius:14px}
.armaghan-auth__tabs button{flex:1;height:40px;border:0;border-radius:10px;background:transparent;color:#7c899c;font-weight:800}
.armaghan-auth__tabs button.is-active{background:#fff;color:var(--armaghan-primary);box-shadow:0 5px 16px rgba(60,42,48,.07)}
.armaghan-auth__panel{display:none}
.armaghan-auth__panel.is-active{display:block}
.armaghan-auth__heading{margin-bottom:24px}
.armaghan-auth__heading h1{margin:0;color:var(--armaghan-primary);font-size:34px;font-weight:900}
.armaghan-auth__heading p{margin:8px 0 0;color:#8593a6;font-size:13px;line-height:1.8}
.armaghan-auth__forms .woocommerce-form-row{margin-bottom:15px!important}
.armaghan-auth__forms .input-text{width:100%;min-height:50px!important;border-radius:14px!important;background:#fbfaf9!important}
.armaghan-auth__form-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:4px 0 18px;color:#76859a;font-size:12px}
.armaghan-auth__form-meta a{color:var(--armaghan-primary);font-weight:700}
.armaghan-auth__submit .button{width:100%;min-height:50px!important;border-radius:14px!important}
.armaghan-auth__hint{color:#8390a3;font-size:12px;line-height:1.8}

/* My Account logged in */
.woocommerce-account:not(.armaghan-auth-screen) .woocommerce{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start}
.armaghan-account-nav{float:none!important;width:100%!important;border:1px solid var(--armaghan-border);border-radius:20px;background:#fff;padding:16px;box-shadow:var(--armaghan-shadow-soft)}
.armaghan-account-nav__title{color:var(--armaghan-primary);font-size:18px;font-weight:900;padding:4px 8px 12px;border-bottom:1px solid var(--armaghan-border)}
.armaghan-account-nav ul{list-style:none;margin:8px 0 0;padding:0}
.armaghan-account-nav li{margin:0!important}
.armaghan-account-nav a{display:block;padding:11px 10px;border-radius:10px;color:#65768e;font-size:13px;font-weight:700}
.armaghan-account-nav li.is-active a{background:#faf1f4;color:var(--armaghan-primary)}
.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:100%!important;border:1px solid var(--armaghan-border);border-radius:20px;background:#fff;padding:22px;box-shadow:var(--armaghan-shadow-soft);color:#667890;line-height:1.9}
.woocommerce-account .woocommerce-MyAccount-content table{border-radius:14px;overflow:hidden}

@media (max-width: 991.98px){
  .armaghan-shop-products ul.products,.woocommerce .armaghan-shop-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .armaghan-single__summary-card{position:static}
  .armaghan-single__summary .product_title{font-size:20px}
  .woocommerce .related.products ul.products,.woocommerce .up-sells.upsells ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .armaghan-checkout__main{grid-template-columns:1fr}
  .armaghan-checkout__review{position:static}
  .woocommerce-account:not(.armaghan-auth-screen) .woocommerce{grid-template-columns:1fr}
}

@media (max-width: 767.98px){
  .armaghan-shop-page{padding-top:18px;padding-bottom:32px}
  .armaghan-shop-hero{padding:20px;border-radius:19px;margin-bottom:14px}
  .armaghan-shop-hero h1{font-size:31px}
  .armaghan-shop-toolbar{align-items:stretch;flex-direction:column}
  .armaghan-shop-toolbar .woocommerce-ordering,.armaghan-shop-toolbar .woocommerce-ordering select{width:100%}
  .armaghan-shop-products ul.products,.woocommerce .armaghan-shop-products ul.products{gap:12px}
  .armaghan-product-card__body{grid-template-columns:1fr;grid-template-areas:"title" "price" "action";gap:8px;padding:12px}
  .armaghan-product-card__action .button{width:100%}
  .armaghan-product-card__title h2{font-size:13px!important}
  .armaghan-product-card__price{font-size:12px}

  .armaghan-single-page{padding:18px 0 34px}
  .armaghan-single__gallery-card,.armaghan-single__summary-card{border-radius:20px}
  .armaghan-single__gallery-card{padding:10px}
  .armaghan-single__summary-card{padding:20px 17px}
  .woocommerce div.product div.images .woocommerce-product-gallery__image a{min-height:320px}
  .woocommerce div.product div.images .flex-control-thumbs{grid-template-columns:repeat(5,72px);overflow-x:auto;padding-bottom:4px!important}
  .armaghan-single__summary .product_title{font-size:20px}
  .armaghan-single__summary .price{font-size:20px!important}
  .armaghan-single__summary form.cart{padding:13px}
  .armaghan-single__trust{grid-template-columns:1fr}
  .woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper{padding:0 14px 18px;border-radius:20px}
  .woocommerce div.product .woocommerce-tabs ul.tabs{overflow-x:auto;gap:18px;white-space:nowrap}
  .woocommerce div.product .woocommerce-tabs ul.tabs li a{font-size:12px!important}
  .woocommerce .related.products>h2,.woocommerce .up-sells.upsells>h2{font-size:25px}

  .armaghan-cart-item{grid-template-columns:82px minmax(0,1fr) 38px;grid-template-areas:"image info remove" "quantity subtotal subtotal";gap:10px}
  .armaghan-cart-item__image{grid-area:image}.armaghan-cart-item__info{grid-area:info}.armaghan-cart-item__remove{grid-area:remove}.armaghan-cart-item__quantity{grid-area:quantity}.armaghan-cart-item__subtotal{grid-area:subtotal;text-align:left}
  .armaghan-cart-item__image img{width:82px;height:78px}
  .armaghan-cart__actions{align-items:stretch;flex-direction:column}
  .armaghan-cart__actions .coupon{display:grid;grid-template-columns:1fr auto}
  .armaghan-cart__actions .coupon .input-text{min-width:0;width:100%}
  .armaghan-cart__totals .cart-collaterals{width:100%}
  .armaghan-checkout__fields,.armaghan-checkout__review{padding:17px;border-radius:18px}
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{float:none!important;width:100%!important}

  .armaghan-auth{grid-template-columns:1fr;min-height:100vh}
  .armaghan-auth__visual{min-height:250px;height:32vh}
  .armaghan-auth__visual-copy{bottom:10%;right:6%;left:6%}
  .armaghan-auth__visual-copy h2{font-size:24px}
  .armaghan-auth__forms{width:100%;padding:28px 20px 38px}
  .armaghan-auth__brand{margin-bottom:24px}
  .armaghan-auth__heading h1{font-size:29px}
  .armaghan-auth__form-meta{align-items:flex-start;flex-direction:column}
}

@media (max-width: 520px){
  .armaghan-shop-products ul.products,.woocommerce .armaghan-shop-products ul.products{grid-template-columns:1fr 1fr}
  .armaghan-product-card__media{aspect-ratio:1/1}
  .armaghan-product-card__view{width:32px;height:32px;left:9px;bottom:9px}
  .armaghan-product-card__body{padding:10px}
  .armaghan-product-card__action .button{font-size:10px!important;padding:0 7px!important}
}
.armaghan-mobile-tab{display:none}
@media (max-width:767.98px){
  .woocommerce div.product .woocommerce-tabs ul.tabs{display:none!important}
  .armaghan-mobile-tab{display:flex;width:100%;min-height:48px;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid var(--armaghan-border);background:#fff;color:#52647c;font-weight:800;padding:0 4px;text-align:right}
  .armaghan-mobile-tab::after{content:"+";color:var(--armaghan-primary);font-size:20px}
  .armaghan-mobile-tab[aria-expanded="true"]::after{content:"−"}
  .woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel{display:none!important;padding:16px 0 4px}
  .woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel.is-armaghan-open{display:block!important}
}
@media (max-width:991.98px){
  .woocommerce .related.products.armaghan-related-swiper{overflow:hidden}
  .woocommerce .related.products.armaghan-related-swiper ul.products.swiper-wrapper{display:flex!important;grid-template-columns:none!important;gap:0!important;width:100%!important}
  .woocommerce .related.products.armaghan-related-swiper ul.products.swiper-wrapper>li.product{flex-shrink:0;width:auto!important}
}

/* v0.6 — refined single product proportions: 40% gallery / 60% information. */
.armaghan-single__hero-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,6fr);gap:24px;align-items:start;direction:rtl}
.armaghan-single__gallery-column,.armaghan-single__summary-column{min-width:0;direction:rtl}
.armaghan-single__summary .product_title{font-size:20px!important;line-height:1.5!important;margin-bottom:10px!important}
.armaghan-single__gallery-card{padding:14px!important}
.armaghan-single__gallery-card .woocommerce-product-gallery__wrapper{background:#fbf9f7!important;border-radius:18px!important}
.armaghan-single__gallery-card .woocommerce-product-gallery__image a,.woocommerce div.product div.images .woocommerce-product-gallery__image a{display:flex!important;align-items:center!important;justify-content:center!important;height:clamp(360px,30vw,470px)!important;min-height:0!important;padding:18px;background:#fbf9f7!important}
.armaghan-single__gallery-card .woocommerce-product-gallery__image img,.woocommerce div.product div.images .woocommerce-product-gallery__image img{display:block!important;width:100%!important;height:100%!important;max-height:440px!important;aspect-ratio:auto!important;object-fit:contain!important;border-radius:14px!important;margin:0 auto!important}
.armaghan-single__gallery-card .flex-control-thumbs li{width:70px!important;flex-basis:70px!important}
.armaghan-single__gallery-card .flex-control-thumbs img{width:70px!important;height:70px!important}
.armaghan-single__summary-card{padding:28px 30px 24px!important}

@media (max-width:991.98px){
  .armaghan-single__hero-grid{grid-template-columns:1fr;gap:16px}
  .armaghan-single__gallery-card .woocommerce-product-gallery__image a,.woocommerce div.product div.images .woocommerce-product-gallery__image a{height:clamp(310px,74vw,440px)!important}
  .armaghan-single__summary .product_title{font-size:20px!important}
}
@media (max-width:575.98px){
  .armaghan-single__gallery-card .woocommerce-product-gallery__image a,.woocommerce div.product div.images .woocommerce-product-gallery__image a{height:330px!important;padding:10px}
  .armaghan-single__summary .product_title{font-size:20px!important}
}

/* v0.6 — clickable breadcrumb navigation */
.armaghan-breadcrumb{display:flex!important;font-size:12px!important;color:#96a3b4!important}
.armaghan-breadcrumb__list{display:flex;align-items:center;flex-wrap:wrap;gap:0;list-style:none;margin:0;padding:0}
.armaghan-breadcrumb__item{display:inline-flex;align-items:center;gap:8px}
.armaghan-breadcrumb__item a{color:#71849d!important;text-decoration:none;transition:color .18s ease}
.armaghan-breadcrumb__item a:hover,.armaghan-breadcrumb__item a:focus{color:var(--armaghan-primary)!important}
.armaghan-breadcrumb__item [aria-current="page"]{color:#9aa6b5}
.armaghan-breadcrumb__sep{margin:0 8px;color:#c7ced7}


/* ===== Armaghan v0.7 shop/grid fixes ===== */
.armaghan-shop-products ul.products,.woocommerce .armaghan-shop-products ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.armaghan-product-card__action .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1.1!important}
.armaghan-single-page,.armaghan-shop-page{width:min(var(--armaghan-content-width),calc(100% - (var(--armaghan-gutter) * 2)));max-width:var(--armaghan-content-width);margin-right:auto;margin-left:auto}
@media (max-width: 1399.98px){
  .armaghan-shop-products ul.products,.woocommerce .armaghan-shop-products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width: 991.98px){
  .armaghan-shop-products ul.products,.woocommerce .armaghan-shop-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width: 575.98px){
  .armaghan-shop-products ul.products,.woocommerce .armaghan-shop-products ul.products{grid-template-columns:1fr 1fr!important}
}


/* ===== Armaghan v0.9.2 archive + breadcrumb refinements ===== */
.armaghan-shop-hero{padding-bottom:0!important;margin:20px 0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-direction:row-reverse!important;}
.armaghan-shop-hero h1,.armaghan-shop-hero .woocommerce-products-header__title{font-size:18px!important;line-height:1.45!important;margin:0 0 8px!important}
.armaghan-shop-hero__description{padding-bottom:0}
.armaghan-breadcrumb,.woocommerce-breadcrumb{color:#94a0b2!important;font-size:12px!important;display:flex;gap:7px;flex-wrap:wrap}
.armaghan-single-page .armaghan-breadcrumb{margin-top:20px!important;margin-bottom:20px!important}
