/* E-pin light visual system */
:root{
 color-scheme:light;
 --bg:#f5f7fb;
 --panel:#ffffff;
 --line:#e4e9f1;
 --text:#172033;
 --muted:#68758a;
 --accent:#2563eb;
 --accent2:#0f766e;
 --surface-soft:#f8fafc;
 --surface-hover:#eef4ff;
 --shadow-soft:0 8px 24px rgba(20,35,65,.06);
}
html{color-scheme:light}
body{background:var(--bg)!important;color:var(--text)!important}
a{color:var(--accent)}
.container{color:var(--text)}
.topbar,.storefront-header,.admin-topbar{background:#fff!important;border-color:var(--line)!important;box-shadow:0 2px 10px rgba(20,35,65,.035)}
.brand,.admin-topbar-brand>a{color:#172033!important}
.topbar nav a,.storefront-navigation a,.admin-topbar-actions{color:#536176!important}
.hero{background:linear-gradient(120deg,#eff6ff,#f0fdfa)!important;border:1px solid #dce8f8!important;color:#172033!important}
.hero h1,.hero h2,.hero strong{color:#172033!important}
.hero p,.product p,.empty,.page-head p{color:var(--muted)!important}
.eyebrow,.eyebrow strong{color:#2563eb!important}
.product,.admin-grid article,.auth-card,.installer-card,.stat-card,.admin-panel,.admin-form,.admin-side,.seller-card,.account-card,.order-card,.ticket-card,.dashboard-card{background:#fff!important;color:var(--text)!important;border:1px solid var(--line)!important;box-shadow:var(--shadow-soft)}
.product strong{color:#0f766e!important}
.product-image{background:linear-gradient(135deg,#eaf1ff,#e5f7f4)!important;color:#334155}
.chip,.choice{background:#fff!important;color:#334155!important;border-color:var(--line)!important}
.chip:hover,.storefront-navigation a:hover{background:#f0f5ff!important;color:#1d4ed8!important}
.footer{background:#fff;border-color:var(--line)!important;color:#64748b!important}
input:not([type=radio]),select,textarea,.admin-form input,.admin-form textarea,.admin-form select{
 background:#fff!important;color:#172033!important;border:1px solid #d5deea!important;box-shadow:inset 0 1px 2px rgba(15,23,42,.025)
}
input::placeholder,textarea::placeholder{color:#94a3b8!important}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(37,99,235,.13);border-color:#7aa5f8!important}
button,.primary-link,.game-slide-cta{background:#2563eb!important;color:#fff!important}
button:hover,.primary-link:hover,.game-slide-cta:hover{background:#1d4ed8!important}
.alert{background:#fff7ed!important;border:1px solid #fed7aa!important;color:#9a3412!important}
.alert-error{background:#fff1f2!important;border-color:#fecdd3!important;color:#9f1239!important}
.alert-success{background:#ecfdf5!important;border-color:#a7f3d0!important;color:#065f46!important}
.admin-shell{background:transparent}
.admin-side{background:#fff!important;border-color:var(--line)!important}
.admin-side-title{color:#64748b!important}
.admin-side a{color:#536176!important}
.admin-side a:hover,.admin-side a.active{background:#edf4ff!important;color:#1d4ed8!important}
.admin-content{color:var(--text)}
.page-head h1,.admin-content h1,.admin-content h2,.admin-content h3{color:#172033}
.stat-card span{color:#64748b!important}
.stat-card strong{color:#172033}
.admin-panel,.admin-form{background:#fff!important}
.table-wrap{background:#fff;border-color:var(--line)!important}
table{background:#fff;color:#243047}
th{background:#f8fafc;color:#64748b!important}
th,td{border-color:#e8edf4!important}
tbody tr:hover{background:#f8fbff}
.actions a,.form-actions a{color:#2563eb!important}
.admin-side .link-danger,.link-danger{color:#dc2626!important}
.storefront-utility-bar{background:#f8fafc!important;border-color:var(--line)!important}
.quick-action{color:#334155!important}
.storefront-header{color:#172033}
.storefront-navigation .nav-link{color:#334155!important}
.storefront-navigation .nav-link:hover{color:#1d4ed8!important}
.storefront-navigation details,.nav-category-dropdown{background:#fff!important;border-color:var(--line)!important;color:#172033!important;box-shadow:var(--shadow-soft)}
.game-showcase{border-color:#e2e8f0}
.game-slide-shade{background:linear-gradient(90deg,rgba(15,23,42,.72),rgba(15,23,42,.08))!important}
.game-showcase-empty{background:linear-gradient(120deg,#eff6ff,#ecfdf5)!important;color:#172033!important}
.game-showcase-empty .game-slide-shade{background:transparent!important}
.game-showcase-empty .game-slide-content h1,.game-showcase-empty .game-slide-content p{color:#172033!important}
.game-showcase-empty .game-slide-kicker{color:#2563eb!important}
.game-showcase-empty .game-slide-watermark{color:rgba(37,99,235,.08)!important}
.game-slider-controls button,.game-slider-arrows button{background:#fff!important;color:#1e293b!important;border:1px solid var(--line)!important}
.badge,.status-badge{border-color:#e2e8f0}
hr{border:0;border-top:1px solid var(--line)}
@media(max-width:800px){
 .admin-shell{grid-template-columns:minmax(0,1fr)!important}
 .page-head{align-items:flex-start;flex-wrap:wrap}
 .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
 .container{width:min(100% - 24px,1120px)}
 .stat-grid{grid-template-columns:1fr 1fr}
 .admin-form,.admin-panel{padding:15px}
}


/* Premium mobile navigation: airy white panel, clear hierarchy and subtle motion. */
@media(max-width:760px){
 .storefront-header>.storefront-menu-toggle{position:relative;z-index:1002;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;margin:0;border:1px solid #e1e8f2;border-radius:13px;background:linear-gradient(180deg,#fff,#f7f9fd)!important;color:#24324a!important;box-shadow:0 3px 10px rgba(25,42,70,.07);transition:border-color .2s,box-shadow .2s,transform .2s}
 .storefront-header>.storefront-menu-toggle:hover{border-color:#b9cafa;box-shadow:0 5px 14px rgba(37,99,235,.12)}
 .storefront-header>.storefront-menu-toggle:active{transform:scale(.96)}
 .storefront-menu-toggle span{width:19px;height:2px;background:#334155!important;border-radius:3px;transition:transform .24s ease,opacity .18s ease,width .2s ease}
 .storefront-menu-toggle span:nth-child(2){width:14px;align-self:flex-end}
 .storefront-menu-toggle[aria-expanded=true] span:first-child{transform:translateY(7px) rotate(45deg)}
 .storefront-menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0;width:0}
 .storefront-menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-7px) rotate(-45deg)}
 .storefront-header>.storefront-navigation{position:absolute;top:calc(100% + 9px);left:12px;right:12px;z-index:1001;display:flex;flex-direction:column;align-items:stretch;gap:3px;max-height:calc(100dvh - 132px);overflow-x:hidden;overflow-y:auto;padding:13px;border:1px solid #e5eaf2;border-radius:19px;background:rgba(255,255,255,.98)!important;box-shadow:0 22px 55px rgba(23,39,67,.18),0 3px 10px rgba(23,39,67,.05);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px) scale(.985);transform-origin:top center;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;transition:opacity .2s ease,transform .24s cubic-bezier(.2,.75,.25,1),visibility 0s linear .24s;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
 .storefront-header>.storefront-navigation::before{content:"KEŞFET";display:block;padding:3px 12px 9px;color:#94a3b8;font-size:.66rem;font-weight:850;letter-spacing:.16em}
 .storefront-header>.storefront-navigation.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1);transition:opacity .2s ease,transform .24s cubic-bezier(.2,.75,.25,1),visibility 0s}
 .storefront-navigation>.nav-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin:1px 0;padding:12px 13px!important;border:0!important;border-radius:11px;color:#334155!important;background:transparent!important;font-size:.94rem;font-weight:650;line-height:1.35;text-decoration:none;transition:background .18s,color .18s}
 .storefront-navigation>.nav-link::after{content:"";flex:0 0 7px;width:7px;height:7px;border-top:1.5px solid #a0aec0;border-right:1.5px solid #a0aec0;transform:rotate(45deg);margin-right:3px}
 .storefront-navigation>.nav-link:hover,.storefront-navigation>.nav-link:focus-visible{background:#f1f6ff!important;color:#1d4ed8!important;outline:none}
 .storefront-navigation>.nav-cart-link{border:1px solid #e5edfb!important;background:#f7faff!important;color:#1d4ed8!important}
 .storefront-navigation>.nav-cart-link::after{display:none}
 .storefront-navigation>.nav-cart-link span{display:inline-grid;place-items:center;min-width:23px;height:23px;margin-left:auto;padding:0 6px;border-radius:20px;background:#e5efff;color:#1d4ed8;font-size:.75rem;font-weight:800}
 .storefront-navigation>.nav-category-menu{margin:1px 0;border:1px solid #edf0f5!important;border-radius:11px;background:#fff!important;color:#334155!important;overflow:hidden}
 .storefront-navigation>.nav-category-menu>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:12px 13px;color:#334155!important;font-size:.94rem;font-weight:650;cursor:pointer;list-style:none}
 .storefront-navigation>.nav-category-menu>summary::-webkit-details-marker{display:none}
 .storefront-navigation>.nav-category-menu>summary::after{content:"";width:8px;height:8px;margin:0 3px 4px 12px;border-right:1.5px solid #8291a7;border-bottom:1.5px solid #8291a7;transform:rotate(45deg);transition:transform .2s}
 .storefront-navigation>.nav-category-menu[open]>summary::after{transform:rotate(225deg);margin-bottom:0}
 .storefront-navigation .nav-category-dropdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:2px 9px 10px;background:#fff!important}
 .storefront-navigation .nav-category-dropdown a{display:flex;align-items:center;min-height:39px;padding:8px 10px;border:1px solid #edf1f7;border-radius:9px;background:#f8fafd!important;color:#526176!important;font-size:.83rem;text-decoration:none;overflow-wrap:anywhere}
 .storefront-navigation .nav-category-dropdown a:hover{background:#eef4ff!important;color:#1d4ed8!important}
 .storefront-body.storefront-menu-open::before{background:rgba(20,32,52,.28);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
 .storefront-header>.storefront-navigation a:focus-visible,.storefront-header>.storefront-navigation summary:focus-visible{outline:3px solid rgba(37,99,235,.22);outline-offset:2px}
}
@media(max-width:420px){.storefront-header>.storefront-navigation{left:9px;right:9px;padding:10px;border-radius:16px}.storefront-navigation .nav-category-dropdown{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.storefront-header>.storefront-menu-toggle,.storefront-menu-toggle span,.storefront-header>.storefront-navigation,.storefront-navigation>.nav-link,.storefront-navigation .nav-category-dropdown a{transition:none!important}}


/* Luxury slider navigation: optically centered icons, layered metal/glass finish. */
.game-slider-arrows button,
.product-slider-controls button{
 position:relative;display:inline-grid;place-items:center;flex:0 0 52px;width:52px;height:52px;min-width:52px;min-height:52px;
 box-sizing:border-box;margin:0;padding:0;overflow:hidden;border:1px solid rgba(255,255,255,.34)!important;border-radius:50%;
 background:linear-gradient(145deg,#344660 0%,#1b2a40 48%,#101a2b 100%)!important;
 color:transparent!important;font-size:0!important;line-height:0;
 box-shadow:0 10px 24px rgba(8,18,35,.24),0 2px 5px rgba(8,18,35,.16),inset 0 1px 0 rgba(255,255,255,.22),inset 0 -2px 5px rgba(0,0,0,.22);
 cursor:pointer;isolation:isolate;
 transition:transform .24s cubic-bezier(.2,.8,.2,1),box-shadow .24s,border-color .24s,background .24s;
}
.game-slider-arrows button::after,.product-slider-controls button::after{
 content:"";position:absolute;inset:4px;border:1px solid rgba(255,255,255,.13);border-radius:50%;pointer-events:none;
 box-shadow:inset 0 1px 2px rgba(255,255,255,.08);
}
.game-slider-arrows button::before,.product-slider-controls button::before{
 content:"";position:absolute;top:50%;left:50%;display:block;width:10px;height:10px;margin:0;
 border-top:2.5px solid #f8fbff;border-right:2.5px solid #f8fbff;border-radius:1px;
 transform:translate(-50%,-50%) rotate(45deg);transform-origin:center;
 filter:drop-shadow(0 1px 2px rgba(0,0,0,.24));transition:transform .24s,border-color .24s,filter .24s;
}
.game-slider-arrows button:first-child::before,.product-slider-controls button:first-child::before{transform:translate(-50%,-50%) rotate(-135deg)}
.game-slider-arrows button:last-child::before,.product-slider-controls button:last-child::before{transform:translate(-50%,-50%) rotate(45deg)}
.game-slider-arrows button:hover,.product-slider-controls button:hover{
 transform:translateY(-3px) scale(1.035);border-color:rgba(111,231,220,.82)!important;
 background:linear-gradient(145deg,#1b9e9a 0%,#147b83 48%,#15516c 100%)!important;
 box-shadow:0 14px 30px rgba(13,119,133,.3),0 0 0 4px rgba(45,212,191,.10),inset 0 1px 0 rgba(255,255,255,.32);
}
.game-slider-arrows button:hover::after,.product-slider-controls button:hover::after{border-color:rgba(255,255,255,.28)}
.game-slider-arrows button:hover::before,.product-slider-controls button:hover::before{border-color:#fff;filter:drop-shadow(0 0 5px rgba(255,255,255,.45))}
.game-slider-arrows button:active,.product-slider-controls button:active{transform:translateY(-1px) scale(.96)}
.game-slider-arrows button:focus-visible,.product-slider-controls button:focus-visible{outline:3px solid rgba(20,184,166,.42);outline-offset:4px}
@media(max-width:760px){
 .game-slider-arrows{gap:11px}
 .game-slider-arrows button,.product-slider-controls button{flex-basis:46px;width:46px;height:46px;min-width:46px;min-height:46px}
 .game-slider-arrows button::before,.product-slider-controls button::before{width:9px;height:9px}
}
@media(prefers-reduced-motion:reduce){
 .game-slider-arrows button,.product-slider-controls button,.game-slider-arrows button::before,.product-slider-controls button::before{transition:none!important}
}


/* Premium storefront product and category cards. */
.products{align-items:stretch;gap:20px}
.products>.product{position:relative;display:flex;min-width:0;flex-direction:column;overflow:hidden;padding:14px!important;border:1px solid #e5eaf2!important;border-radius:18px!important;background:linear-gradient(155deg,#fff 0%,#fbfcff 100%)!important;box-shadow:0 7px 22px rgba(25,42,70,.055),inset 0 1px 0 rgba(255,255,255,.9)!important;transition:transform .24s cubic-bezier(.2,.8,.2,1),border-color .24s,box-shadow .24s}
.products>.product:hover{transform:translateY(-5px);border-color:#bfd3f7!important;box-shadow:0 18px 38px rgba(30,64,120,.12),0 4px 10px rgba(30,64,120,.05)!important}
.product-link{display:flex;flex:1;min-width:0;flex-direction:column;color:inherit!important;text-decoration:none}
.product-link h3{margin:14px 2px 5px;color:#172033!important;font-size:1.02rem;font-weight:800;line-height:1.35;letter-spacing:-.018em}
.product-link:hover h3{color:#1d4ed8!important}
.product-link p{display:-webkit-box;min-height:2.8em;margin:3px 2px 13px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#718096!important;font-size:.86rem;line-height:1.45}
.product-link>strong{margin:auto 2px 2px;padding-top:8px;color:#087f73!important;font-size:1.12rem;font-weight:900;letter-spacing:-.025em}
.product-image{position:relative;display:grid;place-items:center;flex:none;min-width:0;overflow:hidden;height:auto;min-height:150px;aspect-ratio:16/10;border:1px solid #edf1f7;border-radius:13px!important;background:linear-gradient(135deg,#edf4ff 0%,#e8f8f5 100%)!important;color:#42617f}
.product-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.75,.25,1)}
.product:hover .product-image img{transform:scale(1.055)}
.product-image-label{left:10px;bottom:10px;padding:6px 9px;border:1px solid rgba(255,255,255,.72);border-radius:7px;background:rgba(15,29,49,.78);color:#fff;font-size:.61rem;font-weight:850;letter-spacing:.09em;box-shadow:0 3px 10px rgba(10,20,35,.12);backdrop-filter:blur(8px)}
.product-buy-link{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;margin-top:14px;padding:0 14px;border:1px solid #c8f0e8;border-radius:10px;background:linear-gradient(105deg,#e9fbf6,#eaf3ff);color:#087f73!important;text-decoration:none;font-size:.72rem;font-weight:900;letter-spacing:.045em;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s}
.product-buy-link span{font-size:1rem;transition:transform .2s}
.product-buy-link:hover{transform:translateY(-1px);border-color:#8ddccc;background:linear-gradient(105deg,#d8f8ef,#e1edff);box-shadow:0 6px 15px rgba(15,118,110,.1)}
.product-buy-link:hover span{transform:translate(2px,-2px)}
.home-featured .product,.product-slide{border-color:#e5eaf2!important;background:linear-gradient(155deg,#fff 0%,#fbfcff 100%)!important}
.home-featured .product:hover,.product-slide:hover{border-color:#bfd3f7!important;box-shadow:0 18px 38px rgba(30,64,120,.12)!important}
.home-featured .product h3,.product-slide h3{color:#172033!important}
.home-featured .product p,.product-slide p{color:#718096!important}
.home-featured .product strong,.product-slide .product-link>strong{color:#087f73!important}
.home-categories .chip{display:inline-flex;align-items:center;gap:13px;min-height:44px;padding:10px 16px;border:1px solid #e2eaf5!important;border-radius:12px!important;background:linear-gradient(145deg,#fff,#f7faff)!important;color:#34445d!important;box-shadow:0 3px 10px rgba(25,42,70,.035);font-size:.88rem;font-weight:750;transition:transform .2s,border-color .2s,background .2s,box-shadow .2s}
.home-categories .chip:hover{transform:translateY(-2px);border-color:#b8d0f8!important;background:#f1f6ff!important;color:#1d4ed8!important;box-shadow:0 8px 18px rgba(37,99,235,.09)}
.home-categories .chip span{color:#0f9b8e!important;font-size:1rem}
@media(max-width:760px){.products{gap:13px}.products>.product{padding:12px!important;border-radius:15px!important}.product-image{min-height:120px}.product-link h3{font-size:.96rem}.product-buy-link{min-height:42px;margin-top:11px}}
@media(prefers-reduced-motion:reduce){.products>.product,.product-image img,.product-buy-link,.product-buy-link span,.home-categories .chip{transition:none!important}}


/* Premium product detail and purchase experience. */
.product-detail{
 position:relative;overflow:hidden;gap:clamp(24px,4vw,52px);align-items:stretch;
 padding:clamp(18px,3vw,34px)!important;border:1px solid #e3eaf4!important;border-radius:24px!important;
 background:linear-gradient(145deg,#fff 0%,#fbfdff 72%,#f3f8ff 100%)!important;
 box-shadow:0 18px 48px rgba(25,42,70,.075),inset 0 1px 0 #fff!important;
}
.product-detail::before{content:"";position:absolute;top:-130px;right:-100px;width:330px;height:330px;border-radius:50%;background:radial-gradient(circle,rgba(191,219,254,.26),rgba(191,219,254,0) 70%);pointer-events:none}
.product-detail-image{
 position:relative;z-index:1;min-width:0;min-height:380px;max-height:560px;aspect-ratio:1/1;
 overflow:hidden;border:1px solid #e5edf7;border-radius:19px!important;
 background:linear-gradient(145deg,#edf4ff,#e8f8f5)!important;color:#47617d;
 box-shadow:0 12px 30px rgba(30,64,120,.09),inset 0 1px 0 rgba(255,255,255,.9);
}
.product-detail-image::after{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.45);border-radius:inherit;pointer-events:none}
.product-detail-image img{width:100%;height:100%;max-height:none;object-fit:contain;padding:10px;transition:transform .45s cubic-bezier(.2,.75,.25,1)}
.product-detail-image:hover img{transform:scale(1.035)}
.product-detail-info{position:relative;z-index:1;display:flex;min-width:0;flex-direction:column;align-items:flex-start;justify-content:center;padding:8px 4px}
.product-detail-info>.eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 12px;padding:7px 10px;border:1px solid #dbeafe;border-radius:7px;background:#eff6ff;color:#2563eb!important;font-size:.66rem;letter-spacing:.13em}
.product-detail-info h1{margin:0 0 12px;color:#172033!important;font-size:clamp(1.8rem,3.2vw,2.65rem);font-weight:850;line-height:1.12;letter-spacing:-.04em;overflow-wrap:anywhere}
.product-detail-info .lead{max-width:58ch;margin:0 0 14px;color:#64748b!important;font-size:1rem;line-height:1.65}
.detail-price{display:inline-flex;align-items:baseline;gap:5px;margin:8px 0 12px!important;padding:10px 15px;border:1px solid #c9eee5;border-radius:12px;background:linear-gradient(110deg,#edfcf7,#f0f7ff);color:#087f73!important;font-size:clamp(1.65rem,3vw,2.2rem)!important;font-weight:950;letter-spacing:-.045em;line-height:1.2}
.delivery-note{display:flex;align-items:center;gap:9px;margin:0 0 18px;padding:8px 11px;border:1px solid #e6edf5;border-radius:9px;background:#f8fafc;color:#526176!important;font-size:.84rem;font-weight:650}
.delivery-note::before{content:"";flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.11)}
.buy-form{display:grid;width:100%;grid-template-columns:minmax(0,1fr) minmax(100px,.55fr);align-items:end;gap:12px;margin:0;padding:16px;border:1px solid #e6edf5;border-radius:15px;background:rgba(255,255,255,.86);box-shadow:0 5px 18px rgba(25,42,70,.04)}
.buy-form label{display:grid;min-width:0;gap:7px;color:#475569;font-size:.82rem;font-weight:750}
.buy-form input,.buy-form select{width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #d8e1ed!important;border-radius:9px!important;background:#fff!important;color:#172033!important;font:inherit}
.buy-form button{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin:2px 0 0;padding:12px 18px;border:1px solid #1d4ed8;border-radius:11px;background:linear-gradient(105deg,#2563eb,#1d4ed8)!important;color:#fff!important;font-size:.91rem;font-weight:850;letter-spacing:.015em;box-shadow:0 8px 18px rgba(37,99,235,.2);transition:transform .2s,box-shadow .2s,filter .2s}
.buy-form button::after{content:"→";font-size:1.15rem;line-height:1}
.buy-form button:hover{transform:translateY(-2px);filter:brightness(1.04);box-shadow:0 12px 24px rgba(37,99,235,.26)}
.buy-form button:active{transform:translateY(0) scale(.99)}
.buy-form button:disabled{opacity:.48;cursor:not-allowed;transform:none;box-shadow:none}
.stock-note{margin:10px 2px 0;color:#64748b!important;font-size:.8rem}
.breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;color:#94a3b8!important;font-size:.82rem}
.breadcrumbs a{color:#64748b!important;text-decoration:none;transition:color .18s}
.breadcrumbs a:hover{color:#2563eb!important}
.description-panel{margin:24px 0;padding:clamp(18px,3vw,28px);border:1px solid #e5eaf2!important;border-radius:17px!important;background:#fff!important;box-shadow:0 8px 24px rgba(20,35,65,.045)}
.description-panel h2{margin:0 0 13px;color:#172033;font-size:1.2rem;font-weight:850;letter-spacing:-.02em}
.description-panel div{color:#536176!important;line-height:1.8}
.container>section>h2{margin:30px 0 16px;color:#172033;font-size:1.25rem;font-weight:850;letter-spacing:-.025em}
@media(max-width:700px){
 .product-detail{grid-template-columns:minmax(0,1fr);gap:18px;padding:13px!important;border-radius:18px!important}
 .product-detail-image{width:100%;min-height:0;max-height:none;aspect-ratio:16/11;border-radius:14px!important}
 .product-detail-image img{padding:6px;object-fit:contain}
 .product-detail-info{padding:4px 2px 2px}
 .product-detail-info h1{font-size:clamp(1.55rem,7vw,2.2rem)}
 .product-detail-info .lead{font-size:.92rem}
 .buy-form{grid-template-columns:minmax(0,1fr) minmax(88px,.55fr);gap:9px;padding:12px}
 .buy-form button{min-height:49px}
 .description-panel{margin:17px 0;padding:17px}
}
@media(max-width:390px){.buy-form{grid-template-columns:minmax(0,1fr)}.buy-form button{grid-column:1}}
@media(prefers-reduced-motion:reduce){.product-detail-image img,.buy-form button,.breadcrumbs a{transition:none!important}}

/* Premium search and category filter controls. */
.search-toolbar,.category-toolbar{
 position:relative;display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0 26px;padding:18px;
 border:1px solid #e3eaf4!important;border-radius:17px!important;
 background:linear-gradient(145deg,#fff 0%,#f8fbff 100%)!important;
 box-shadow:0 10px 28px rgba(25,42,70,.055),inset 0 1px 0 #fff!important;
}
.search-toolbar::before,.category-toolbar::before{content:"";position:absolute;top:0;left:18px;right:18px;height:1px;background:linear-gradient(90deg,transparent,#cbdcf8,transparent)}
.search-toolbar input,.search-toolbar select,.category-toolbar input,.category-toolbar select{
 min-width:0;min-height:46px;padding:11px 13px;border:1px solid #dbe4f0!important;border-radius:10px!important;
 background:#fff!important;color:#172033!important;font:inherit;font-size:.92rem;
 box-shadow:0 2px 5px rgba(15,23,42,.025),inset 0 1px 0 #fff;
 transition:border-color .18s,box-shadow .18s,background .18s;
}
.search-toolbar input{flex:1 1 260px}
.search-toolbar select,.category-toolbar select{min-width:165px}
.search-toolbar input:focus,.search-toolbar select:focus,.category-toolbar input:focus,.category-toolbar select:focus{
 outline:0;border-color:#8bb2fa!important;box-shadow:0 0 0 4px rgba(37,99,235,.10),0 2px 6px rgba(15,23,42,.03)
}
.search-toolbar input::placeholder,.category-toolbar input::placeholder{color:#9aa8ba}
.category-toolbar label{display:grid;flex:1 1 145px;min-width:135px;gap:7px;color:#64748b!important;font-size:.76rem;font-weight:800;letter-spacing:.025em}
.category-toolbar label input,.category-toolbar label select{width:100%}
.search-toolbar button,.category-toolbar button{
 display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:112px;min-height:46px;margin:0;padding:0 19px;
 border:1px solid #1d4ed8;border-radius:10px;background:linear-gradient(110deg,#2563eb,#1d4ed8)!important;color:#fff!important;
 box-shadow:0 6px 14px rgba(37,99,235,.17);font-size:.84rem;font-weight:850;letter-spacing:.025em;
 transition:transform .18s,box-shadow .18s,filter .18s;
}
.search-toolbar button::after,.category-toolbar button::after{content:"↗";font-size:1rem;line-height:1}
.search-toolbar button:hover,.category-toolbar button:hover{transform:translateY(-2px);filter:brightness(1.04);box-shadow:0 10px 20px rgba(37,99,235,.23)}
.search-toolbar button:active,.category-toolbar button:active{transform:translateY(0) scale(.985)}
.category-toolbar>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 10px;border-radius:9px;color:#64748b!important;font-size:.82rem;font-weight:750;text-decoration:none;transition:background .18s,color .18s}
.category-toolbar>a:hover{background:#eef4ff;color:#1d4ed8!important}
.search-toolbar input[type=search]{padding-left:42px;background-image:radial-gradient(circle at 15px 16px,transparent 5px,#64748b 5.8px,#64748b 6.8px,transparent 7.5px),linear-gradient(45deg,transparent 46%,#64748b 48%,#64748b 56%,transparent 58%);background-size:32px 32px,9px 9px;background-position:0 0,25px 24px;background-repeat:no-repeat}
.page-head+.search-toolbar{margin-top:16px}
.page-head+.category-toolbar{margin-top:16px}
@media(max-width:760px){
 .search-toolbar,.category-toolbar{gap:10px;margin:16px 0 20px;padding:13px;border-radius:14px!important}
 .search-toolbar input,.search-toolbar select,.category-toolbar input,.category-toolbar select{min-height:45px;font-size:16px}
 .search-toolbar input{flex-basis:100%}
 .search-toolbar select{flex:1 1 100%}
 .search-toolbar button,.category-toolbar button{width:100%;min-height:47px}
 .category-toolbar label{flex:1 1 calc(50% - 6px);min-width:0}
 .category-toolbar>a{flex:1 1 100%;justify-content:center}
}
@media(max-width:420px){
 .search-toolbar,.category-toolbar{padding:11px}
 .category-toolbar label{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){
 .search-toolbar input,.search-toolbar select,.category-toolbar input,.category-toolbar select,.search-toolbar button,.category-toolbar button,.category-toolbar>a{transition:none!important}
}

/* Premium cart, checkout and order journey. */
.cart-layout{gap:clamp(18px,2.5vw,28px);align-items:start}
.cart-lines{gap:14px}
.cart-line{
 position:relative;display:grid;grid-template-columns:104px minmax(0,1fr) auto;align-items:center;gap:18px;
 padding:17px;border:1px solid #e5eaf2!important;border-radius:18px!important;
 background:linear-gradient(145deg,#fff 0%,#fbfcff 100%)!important;
 box-shadow:0 7px 22px rgba(25,42,70,.05),inset 0 1px 0 #fff;
 transition:border-color .2s,box-shadow .2s,transform .2s;
}
.cart-line:hover{transform:translateY(-2px);border-color:#c9d9f2!important;box-shadow:0 13px 28px rgba(25,42,70,.085)}
.cart-thumb{width:104px;height:88px;border:1px solid #e7edf6;border-radius:13px!important;background:linear-gradient(135deg,#edf4ff,#e8f8f5)!important;color:#52708e}
.cart-thumb img{object-fit:cover}
.cart-line-info h3{margin:0 0 7px;font-size:1.04rem;font-weight:850;letter-spacing:-.02em}
.cart-line-info h3 a{color:#1c2940!important}
.cart-line-info h3 a:hover{color:#2563eb!important}
.cart-line-info small{display:inline-flex;margin:0 0 7px;padding:4px 8px;border:1px solid #e5edf7;border-radius:7px;background:#f7faff;color:#64748b;font-size:.76rem}
.cart-line-info p{margin:0 0 8px;color:#718096!important;font-size:.86rem}
.cart-line-info strong{display:inline-flex;color:#087f73!important;font-size:1.08rem;font-weight:900}
.cart-line>form{margin:0}
.cart-line>form .link-danger{padding:9px 12px;border:1px solid #fee2e2;border-radius:9px;background:#fff5f5!important;color:#be3c4b!important;font-size:.82rem;font-weight:750;transition:background .2s,border-color .2s}
.cart-line>form .link-danger:hover{border-color:#fecaca;background:#fff0f0!important}
.cart-summary{
 position:sticky;top:18px;padding:22px;border:1px solid #dfe8f4!important;border-radius:19px!important;
 background:linear-gradient(155deg,#fff 0%,#f8fbff 100%)!important;
 box-shadow:0 14px 36px rgba(25,42,70,.075),inset 0 1px 0 #fff;
}
.cart-summary h2{margin:0 0 16px;color:#1b2940;font-size:1.18rem;font-weight:900;letter-spacing:-.025em}
.cart-summary>p{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:13px 0;padding:0;color:#718096!important;font-size:.91rem}
.cart-summary>p strong{color:#27364d;font-weight:800;white-space:nowrap}
.cart-summary>p .detail-price{margin:0;color:#087f73!important;font-size:1.55rem;font-weight:950}
.cart-summary>p:last-of-type{margin-top:17px;padding-top:16px;border-top:1px solid #e5ebf3}
.coupon-form{gap:10px;margin:16px 0;padding:14px;border:1px solid #e5ebf3!important;border-radius:13px;background:#f8faff!important}
.coupon-form label{gap:7px;color:#5e6d83!important;font-size:.82rem;font-weight:750}
.coupon-form input{min-height:45px;padding:11px 12px;border-color:#dce5f0!important;border-radius:9px;background:#fff!important;color:#172033!important}
.coupon-form button{min-height:43px;border-radius:9px;font-size:.84rem;font-weight:800}
.cart-summary>form:not(.coupon-form){margin:0 0 12px}
.cart-summary>form:not(.coupon-form) button{padding:5px 0;background:transparent!important;color:#b45360!important;font-size:.8rem}
.cart-summary>.primary-link{display:flex;align-items:center;justify-content:center;min-height:50px;margin-top:19px;padding:12px 18px;border-radius:11px;background:linear-gradient(105deg,#2563eb,#0f8b91)!important;box-shadow:0 8px 18px rgba(37,99,235,.18);font-weight:850;letter-spacing:.01em;transition:transform .2s,box-shadow .2s}
.cart-summary>.primary-link:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(37,99,235,.24)}
.cart-empty{max-width:680px;margin:28px auto;padding:clamp(28px,5vw,54px);border:1px solid #e3eaf4;border-radius:22px;background:linear-gradient(145deg,#fff,#f7faff);box-shadow:0 16px 40px rgba(25,42,70,.06)}
.cart-empty h2{color:#1d2b43;font-size:1.45rem;font-weight:900}
.cart-empty .primary-link{margin-top:12px;padding:12px 20px;border-radius:10px;background:linear-gradient(105deg,#2563eb,#0f8b91)!important}
.checkout-panel,.order-panel{
 position:relative;overflow:hidden;margin:clamp(22px,4vw,44px) auto;padding:clamp(22px,4vw,38px);
 border:1px solid #e2eaf4!important;border-radius:22px!important;
 background:linear-gradient(145deg,#fff 0%,#fbfdff 70%,#f3f8ff 100%)!important;
 box-shadow:0 18px 48px rgba(25,42,70,.075),inset 0 1px 0 #fff;
}
.checkout-panel::before,.order-panel::before{content:"";position:absolute;top:-150px;right:-130px;width:330px;height:330px;border-radius:50%;background:radial-gradient(circle,rgba(191,219,254,.28),rgba(191,219,254,0) 70%);pointer-events:none}
.checkout-panel>* ,.order-panel>*{position:relative;z-index:1}
.checkout-panel{max-width:760px}
.order-panel{max-width:860px}
.checkout-panel>.eyebrow,.order-panel>.eyebrow{margin:0 0 9px;color:#2563eb!important;font-size:.72rem;font-weight:900;letter-spacing:.16em}
.checkout-panel h1,.order-panel h1{margin:0 0 16px;color:#172033;font-size:clamp(1.8rem,4vw,2.55rem);font-weight:950;letter-spacing:-.045em;line-height:1.12;overflow-wrap:anywhere}
.checkout-panel>p:not(.eyebrow),.order-panel>p{color:#64748b;line-height:1.75}
.checkout-panel>p strong{color:#27364d}
.checkout-panel form{margin:24px 0 16px;padding:18px;border:1px solid #e5ebf3;border-radius:14px;background:#f8faff}
.checkout-panel form button{width:100%;min-height:52px;border-radius:11px;background:linear-gradient(105deg,#2563eb,#0f8b91)!important;font-size:.96rem;font-weight:900;box-shadow:0 8px 18px rgba(37,99,235,.17)}
.checkout-panel>a:not(.primary-link){display:inline-flex;align-items:center;gap:8px;color:#526782;font-size:.9rem;font-weight:750;text-decoration:none}
.checkout-panel>a:not(.primary-link):hover{color:#2563eb}
.order-panel>h2{margin:24px 0 12px;padding-bottom:10px;border-bottom:1px solid #e7edf5;color:#23324a;font-size:1.08rem;font-weight:900;letter-spacing:-.02em}
.order-panel>p strong{color:#27364d}
.order-panel>p:has(+h2){padding:12px 14px;border:1px solid #e5edf7;border-radius:11px;background:#f7faff}
.order-panel>.admin-form{max-width:none;margin:18px 0;padding:20px;border:1px solid #e3eaf4!important;border-radius:15px!important;background:#f9fbff!important;box-shadow:none}
.order-panel>.admin-form label{display:grid;gap:7px;margin:13px 0;color:#53647c!important;font-size:.88rem;font-weight:750}
.order-panel>.admin-form input,.order-panel>.admin-form select,.order-panel>.admin-form textarea{
 width:100%;min-height:46px;margin:0;padding:11px 12px;border:1px solid #d9e3ef!important;border-radius:9px;background:#fff!important;color:#172033!important;font:inherit
}
.order-panel>.admin-form textarea{min-height:110px;resize:vertical}
.order-panel>.admin-form button{min-height:48px;margin-top:8px;padding:11px 18px;border-radius:10px;background:linear-gradient(105deg,#2563eb,#0f8b91)!important;font-weight:850}
.order-panel>.admin-form[onsubmit] button{background:#fff1f2!important;color:#be3c4b!important;border:1px solid #fecdd3}
.order-panel>.alert{margin:18px 0;padding:14px 16px;border-radius:12px;line-height:1.6}
.order-panel>.delivered-code{margin:10px 0;padding:15px 17px;border:1px solid #bde9dc;border-radius:11px;background:linear-gradient(110deg,#effcf7,#f1f8ff)!important;color:#075e50!important;font-size:.98rem;font-weight:800;letter-spacing:.035em;box-shadow:inset 0 1px 0 #fff;user-select:all}
.order-panel>.primary-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;margin-top:20px;padding:11px 18px;border-radius:10px;background:linear-gradient(105deg,#2563eb,#0f8b91)!important;font-weight:850}
@media(max-width:760px){
 .cart-line{grid-template-columns:76px minmax(0,1fr);gap:12px;padding:13px;border-radius:15px!important}
 .cart-thumb{width:76px;height:76px}
 .cart-line>form{grid-column:1/-1;justify-self:end}
 .cart-summary{position:static;padding:17px;border-radius:16px!important}
 .cart-summary>.primary-link{min-height:48px}
 .checkout-panel,.order-panel{width:100%;max-width:none;margin:18px auto;padding:clamp(16px,4vw,24px);border-radius:17px!important}
 .order-panel>.admin-form{padding:15px}
 .order-panel>.admin-form button{width:100%}
}
@media(max-width:420px){
 .cart-line{grid-template-columns:62px minmax(0,1fr);gap:10px;padding:11px}
 .cart-thumb{width:62px;height:62px}
 .cart-summary{padding:14px}
 .checkout-panel,.order-panel{padding:15px}
 .order-panel>.delivered-code{padding:12px;font-size:.86rem}
}
@media(prefers-reduced-motion:reduce){
 .cart-line,.cart-line>form .link-danger,.cart-summary>.primary-link{transition:none!important}
}

/* Premium customer account dashboard. */
.account-page{gap:22px;min-width:0}
.account-heading{
 position:relative;overflow:hidden;align-items:center;padding:clamp(22px,4vw,34px);
 border:1px solid #dfe8f4;border-radius:21px;
 background:radial-gradient(circle at 92% 5%,rgba(191,219,254,.42),transparent 34%),linear-gradient(125deg,#fff 0%,#f8fbff 68%,#eff7ff 100%);
 box-shadow:0 14px 36px rgba(25,42,70,.065),inset 0 1px 0 #fff;
}
.account-heading>div{position:relative;z-index:1;min-width:0}
.account-heading .eyebrow{margin:0 0 8px;color:#2563eb!important;font-size:.72rem;font-weight:900;letter-spacing:.16em}
.account-heading h1{color:#172033;font-size:clamp(1.7rem,4vw,2.45rem);font-weight:950;letter-spacing:-.045em;line-height:1.13;overflow-wrap:anywhere}
.account-heading p:not(.eyebrow){margin:9px 0 0;color:#64748b!important;line-height:1.65}
.account-heading>.primary-link{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 17px;border-radius:10px;background:linear-gradient(105deg,#2563eb,#0f8b91)!important;box-shadow:0 8px 18px rgba(37,99,235,.16);font-weight:850;transition:transform .2s,box-shadow .2s}
.account-heading>.primary-link:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(37,99,235,.22)}
.account-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.account-stats article{
 position:relative;overflow:hidden;min-width:0;padding:19px 20px 20px;
 border:1px solid #e2eaf4!important;border-radius:16px!important;
 background:linear-gradient(145deg,#fff,#f8fbff)!important;
 box-shadow:0 8px 24px rgba(25,42,70,.045),inset 0 1px 0 #fff;
}
.account-stats article::after{content:"";position:absolute;right:-24px;top:-30px;width:100px;height:100px;border-radius:50%;background:radial-gradient(circle,rgba(191,219,254,.3),transparent 70%);pointer-events:none}
.account-stats span{position:relative;z-index:1;color:#718096!important;font-size:.82rem;font-weight:750}
.account-stats strong{position:relative;z-index:1;margin-top:8px;color:#1e2d45;font-size:clamp(1.35rem,3vw,1.8rem);font-weight:950;letter-spacing:-.035em;overflow-wrap:anywhere}
.account-grid{gap:18px;align-items:stretch}
.account-card{
 min-width:0;padding:clamp(17px,3vw,23px);
 border:1px solid #e2eaf4!important;border-radius:17px!important;
 background:linear-gradient(150deg,#fff 0%,#fbfdff 100%)!important;
 box-shadow:0 9px 26px rgba(25,42,70,.05),inset 0 1px 0 #fff;
}
.account-card h2{margin:0 0 17px;color:#22324a;font-size:1.08rem;font-weight:900;letter-spacing:-.02em}
.account-form{gap:13px}
.account-form label{gap:7px;color:#5f6f86!important;font-size:.85rem;font-weight:750}
.account-form input,.account-form textarea{
 min-width:0;min-height:46px;margin:0;padding:11px 12px;
 border:1px solid #dce5f0!important;border-radius:10px;
 background:#fff!important;color:#172033!important;font:inherit;
 box-shadow:inset 0 1px 2px rgba(25,42,70,.025);
 transition:border-color .18s,box-shadow .18s;
}
.account-form textarea{min-height:116px;resize:vertical}
.account-form input::placeholder,.account-form textarea::placeholder{color:#9aa8ba}
.account-form input:focus,.account-form textarea:focus{outline:none;border-color:#7aa7f7!important;box-shadow:0 0 0 4px rgba(59,130,246,.11)}
.account-form button{
 width:100%;min-height:47px;margin:4px 0 0;padding:11px 16px;
 border:0;border-radius:10px;background:linear-gradient(105deg,#2563eb,#0f8b91)!important;
 color:#fff;font-size:.9rem;font-weight:900;box-shadow:0 7px 16px rgba(37,99,235,.14);
 transition:transform .18s,box-shadow .18s;
}
.account-form button:hover{transform:translateY(-1px);box-shadow:0 10px 20px rgba(37,99,235,.2)}
.account-section{padding:clamp(17px,3vw,23px)}
.account-section-head{align-items:flex-start;margin-bottom:8px}
.account-section-head h2{margin:0;color:#22324a;font-size:1.12rem;font-weight:900}
.account-section-head p{margin:6px 0 0;color:#718096!important;font-size:.87rem}
.account-section .responsive-table{margin-top:14px;border:1px solid #e6edf5;border-radius:13px;background:#fff}
.account-section .responsive-table table{min-width:720px}
.account-section .responsive-table th{padding:13px 14px;background:#f7faff;color:#718096!important;font-size:.75rem;font-weight:850;letter-spacing:.045em;text-transform:uppercase}
.account-section .responsive-table td{padding:14px;border-bottom:1px solid #edf1f6;color:#52627a;font-size:.86rem;vertical-align:middle}
.account-section .responsive-table tbody tr:last-child td{border-bottom:0}
.account-section .responsive-table tbody tr:hover{background:#f8fbff}
.account-section .responsive-table td strong{color:#26364e;font-weight:850}
.account-section .responsive-table td a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 10px;border:1px solid #dbeafe;border-radius:8px;background:#eff6ff;color:#2458b8!important;font-size:.78rem;font-weight:850;text-decoration:none;white-space:nowrap}
.account-section .responsive-table td a:hover{background:#e3efff;border-color:#bfd7ff}
.account-status{display:inline-flex;align-items:center;max-width:100%;padding:5px 9px;border:1px solid #e1e9f3;border-radius:999px;background:#f4f7fb!important;color:#53657d!important;font-size:.73rem;font-weight:850;line-height:1.3;overflow-wrap:anywhere}
.ticket-item{padding:16px 0;border-bottom:1px solid #edf1f6}
.ticket-item:first-of-type{padding-top:4px}
.ticket-item:last-of-type{border-bottom:0;padding-bottom:0}
.ticket-top{align-items:flex-start;gap:12px}
.ticket-top strong{min-width:0;color:#26364e;font-size:.91rem;font-weight:850;overflow-wrap:anywhere}
.ticket-item>p{margin:9px 0;color:#65758b!important;font-size:.87rem;line-height:1.7}
.ticket-item>small{display:block;margin-top:10px;color:#91a0b3!important;font-size:.75rem}
.ticket-reply{margin:12px 0;padding:13px 14px;border:1px solid #dcebe8;border-radius:11px;background:linear-gradient(120deg,#f0fbf8,#f6faff)!important;color:#23594f}
.ticket-reply b{font-size:.8rem;color:#087f73}
.ticket-reply p{margin:6px 0 0;color:#526f6b!important;font-size:.86rem;line-height:1.65}
.account-page>.account-grid:last-child .account-card{height:100%}
.account-page .muted{color:#8190a5!important}
@media(max-width:760px){
 .account-heading{align-items:flex-start;flex-direction:column;gap:17px;padding:21px}
 .account-heading>.primary-link{width:100%}
 .account-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
 .account-stats article{padding:14px 12px}
 .account-stats span{font-size:.73rem;line-height:1.35}
 .account-stats strong{font-size:1.35rem}
 .account-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .account-section-head{flex-direction:column}
 .account-section .responsive-table{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .ticket-top{align-items:flex-start}
}
@media(max-width:420px){
 .account-page{gap:15px}
 .account-heading{padding:17px;border-radius:16px}
 .account-stats{grid-template-columns:1fr;gap:9px}
 .account-stats article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px}
 .account-stats strong{margin:0;font-size:1.25rem}
 .account-card{padding:15px;border-radius:14px!important}
 .account-form input,.account-form textarea{font-size:16px}
 .ticket-top{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
 .account-heading>.primary-link,.account-form input,.account-form textarea,.account-form button{transition:none!important}
}

/* Premium marketplace seller workspace. */
.seller-shortcuts{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
 min-width:0;padding:17px;border:1px solid #e2eaf4;border-radius:15px;
 background:linear-gradient(145deg,#fff,#f6faff);
 box-shadow:0 8px 22px rgba(25,42,70,.045),inset 0 1px 0 #fff;
}
.seller-shortcuts a{
 display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 13px;
 border:1px solid #e2eaf4;border-radius:10px;background:#fff;color:#42536d!important;
 font-size:.84rem;font-weight:850;text-align:center;text-decoration:none;
 transition:transform .18s,border-color .18s,background .18s,box-shadow .18s;
}
.seller-shortcuts a.primary-link{
 border-color:transparent;background:linear-gradient(105deg,#2563eb,#0f8b91)!important;
 color:#fff!important;box-shadow:0 6px 14px rgba(37,99,235,.13);
}
.seller-shortcuts a:hover{transform:translateY(-2px);border-color:#bfd3f1;background:#f4f8ff}
.seller-shortcuts a.primary-link:hover{background:linear-gradient(105deg,#1d4ed8,#0b777e)!important;box-shadow:0 10px 20px rgba(37,99,235,.2)}
.account-page>.seller-product-form,.account-page>.seller-apply-form{
 width:100%;max-width:none;padding:clamp(18px,3vw,26px);
 border:1px solid #e2eaf4!important;border-radius:18px!important;
 background:linear-gradient(150deg,#fff,#f8fbff)!important;
 box-shadow:0 10px 28px rgba(25,42,70,.055),inset 0 1px 0 #fff;
}
.seller-product-form h2,.seller-apply-form h2{margin:0 0 18px;color:#22324a;font-size:1.15rem;font-weight:900;letter-spacing:-.025em}
.seller-product-form label,.seller-apply-form label{
 display:grid;gap:7px;margin:0 0 14px;color:#5e6e84!important;font-size:.85rem;font-weight:750;
}
.seller-product-form input,.seller-product-form select,.seller-product-form textarea,
.seller-apply-form input{
 width:100%;min-width:0;min-height:45px;margin:0;padding:11px 12px;
 border:1px solid #dce5f0!important;border-radius:9px;background:#fff!important;
 color:#172033!important;font:inherit;transition:border-color .18s,box-shadow .18s;
}
.seller-product-form textarea{min-height:96px;resize:vertical}
.seller-product-form input:focus,.seller-product-form select:focus,.seller-product-form textarea:focus,.seller-apply-form input:focus{
 outline:none;border-color:#7aa7f7!important;box-shadow:0 0 0 4px rgba(59,130,246,.11)
}
.seller-product-form .form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px}
.seller-product-form .form-actions button,.seller-product-form button,.seller-apply-form button{
 min-height:45px;padding:10px 17px;border:0;border-radius:10px;
 background:linear-gradient(105deg,#2563eb,#0f8b91)!important;color:#fff;
 font-size:.87rem;font-weight:900;box-shadow:0 7px 16px rgba(37,99,235,.14);
}
.seller-product-form .form-actions a{display:inline-flex;align-items:center;min-height:42px;padding:9px 13px;border:1px solid #e2eaf4;border-radius:9px;background:#fff;color:#526782!important;font-weight:750;text-decoration:none}
.account-page>.account-card h2{display:flex;align-items:center;gap:10px}
.account-page>.account-card h2::after{content:"";height:1px;flex:1;background:linear-gradient(90deg,#e5edf6,transparent)}
.account-page>.account-card .responsive-table{
 max-width:100%;overflow-x:auto;border:1px solid #e6edf5;border-radius:12px;background:#fff;
 overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
}
.account-page>.account-card .responsive-table table{min-width:620px}
.account-page>.account-card .responsive-table th{
 padding:13px 14px;background:#f6f9fd;color:#718096!important;
 font-size:.74rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;
}
.account-page>.account-card .responsive-table td{padding:13px 14px;border-bottom:1px solid #edf1f6;color:#52627a;font-size:.85rem;vertical-align:middle}
.account-page>.account-card .responsive-table tbody tr:last-child td{border-bottom:0}
.account-page>.account-card .responsive-table tbody tr:hover{background:#f7faff}
.account-page>.account-card .responsive-table td a{
 display:inline-flex;align-items:center;justify-content:center;min-height:33px;padding:7px 10px;
 border:1px solid #dbeafe;border-radius:8px;background:#eff6ff;color:#2458b8!important;
 font-size:.78rem;font-weight:850;text-decoration:none;white-space:nowrap;
}
.account-page>.account-card .responsive-table td a:hover{background:#e3efff;border-color:#bfd7ff}
.account-page>.account-card .account-form{padding:16px;border:1px solid #e8eef6;border-radius:12px;background:#f9fbff}
.account-page>.account-card .account-form label{display:grid;gap:7px;color:#5f6f86!important;font-size:.83rem;font-weight:750}
.account-page>.account-card .account-form input,.account-page>.account-card .account-form select,.account-page>.account-card .account-form textarea{
 min-width:0;min-height:43px;padding:10px 11px;border:1px solid #dce5f0!important;border-radius:9px;background:#fff!important;color:#172033!important;font:inherit;
}
.account-page>.account-card .account-form textarea{min-height:105px;resize:vertical}
.account-page>.account-card .account-form button{min-height:43px;border-radius:9px;background:linear-gradient(105deg,#2563eb,#0f8b91)!important;font-weight:850}
.account-page>.account-card .account-form[style] button{width:100%}
.account-page>.account-card .ticket-item{padding:15px 0;border-bottom:1px solid #edf1f6}
.account-page>.account-card .ticket-item:last-child{border-bottom:0}
.seller-application-state{
 position:relative;overflow:hidden;border-color:#cfe7e1!important;
 background:linear-gradient(135deg,#f0fbf7,#fff 70%)!important;
}
.seller-application-state::before{content:"";position:absolute;right:-45px;top:-55px;width:160px;height:160px;border-radius:50%;background:radial-gradient(circle,rgba(16,185,129,.13),transparent 70%);pointer-events:none}
.seller-application-state>*{position:relative;z-index:1}
.seller-application-state p{color:#617568!important;line-height:1.7}
.seller-application-state strong{color:#087f73}
.seller-application-state>.primary-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border-radius:9px;background:linear-gradient(105deg,#2563eb,#0f8b91)!important;font-weight:850}
.seller-finance-note{padding:12px 14px;border:1px solid #dbeafe;border-radius:10px;background:#f4f8ff;color:#526782}
@media(max-width:760px){
 .seller-shortcuts{grid-template-columns:1fr;padding:13px}
 .seller-shortcuts a{width:100%}
 .account-page>.seller-product-form,.account-page>.seller-apply-form{padding:16px;border-radius:15px!important}
 .seller-product-form .form-actions{align-items:stretch;flex-direction:column}
 .seller-product-form .form-actions>*{width:100%;justify-content:center;text-align:center}
 .account-page>.account-card .account-form{padding:12px}
}
@media(max-width:420px){
 .seller-shortcuts{gap:8px}
 .seller-shortcuts a{min-height:43px;font-size:.82rem}
 .seller-product-form input,.seller-product-form select,.seller-product-form textarea,.seller-apply-form input{font-size:16px}
 .account-page>.account-card{padding:15px}
}
@media(prefers-reduced-motion:reduce){
 .seller-shortcuts a,.seller-product-form input,.seller-product-form select,.seller-product-form textarea,.seller-apply-form input{transition:none!important}
}



/* Admin panel: preserve drawer stacking and readable contrast in the light theme. */
@media(max-width:760px){
 /* Closed navigation must not occupy a row in the admin layout. */
 .admin-side:not(.is-open){display:none!important;position:fixed!important;}
 .admin-side.is-open{
  position:fixed!important;z-index:120!important;top:62px!important;bottom:0!important;left:0!important;
  display:grid!important;width:min(82vw,310px)!important;max-height:none!important;overflow-y:auto!important;
  background:#fff!important;color:#172033!important;transform:translateX(0)!important;
  visibility:visible!important;pointer-events:auto!important;
 }
 .admin-nav-backdrop.is-visible{
  position:fixed!important;z-index:110!important;inset:62px 0 0!important;display:block!important;pointer-events:auto!important;
 }
 .admin-topbar{position:sticky;z-index:130}
 .admin-menu-toggle{position:relative;z-index:131}
}
.admin-body,.admin-content{color:#172033!important}
.admin-content .page-head,.admin-content .page-head p,
.admin-content .admin-panel,.admin-content .admin-panel p,.admin-content .admin-panel li,.admin-content .admin-panel label,
.admin-content .admin-form,.admin-content .admin-form label,.admin-content .admin-form p,.admin-content .admin-form small,
.admin-content .muted,.admin-content .panel-heading,.admin-content .panel-heading p,
.admin-content .report-filter,.admin-content .report-filter label,
.admin-content .ticket-admin-card,.admin-content .ticket-admin-card p,
.admin-content .seller-admin-card,.admin-content .seller-admin-card p{color:#26364e!important}
.admin-content .page-head h1,.admin-content .admin-panel h1,.admin-content .admin-panel h2,.admin-content .admin-panel h3,
.admin-content .admin-form h1,.admin-content .admin-form h2,.admin-content .admin-form h3,
.admin-content .stat-card strong{color:#172033!important}
.admin-content .admin-form input,.admin-content .admin-form select,.admin-content .admin-form textarea,
.admin-content .ticket-admin-form select,.admin-content .ticket-admin-form textarea{
 background:#fff!important;color:#172033!important;border-color:#d5deea!important
}
.admin-content .admin-form input::placeholder,.admin-content .admin-form textarea::placeholder{color:#8492a6!important}
.admin-content .table-wrap,.admin-content table{background:#fff!important;color:#26364e!important}
.admin-content th{background:#f8fafc!important;color:#64748b!important}
.admin-content td{color:#334155!important}
.admin-content .slider-manager-help{color:#536176!important}
.admin-content .slider-manager-card{
 background:linear-gradient(150deg,#fff,#f8fbff)!important;border-color:#e2eaf4!important;color:#26364e!important
}
.admin-content .slider-manager-card-head{border-color:#e2eaf4!important}
.admin-content .slider-manager-card-head h2{color:#172033!important}
.admin-content .slider-manager-card-head .slider-toggle,.admin-content .slider-delete,
.admin-content .slider-manager-grid label{color:#52627a!important}
.admin-content .slider-manager-grid input,.admin-content .slider-manager-grid textarea,.admin-content .slider-manager-grid select{
 background:#fff!important;color:#172033!important;border-color:#d5deea!important
}
.admin-content .slider-manager-grid small{color:#718096!important}
.admin-content .slider-manager-preview{background:#eaf0f7!important}
.admin-content .slider-manager-preview small{background:#172033e8!important;color:#fff!important}
.admin-content .slider-manager-form>.form-actions{
 background:rgba(255,255,255,.96)!important;border-color:#e2eaf4!important;box-shadow:0 8px 24px rgba(20,35,65,.08)
}
.admin-content .slider-manager-form>.form-actions a{color:#2563eb!important}
.admin-content .slider-drag-handle,.admin-content .slider-move-buttons button{
 background:#eef4ff!important;color:#334155!important;border-color:#d5deea!important
}
.admin-content .slider-delete{border-color:#e8edf4!important}
.admin-content .status,.admin-content .badge{color:#334155}


/* Keep the product image caption horizontal and readable on narrow screens. */
.admin-page-products .admin-image-preview{position:relative;display:block;min-width:0}
.admin-page-products .admin-image-preview>small{
 position:absolute;left:8px;bottom:6px;display:inline-block;width:max-content;
 max-width:calc(100% - 16px);padding:4px 8px;white-space:nowrap;
 word-break:normal;overflow-wrap:normal;writing-mode:horizontal-tb;
 transform:none;line-height:1.35;text-orientation:mixed;z-index:2;
}
 
/* Product catalogue and editor: keep all controls inside the viewport. */
.admin-page-products .admin-content{min-width:0;max-width:100%;overflow-x:clip}
.admin-page-products .page-head{min-width:0;flex-wrap:wrap}
.admin-page-products .page-head>div{min-width:0}
.admin-page-products .admin-form{
 width:100%;max-width:none;min-width:0;box-sizing:border-box;
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:4px;
}
.admin-page-products .admin-form>label{min-width:0;overflow-wrap:anywhere}
.admin-page-products .admin-form>label:has(textarea),
.admin-page-products .admin-form>label:has(input[type="file"]),
.admin-page-products .admin-form>label:has(.admin-image-preview){grid-column:1/-1}
.admin-page-products .admin-form input,
.admin-page-products .admin-form select,
.admin-page-products .admin-form textarea{box-sizing:border-box;max-width:100%;min-width:0}
.admin-page-products .admin-image-preview{width:min(100%,360px);height:auto;min-height:120px;aspect-ratio:16/9}
.admin-page-products .admin-image-preview img{width:100%;height:100%;max-height:240px;object-fit:contain}
.admin-page-products .admin-form>.form-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.admin-page-products .table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.admin-page-products .table-wrap table{width:100%;min-width:620px}
.admin-page-products .actions{flex-wrap:wrap;min-width:110px}
.admin-page-products .actions form{display:inline-flex;align-items:center}
@media(max-width:760px){
 .admin-page-products .page-head{gap:12px}
 .admin-page-products .page-head>.primary-link{max-width:100%;white-space:normal;text-align:center}
 .admin-page-products .admin-form{grid-template-columns:minmax(0,1fr);padding:14px;gap:0}
 .admin-page-products .admin-form>label:has(textarea),
 .admin-page-products .admin-form>label:has(input[type="file"]),
 .admin-page-products .admin-form>label:has(.admin-image-preview){grid-column:1}
 .admin-page-products .admin-form>.form-actions{position:static;grid-column:1;display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
 .admin-page-products .admin-form>.form-actions button,
 .admin-page-products .admin-form>.form-actions a{width:100%;max-width:100%;min-width:0;box-sizing:border-box;text-align:center}
 .admin-page-products .table-wrap{margin-right:0}
 .admin-page-products .table-wrap table{min-width:600px}
 .admin-page-products .admin-image-preview{width:100%;max-width:100%}
}

/* Product editor: keep native upload controls and image removal usable on phones. */
.admin-page-products .admin-form>label>input[type="file"]{
 display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;
 overflow:hidden;white-space:normal;line-height:1.5;
}
.admin-page-products .admin-form>label>input[type="file"]::file-selector-button{
 max-width:100%;min-height:44px;margin:0 12px 8px 0;
 padding:10px 14px;white-space:normal;cursor:pointer;
}
.admin-page-products .admin-form .image-remove{
 display:flex;align-items:center;gap:10px;min-width:0;
}
.admin-page-products .admin-form .image-remove input[type="checkbox"]{
 flex:0 0 20px;width:20px;height:20px;min-width:20px;margin:0;
}
.admin-page-products .admin-form .image-remove span{
 min-width:0;overflow-wrap:normal;word-break:normal;line-height:1.5;
}
@media(max-width:760px){
 .admin-page-products .admin-form>label>input[type="file"]::file-selector-button{
  display:block;width:100%;margin:0 0 8px;
 }
 .admin-page-products .admin-form .image-remove{padding:8px 0;min-height:44px}
}

/* Product catalogue: use real stacked cards on narrow screens instead of a clipped desktop table. */
.admin-page-products .products-table-wrap{min-width:0;width:100%;max-width:100%}
.admin-page-products .products-table{width:100%;min-width:0}
.admin-page-products .products-table td{vertical-align:middle}
.admin-page-products .products-table .actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.admin-page-products .products-table .actions a{
 display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;
 border:1px solid #cfe0ff;border-radius:8px;background:#eff6ff;color:#2458b8!important;
 font-size:.82rem;font-weight:800;text-decoration:none;white-space:nowrap
}
.admin-page-products .products-table .actions form{display:inline-flex;margin:0}
.admin-page-products .products-table .actions .link-danger{
 display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;
 border:1px solid #f3cbd1;border-radius:8px;background:#fff1f2!important;color:#be123c!important;
 font-size:.82rem;font-weight:800;white-space:nowrap
}
.admin-page-products .admin-form{max-width:none}
.admin-page-products .admin-form>label{display:grid;align-content:start;gap:7px;margin:8px 0 14px}
.admin-page-products .admin-form>label>input,
.admin-page-products .admin-form>label>select,
.admin-page-products .admin-form>label>textarea{margin-top:0;width:100%}
.admin-page-products .admin-form>label>small{display:block;line-height:1.5}
.admin-page-products .admin-form .image-remove{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.admin-page-products .admin-form .image-remove input{width:20px;min-height:20px;margin:0}
@media(max-width:760px){
 .admin-page-products .products-table-wrap{
  display:block;overflow:visible;border:0;border-radius:0;margin:12px 0 0;
 }
 .admin-page-products .products-table{
  display:block;width:100%!important;min-width:0!important;max-width:100%;
  border:0;border-collapse:separate;border-spacing:0;
 }
 .admin-page-products .products-table thead{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
 }
 .admin-page-products .products-table tbody{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .admin-page-products .products-table tbody tr{
  display:grid;grid-template-columns:minmax(0,1fr);min-width:0;
  padding:7px 14px;border:1px solid #e1e8f2;border-radius:13px;
  background:#fff;box-shadow:0 5px 16px rgba(25,42,70,.045);
 }
 .admin-page-products .products-table tbody td{
  display:grid;grid-template-columns:minmax(68px,28%) minmax(0,1fr);
  align-items:start;gap:10px;min-width:0;padding:10px 0;
  border:0;border-bottom:1px solid #edf1f6;text-align:left;
  overflow-wrap:anywhere;white-space:normal;
 }
 .admin-page-products .products-table tbody td:last-child{border-bottom:0}
 .admin-page-products .products-table tbody td::before{
  content:attr(data-label);color:#718096;font-size:.75rem;font-weight:850;line-height:1.5;
 }
 .admin-page-products .products-table tbody td strong{min-width:0;overflow-wrap:anywhere}
 .admin-page-products .products-table tbody td small{overflow-wrap:anywhere}
 .admin-page-products .products-table tbody td.actions{
  display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;
 }
 .admin-page-products .products-table tbody td.actions .actions,
 .admin-page-products .products-table tbody td.actions a,
 .admin-page-products .products-table tbody td.actions form{min-width:0;width:100%}
 .admin-page-products .products-table tbody td.actions a,
 .admin-page-products .products-table tbody td.actions .link-danger{min-height:42px;width:100%}
 .admin-page-products .products-table tbody td.actions form{display:inline-flex}
 .admin-page-products .admin-form{grid-template-columns:minmax(0,1fr);padding:14px;gap:0}
 .admin-page-products .admin-form>label{grid-column:1;min-width:0}
 .admin-page-products .admin-form>label:has(textarea),
 .admin-page-products .admin-form>label:has(input[type="file"]),
 .admin-page-products .admin-form>label:has(.admin-image-preview){grid-column:1}
 .admin-page-products .admin-form>.form-actions{grid-column:1;display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
 .admin-page-products .admin-form>.form-actions button,
 .admin-page-products .admin-form>.form-actions a{width:100%;min-width:0;max-width:100%;min-height:46px;box-sizing:border-box}
 .admin-page-products .admin-image-preview{width:100%;max-width:100%;height:auto;aspect-ratio:16/9}
 .admin-page-products .admin-image-preview img{max-height:220px;object-fit:contain}
}
@media(max-width:380px){
 .admin-page-products .products-table tbody tr{padding:6px 11px}
 .admin-page-products .products-table tbody td,
 .admin-page-products .products-table tbody td.actions{grid-template-columns:minmax(58px,25%) minmax(0,1fr);gap:8px}
 .admin-page-products .products-table .actions{align-items:stretch;flex-direction:column}
 .admin-page-products .products-table .actions a,
 .admin-page-products .products-table .actions form,
 .admin-page-products .products-table .actions .link-danger{width:100%}
 .admin-page-products .admin-content .page-head>.primary-link{width:100%}
}

/* Product create/edit: preserve readable fields on 320–480px screens. */
.admin-page-products .admin-form>label{
 max-width:100%;min-width:0;overflow-wrap:normal;word-break:normal;
}
.admin-page-products .admin-form>label>input,
.admin-page-products .admin-form>label>select,
.admin-page-products .admin-form>label>textarea{
 display:block;width:100%;min-width:0;max-width:100%;
 box-sizing:border-box;font-size:16px;
}
.admin-page-products .admin-form>label>textarea{
 resize:vertical;min-height:100px;overflow-wrap:break-word;
}
.admin-page-products .admin-form>label>small{
 min-width:0;max-width:100%;overflow-wrap:break-word;word-break:normal;
}
@media(max-width:480px){
 .admin-page-products .admin-form{
  width:100%;min-width:0;max-width:100%;
  padding:12px;grid-template-columns:minmax(0,1fr);
 }
 .admin-page-products .admin-form>label{
  width:100%;min-width:0;max-width:100%;grid-column:1;
 }
 .admin-page-products .admin-image-preview{
  width:100%;max-width:100%;min-width:0;
 }
 .admin-page-products .admin-form>.form-actions{
  min-width:0;grid-column:1;grid-template-columns:minmax(0,1fr);
 }
 .admin-page-products .admin-form>.form-actions button,
 .admin-page-products .admin-form>.form-actions a{
  min-width:0;max-width:100%;white-space:normal;overflow-wrap:break-word;
 }
}

/* Shared admin mobile overflow containment; preserve existing design. */
.admin-body .admin-shell,.admin-body .admin-content,.admin-body .admin-panel,.admin-body .page-head{min-width:0;max-width:100%}
.admin-body .admin-content .table-wrap{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.admin-body .admin-content .table-wrap table{max-width:none}
.admin-body .admin-content .admin-form,.admin-body .admin-content .ticket-admin-form{min-width:0;max-width:100%;box-sizing:border-box}
.admin-body .admin-content .admin-form :is(input,select,textarea),.admin-body .admin-content .ticket-admin-form :is(input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
.admin-body .admin-content .page-head>*,.admin-body .admin-content .form-actions>*{min-width:0}
@media(max-width:760px){
 .admin-body .admin-content .page-head{flex-wrap:wrap;align-items:flex-start;gap:12px}
 .admin-body .admin-content .page-head>div{min-width:0;max-width:100%}
 .admin-body .admin-content .page-head h1{overflow-wrap:break-word}
 .admin-body .admin-content .primary-link{max-width:100%;white-space:normal;text-align:center}
 .admin-body .admin-content .admin-form,.admin-body .admin-content .ticket-admin-form{width:100%;padding:14px}
 .admin-body .admin-content .admin-form :is(input,select,textarea),.admin-body .admin-content .ticket-admin-form :is(input,select,textarea){font-size:16px}
 .admin-body .admin-content .form-actions{flex-wrap:wrap;gap:10px}
 .admin-body .admin-content .form-actions :is(button,a){max-width:100%;white-space:normal}
 .admin-body .admin-content .actions{flex-wrap:wrap}
 .admin-body .admin-content .actions form{max-width:100%}
}

/* Admin phone/tablet acceptance: drawer follows the real topbar height. */
@media(max-width:760px){
 .admin-body .admin-side.is-open{
  top:var(--admin-drawer-top,62px)!important;
  max-height:calc(100dvh - var(--admin-drawer-top,62px))!important;
  overscroll-behavior-y:contain;touch-action:pan-y;
  -webkit-overflow-scrolling:touch;
 }
 .admin-body .admin-nav-backdrop.is-visible{
  inset:var(--admin-drawer-top,62px) 0 0!important;
 }
}

/* Homepage category directory: a single semantic link per card. */
.home-category-directory>header{margin-bottom:22px}
.home-category-directory>header h2{margin:6px 0}
.home-category-directory>header p{color:var(--muted);margin:0}
.home-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-category-tile{min-width:0;display:flex}
.home-category-card,.home-category-card:visited{
 --category-ink:#1d4ed8;--category-soft:#eaf1ff;
 position:relative;isolation:isolate;overflow:hidden;display:flex;flex:1;flex-direction:column;align-items:flex-start;
 min-width:0;min-height:230px;padding:24px;border:1px solid var(--line);border-radius:18px;
 background:linear-gradient(145deg,var(--panel) 55%,var(--category-soft));color:var(--text);text-decoration:none;
 box-shadow:0 5px 20px rgba(20,35,65,.055);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease
}
.home-category-card--teal,.home-category-card--teal:visited{--category-ink:#0f766e;--category-soft:#e3f7f2}
.home-category-card--violet,.home-category-card--violet:visited{--category-ink:#7c3aed;--category-soft:#f2ebff}
.home-category-card--indigo,.home-category-card--indigo:visited{--category-ink:#4338ca;--category-soft:#eceeff}
.home-category-card--amber,.home-category-card--amber:visited{--category-ink:#92400e;--category-soft:#fff3dd}
.home-category-card:hover{transform:translateY(-4px);border-color:var(--category-ink);box-shadow:0 14px 32px rgba(20,35,65,.12);color:var(--text);text-decoration:none}
.home-category-card:focus-visible{outline:3px solid var(--category-ink);outline-offset:4px}
.home-category-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:var(--category-soft);color:var(--category-ink);margin-bottom:18px}
.home-category-icon svg{width:30px;height:30px}
.home-category-card h3{font-size:1.2rem;line-height:1.35;margin:0 0 8px;color:var(--text);overflow-wrap:anywhere}
.home-category-card p{font-size:.92rem;line-height:1.65;color:var(--muted);margin:0 0 22px;overflow-wrap:anywhere}
.home-category-action{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:auto;padding-top:14px;border-top:1px solid var(--line);font-size:.85rem;font-weight:700;color:var(--category-ink)}
.home-category-arrow{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--category-soft);transition:background .2s,color .2s}
.home-category-arrow svg{width:17px;height:17px}
.home-category-card:hover .home-category-arrow{background:var(--category-ink);color:white}
@media(max-width:900px){.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.home-category-grid{grid-template-columns:1fr;gap:12px}.home-category-card{min-height:0;padding:20px}}
@media(prefers-reduced-motion:reduce){.home-category-card,.home-category-arrow{transition:none}.home-category-card:hover{transform:none}}

/* Corporate About page, isolated from other informational pages. */
.about-page{display:grid;gap:48px;margin:24px 0 56px;line-height:1.75;color:var(--text)}
.about-page h1,.about-page h2,.about-page h3{line-height:1.2;margin:8px 0 14px}
.about-page h2{font-size:clamp(1.5rem,3vw,2.15rem)}
.about-page p{margin:0 0 16px;color:var(--muted)}
.about-kicker{font-size:.76rem;font-weight:800;letter-spacing:.12em;color:var(--accent2)}
.about-hero{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;gap:28px;padding:clamp(24px,5vw,64px);border-radius:24px;background:radial-gradient(ellipse at 90% 20%,#184b58,transparent 55%),linear-gradient(135deg,#0b1730,#132d48);color:#fff}
.about-hero h1{font-size:clamp(2.4rem,5vw,4rem);color:#fff}
.about-hero .about-kicker,.about-support .about-kicker{color:#6ce5d4}
.about-hero p,.about-support p{color:#d5e4f0}
.about-hero .about-lead{font-size:clamp(1.2rem,2.6vw,1.8rem);font-weight:700;color:#fff}
.about-art{color:#6ce5d4}.about-art svg{display:block;width:100%;max-width:360px;margin:auto}
.about-page .about-button,.about-page .about-button:visited{display:inline-flex;align-items:center;gap:12px;background:#a0f0df;color:#102c36;text-decoration:none;font-weight:800;border-radius:10px;padding:12px 20px}
.about-page .about-button:hover{background:#fff;color:#102c36}
.about-intro{max-width:900px}.about-original{border-left:3px solid var(--accent2);padding:12px 20px;background:var(--panel);border-radius:0 12px 12px 0}
.about-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;margin-top:22px}
.about-panel,.about-page .about-category{padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:var(--shadow-soft)}
.about-page .about-category,.about-page .about-category:visited{display:flex;flex-direction:column;color:var(--text);text-decoration:none;transition:transform .2s,border-color .2s}
.about-page .about-category:hover{transform:translateY(-3px);border-color:var(--accent2)}
.about-category>span:last-child{margin-top:auto;color:var(--accent2);font-weight:700;font-size:.9rem}
.about-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e3f7f2;color:#0f766e;font-weight:800;margin-bottom:14px}
.about-icon svg{width:24px;height:24px}.about-panel h3,.about-category h3{font-size:1.15rem}.about-panel p{margin:0}
.about-mission{display:grid;grid-template-columns:1fr 1fr;gap:20px}.about-mission>div{padding:32px;background:linear-gradient(135deg,#eaf1ff,#e9faf5);border:1px solid var(--line);border-radius:20px}
.about-support{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#10243e;color:white;border-radius:22px;padding:clamp(24px,4vw,44px)}
.about-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;flex-shrink:0}
.about-page .about-secondary,.about-page .about-secondary:visited{color:#d5e4f0;text-decoration:none;font-weight:600}.about-page .about-secondary:hover{text-decoration:underline}
.about-page a:focus-visible{outline:3px solid #14b8a6;outline-offset:4px}
@media(max-width:700px){.about-page{gap:32px}.about-hero,.about-mission{grid-template-columns:1fr}.about-art svg{max-width:220px}.about-support{flex-direction:column;align-items:flex-start}.about-mission>div{padding:24px}}
@media(prefers-reduced-motion:reduce){.about-page .about-category{transition:none}.about-page .about-category:hover{transform:none}}

.category-editorial{display:grid;gap:36px;margin:42px 0;line-height:1.7}.category-editorial h2{font-size:clamp(1.4rem,3vw,2rem);line-height:1.25;margin:8px 0 18px}.category-editorial p{color:var(--muted);margin:0}.category-editorial-kicker{color:var(--accent2);font-size:.75rem;letter-spacing:.12em;font-weight:800}.category-editorial-hero{display:grid;grid-template-columns:1fr 140px;align-items:center;gap:24px;padding:clamp(24px,4vw,44px);background:linear-gradient(125deg,#0b1730,#123b4b);color:white;border-radius:22px}.category-editorial-hero p{color:#d5e4f0;max-width:780px}.category-editorial-hero .category-editorial-kicker{color:#6ce5d4}.category-editorial-hero svg{width:100%;color:#6ce5d4}.category-editorial-hero a,.category-editorial-support a{display:inline-block;margin-top:16px;color:#102c36;background:#a0f0df;padding:10px 16px;border-radius:9px;text-decoration:none;font-weight:700}.category-editorial-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}.category-editorial-grid article,.category-editorial-link,.category-editorial-faq details{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:var(--shadow-soft)}.category-editorial-icon{display:grid;place-items:center;width:46px;height:46px;background:#e3f7f2;color:#0f766e;border-radius:13px;font-weight:800}.category-editorial-grid h3{font-size:1.1rem;margin:16px 0 10px}.category-editorial-link{display:grid;gap:12px;text-decoration:none;color:var(--text)}.category-editorial-link span{color:var(--accent2);font-weight:700}.category-editorial-link:hover{border-color:var(--accent2)}.category-editorial-faq{display:grid;gap:12px}.category-editorial-faq summary{cursor:pointer;font-weight:700}.category-editorial-faq p{margin-top:12px}.category-editorial-support{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px;border-radius:20px;background:#10243e;color:white}.category-editorial-support p{color:#d5e4f0}.category-editorial-support>div:last-child{display:flex;flex-direction:column;flex-shrink:0}.category-editorial a:focus-visible{outline:3px solid #14b8a6;outline-offset:4px}@media(max-width:650px){.category-editorial-hero{grid-template-columns:1fr}.category-editorial-hero svg{display:none}.category-editorial-support{flex-direction:column;align-items:flex-start}.category-editorial{gap:28px}}

/* Homepage FAQ: independent accordion cards in a balanced two-column grid. */
.home-faq-heading{margin-bottom:22px}.home-faq-heading h2{margin:6px 0}.home-faq-heading p{margin:0;color:var(--muted)}
.home-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.home-faq-item{min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-soft);overflow:hidden;transition:border-color .2s,box-shadow .2s}
.home-faq-item:hover,.home-faq-item[open]{border-color:#86c9c0;box-shadow:0 8px 24px rgba(15,118,110,.08)}
.home-faq-item summary{display:flex;align-items:center;gap:12px;min-height:78px;padding:16px 18px;cursor:pointer;list-style:none;font-weight:700;line-height:1.45;color:var(--text)}
.home-faq-item summary::-webkit-details-marker{display:none}.home-faq-item summary::marker{content:""}
.home-faq-number{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:11px;background:#e3f7f2;color:#0f766e;font-size:.82rem;font-weight:800}
.home-faq-question{flex:1;min-width:0;overflow-wrap:anywhere}
.home-faq-toggle{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:var(--surface-soft);color:var(--accent2)}
.home-faq-toggle svg{width:16px;height:16px}.home-faq-item[open] .home-faq-plus{display:none}.home-faq-item[open] .home-faq-toggle{background:#0f766e;color:#fff}
.home-faq-answer{padding:0 18px 20px 68px;color:var(--muted);font-size:.94rem;line-height:1.7}.home-faq-answer p{margin:0}
.home-faq-item summary:focus-visible{outline:3px solid #0f766e;outline-offset:-4px;border-radius:16px}
.home-faq-footer{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:20px;padding:16px 20px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);color:var(--muted);font-size:.9rem}
.home-faq-footer a,.home-faq-footer a:visited{color:var(--accent2);text-decoration:none;font-weight:700}.home-faq-footer a:hover{text-decoration:underline}
@media(max-width:700px){.home-faq-grid{grid-template-columns:1fr;gap:10px}.home-faq-item summary{min-height:68px;padding:12px}.home-faq-answer{padding:0 16px 16px 62px}}
@media(prefers-reduced-motion:reduce){.home-faq-item{transition:none}}

.contact-page{display:grid;gap:24px;margin:24px 0 48px}.contact-hero{padding:clamp(24px,5vw,56px);border-radius:24px;background:linear-gradient(120deg,#0b1730,#164454);color:#fff}.contact-hero span{color:#6ce5d4;font-size:.8rem;font-weight:800;letter-spacing:.12em}.contact-hero h1{font-size:clamp(2rem,5vw,3.5rem);margin:8px 0}.contact-hero p{color:#d5e4f0}.contact-grid{display:grid;grid-template-columns:1fr 1.7fr;gap:20px;align-items:start}.contact-info,.contact-form-panel,.contact-admin-detail{padding:clamp(20px,3vw,32px);background:var(--panel);border:1px solid var(--line);border-radius:18px}.contact-info p,.contact-note{color:var(--muted);line-height:1.7}.contact-form-panel form,.contact-form-panel label{display:grid;gap:8px}.contact-form-panel form{gap:18px}.contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.contact-form-panel input,.contact-form-panel textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--panel);color:var(--text);font:inherit}.contact-form-panel textarea{resize:vertical}.contact-form-panel label{font-weight:600}.contact-form-panel button{justify-self:start;background:#0f766e;color:white;border:0;border-radius:10px;padding:13px 24px;font-weight:700;cursor:pointer}.contact-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.contact-admin-detail{margin-bottom:20px}.contact-admin-detail form{margin-top:20px}@media(max-width:760px){.contact-grid,.contact-fields{grid-template-columns:1fr}}
