@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--green:#315b45;--ink:#202a24;--muted:#68736c;--cream:#f7f8f4;--line:#e7ebe5;--gold:#e8b85c}*{box-sizing:border-box}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:#fff}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.container{width:min(1160px,calc(100% - 40px));margin:auto}.topbar{background:var(--green);color:#fff;text-align:center;padding:9px 15px;font-size:12px;letter-spacing:.04em}.header{border-bottom:1px solid var(--line);background:#fff}.head-inner{height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font:800 23px Manrope;color:var(--green);letter-spacing:-.8px}.brand small{display:block;font:500 10px 'DM Sans';color:var(--muted);letter-spacing:2px;text-transform:uppercase}.nav{display:flex;gap:26px;color:#4f5b53;font-size:14px}.nav a:hover{color:var(--green)}.head-actions{display:flex;gap:10px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:var(--green);color:#fff;padding:13px 19px;font-weight:700;cursor:pointer;transition:.2s}.btn:hover{filter:brightness(1.1);transform:translateY(-1px)}.btn.light{background:#edf2ed;color:var(--green)}.hero{background:linear-gradient(110deg,#f2f5ef,#f8f4e9);padding:76px 0;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:45px}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--green);font-weight:700}.hero h1{font:800 clamp(38px,5vw,62px)/1.08 Manrope;letter-spacing:-2.5px;margin:18px 0}.hero p{color:var(--muted);font-size:17px;line-height:1.7;max-width:520px}.hero-art{min-height:330px;border-radius:28px;background:#e1e9dc;display:flex;align-items:center;justify-content:center;overflow:hidden}.hero-art img{width:100%;height:360px;object-fit:cover}.section{padding:64px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.section h2{font:800 30px Manrope;letter-spacing:-1px;margin:8px 0}.muted{color:var(--muted)}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.category-card{border:1px solid var(--line);border-radius:14px;padding:24px;background:#fff;min-height:130px;display:flex;flex-direction:column;justify-content:space-between}.category-card strong{font:700 17px Manrope}.category-card span{font-size:12px;color:var(--muted)}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;transition:.2s}.product:hover{transform:translateY(-3px);box-shadow:0 12px 30px #1c38200d}.product img{width:100%;height:205px;object-fit:cover;background:var(--cream)}.product-info{padding:16px}.product-info small{color:var(--muted)}.product-info h3{font:700 15px Manrope;min-height:40px;margin:8px 0}.price{font-weight:800;color:var(--green);font-size:18px}.product-info .btn{width:100%;margin-top:12px;padding:11px}.footer{background:#1f3026;color:#e8eee8;padding:48px 0 24px;margin-top:30px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer p,.footer a{color:#b8c5bb;font-size:13px;line-height:1.8}.footer h4{margin-top:0}.copyright{border-top:1px solid #ffffff20;margin-top:30px;padding-top:18px;color:#9eafa3;font-size:12px}.page{padding:42px 0 70px}.page h1{font:800 36px Manrope}.filters{display:flex;gap:10px;margin:22px 0}.filters input{flex:1}.field,label{display:block;font-size:13px;font-weight:600;margin:10px 0}.field input,.field textarea,.field select,label input,label textarea{width:100%;padding:12px;border:1px solid #dce3dc;border-radius:8px;margin-top:7px;background:#fff}.alert{background:#eaf4ea;padding:14px;border-radius:8px;margin:12px 0}.alert.error{background:#fff0ed;color:#9c3428}.empty{padding:50px 20px;text-align:center;background:var(--cream);border-radius:14px}.install-bg{background:#f2f5f0;min-height:100vh;padding:35px 15px}.install-card{background:#fff;max-width:540px;margin:30px auto;padding:35px;border-radius:18px;box-shadow:0 20px 60px #243d2812}.install-card h1{font:800 30px Manrope}.install-card h3{font:700 15px Manrope;margin-top:25px}.install-card label{margin:14px 0}.install-card input{display:block;width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;margin-top:7px}.install-card .btn{width:100%;margin-top:15px}
/* Admin */.admin-body{background:#f5f7f4;min-height:100vh}.admin-shell{display:grid;grid-template-columns:245px 1fr;min-height:100vh}.sidebar{background:#20362a;color:#eaf0eb;padding:25px 18px}.sidebar .brand{color:#fff;display:block;margin:0 8px 35px}.side-link{display:block;padding:11px 13px;border-radius:8px;color:#c6d2c9;font-size:13px;margin:3px 0}.side-link:hover,.side-link.active{background:#ffffff16;color:#fff}.admin-main{padding:30px;min-width:0}.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.admin-top h1{font:800 27px Manrope;margin:0}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stat{background:#fff;border:1px solid var(--line);padding:20px;border-radius:12px}.stat small{color:var(--muted)}.stat strong{display:block;font:800 26px Manrope;margin-top:9px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:13px 12px;border-bottom:1px solid var(--line);white-space:nowrap}th{color:var(--muted);font-weight:600}.actions{display:flex;gap:8px}.btn-sm{padding:7px 10px;font-size:12px;border-radius:6px}.btn-danger{background:#a33d35}.admin-form{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.admin-form .full{grid-column:1/-1}.admin-form .btn{margin-top:18px;justify-self:start}.status{padding:5px 8px;border-radius:20px;background:#eef4ed;font-size:11px}.mobile-toggle{display:none}
@media(max-width:850px){.nav{display:none}.hero-grid{grid-template-columns:1fr}.hero{padding:50px 0}.hero-art{min-height:230px}.hero-art img{height:260px}.products{grid-template-columns:repeat(2,1fr)}.category-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.admin-shell{grid-template-columns:1fr}.sidebar{padding:12px;display:flex;gap:4px;overflow:auto;align-items:center}.sidebar .brand{display:none}.side-link{white-space:nowrap;margin:0}.admin-main{padding:18px}.stats{grid-template-columns:repeat(2,1fr)}.admin-top h1{font-size:22px}}
@media(max-width:520px){.container{width:calc(100% - 28px)}.head-inner{height:68px}.brand{font-size:20px}.head-actions .btn{padding:10px 12px;font-size:12px}.hero h1{font-size:39px}.hero p{font-size:15px}.section{padding:45px 0}.section h2{font-size:25px}.products{gap:10px}.product img{height:150px}.product-info{padding:12px}.product-info h3{font-size:13px}.price{font-size:16px}.category-card{padding:17px;min-height:115px}.footer-grid{grid-template-columns:1fr}.admin-form{grid-template-columns:1fr}.admin-form .full{grid-column:auto}.admin-main{padding:14px}.stats{gap:9px}.stat{padding:14px}.stat strong{font-size:21px}.admin-top{align-items:flex-start;gap:10px;flex-direction:column}}

/* Mundo Patitas brand experience */
:root{--green:#07513f;--ink:#173b32;--muted:#64766e;--cream:#f4f6f1;--line:#e2e9e3;--gold:#e96a24}
.topbar{background:#064b3b;font-weight:600}.brand{color:#07513f}.hero{background:linear-gradient(115deg,#edf4ee 0%,#f8f3e9 100%)}.hero h1{color:#064b3b}.hero-art{background:#dcebe1;border:1px solid #d2e2d7}.hero-art img{object-fit:contain;padding:28px;mix-blend-mode:multiply}.hero-whatsapp{display:inline-block;margin-left:16px;color:#07513f;font-size:14px;font-weight:700}.brand-gallery{background:#f7f8f4}.gallery-controls{display:flex;gap:8px}.gallery-arrow{width:42px;height:42px;border-radius:50%;border:1px solid #cbd8ce;background:#fff;color:#07513f;font-size:25px;cursor:pointer}.gallery-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(240px,31%);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:2px 2px 18px}.gallery-slide{margin:0;position:relative;height:330px;border-radius:18px;overflow:hidden;background:#dce9df;scroll-snap-align:start}.gallery-slide img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.gallery-slide:hover img{transform:scale(1.04)}.gallery-slide figcaption{position:absolute;left:0;right:0;bottom:0;padding:36px 18px 18px;color:#fff;background:linear-gradient(transparent,#102c23d9);display:flex;flex-direction:column;gap:4px}.gallery-slide figcaption span{font-size:12px;color:#e7eee8}.instagram-section{background:#fff}.instagram-link{color:#07513f;font-weight:700;font-size:14px;white-space:nowrap}.instagram-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.instagram-tile{aspect-ratio:1/1;position:relative;overflow:hidden;border-radius:12px;background:#edf2ed}.instagram-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.instagram-tile:hover img{transform:scale(1.05)}.instagram-overlay{position:absolute;inset:0;background:#062e25b8;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;opacity:0;transition:opacity .2s;font-size:13px}.instagram-tile:hover .instagram-overlay{opacity:1}.instagram-overlay b{font-size:24px;margin-bottom:8px}.instagram-note{font-size:12px;color:#78877e;margin-top:16px}.footer{background:#073d32}
@media(max-width:850px){.gallery-track{grid-auto-columns:minmax(230px,58%)}.gallery-slide{height:290px}.instagram-grid{gap:8px}}
@media(max-width:520px){.hero-whatsapp{display:block;margin:15px 0 0}.hero-art img{height:245px;padding:20px}.gallery-track{grid-auto-columns:84%}.gallery-slide{height:300px}.instagram-grid{grid-template-columns:repeat(2,1fr);gap:7px}.instagram-link{font-size:12px}.section-head{align-items:flex-start}.gallery-controls{padding-top:5px}}

/* v1.0.2 — navegación de administración y detalles de galería */
.cart-link{display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #dce8df;border-radius:999px;background:#f0f5f0;color:#07513f;font-size:14px;font-weight:700;white-space:nowrap}.cart-icon{font-size:17px}.cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 6px;border-radius:50px;background:#e96a24;color:#fff;font-size:11px}.gallery-slide{cursor:pointer}.gallery-slide:focus-visible{outline:3px solid #e96a24;outline-offset:3px}.gallery-slide figcaption em{font-style:normal;font-size:11px;font-weight:700;margin-top:6px;color:#fff;opacity:.9}.gallery-dialog{width:min(900px,calc(100% - 28px));max-width:900px;max-height:90vh;padding:0;border:0;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 24px 90px #071d1680}.gallery-dialog::backdrop{background:#071d16c9;backdrop-filter:blur(4px)}.gallery-dialog>img{display:block;width:100%;max-height:65vh;object-fit:contain;background:#102d25}.gallery-dialog-copy{padding:22px 26px 26px}.gallery-dialog-copy h3{font:800 24px Manrope;color:#07513f;margin:8px 0}.gallery-dialog-copy p{margin:0;color:#66736b;line-height:1.65}.dialog-close{position:absolute;right:12px;top:12px;width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#18392c;font-size:27px;cursor:pointer;box-shadow:0 3px 16px #0003}.instagram-note{display:none}
.admin-shell{grid-template-columns:250px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;align-items:stretch;gap:3px}.sidebar .brand{margin-bottom:26px}.side-link{flex:0 0 auto}.admin-main{min-width:0}.admin-menu-toggle{display:none}.sidebar-scrim{display:none}
@media(max-width:850px){.admin-shell{display:block}.sidebar{position:fixed;z-index:1001;left:0;top:0;bottom:0;width:min(290px,84vw);height:100dvh;padding:22px 16px;display:flex;flex-direction:column;align-items:stretch;overflow-y:auto;transform:translateX(-105%);transition:transform .24s ease;box-shadow:16px 0 40px #0a21172b}.sidebar .brand{display:block;margin:0 8px 22px}.side-link{white-space:normal;padding:13px 14px;font-size:14px}.admin-shell.menu-open .sidebar{transform:translateX(0)}.sidebar-scrim{display:block;position:fixed;z-index:1000;inset:0;border:0;background:#071b14a6;opacity:0;visibility:hidden;transition:.2s}.admin-shell.menu-open .sidebar-scrim{opacity:1;visibility:visible}.admin-menu-toggle{display:inline-flex;align-items:center;gap:9px;border:1px solid #dce6dd;background:#fff;color:#244b38;border-radius:10px;padding:10px 14px;font-weight:700;margin:0 0 18px}.admin-main{padding:20px 16px}.admin-top{margin-bottom:20px}.head-actions .cart-link{padding:9px 11px;font-size:12px}.cart-icon{font-size:15px}}
@media(max-width:520px){.cart-link{gap:6px}.cart-count{min-width:20px;height:20px}.gallery-dialog-copy{padding:18px}.gallery-dialog-copy h3{font-size:20px}}

/* v1.0.3 — cuentas de clientes */
.account-link{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #dce8df;border-radius:9px;color:#07513f;font-size:13px;font-weight:700;white-space:nowrap}.account-page{display:flex;justify-content:center}.account-card{width:min(520px,100%);background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px;box-shadow:0 16px 50px #173b3210}.account-card h1{margin:10px 0 22px}.account-card .btn{width:100%;margin-top:12px}.account-card p{font-size:13px;color:var(--muted);margin:18px 0 0}.account-card p a{color:var(--green);font-weight:700}.account-choice{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px;background:#f3f7f2;border-radius:10px;margin-bottom:18px}.account-choice p{margin:0;color:#5f6f65;font-size:13px}.account-choice a{color:var(--green);font-weight:700;white-space:nowrap;font-size:13px}.account-check{display:flex;align-items:center;gap:10px;margin:18px 0;padding:14px;background:#f3f7f2;border-radius:10px}.account-check input{width:18px;height:18px;accent-color:var(--green)}#new-password-wrap{padding:0 14px 12px;background:#f3f7f2;border-radius:0 0 10px 10px}#new-password-wrap small{color:var(--muted)}.account-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.account-heading h1{margin:8px 0}.account-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:20px}.account-layout .panel{min-width:0}.account-layout h2{font:700 20px Manrope;color:var(--green)}
@media(max-width:700px){.account-link{padding:9px 10px;font-size:12px}.account-layout{grid-template-columns:1fr}.account-heading{align-items:flex-start;flex-direction:column}.account-card{padding:22px}.account-choice{align-items:flex-start;flex-direction:column}}

.saved-address{border:1px solid var(--line);border-radius:12px;padding:14px;margin:12px 0;background:#fbfcfa}.saved-address p{font-size:13px;color:var(--muted);line-height:1.6}.saved-address a{color:var(--green);font-weight:700;font-size:13px}.saved-address form{margin-top:8px}.account-layout{align-items:start}.account-layout .panel{overflow:hidden}.account-layout .admin-form{grid-template-columns:1fr 1fr}.account-layout input,.account-layout select{max-width:100%}@media(max-width:700px){.account-layout .admin-form{grid-template-columns:1fr}.saved-address{padding:12px}}


/* v1.0.6 — ajustes responsive de encabezado y comunidad */
.header{width:100%;}
.head-inner{min-width:0;gap:12px;}
.brand{display:block;flex:0 1 auto;min-width:0;white-space:nowrap;line-height:1.12;}
.brand small{white-space:nowrap;line-height:1.35;}
.head-actions{flex:0 0 auto;min-width:0;gap:7px;}
.account-link,.cart-link{flex-shrink:0;}
.instagram-section .section-head{min-width:0;}
.instagram-section .section-head>div:first-child{min-width:0;}
.instagram-section .section-head h2{max-width:100%;}
.instagram-section .section-head p{max-width:680px;}
@media(max-width:850px){
  .head-inner{gap:10px;}
  .brand{font-size:clamp(16px,4.5vw,20px);letter-spacing:-.55px;}
  .brand small{font-size:9px;letter-spacing:1.25px;}
  .head-actions{gap:6px;}
  .account-link{padding:9px 10px;font-size:12px;}
  .head-actions .cart-link{padding:9px 10px;font-size:12px;}
  .instagram-section .section-head{display:flex;flex-direction:column;align-items:stretch;gap:14px;}
  .instagram-section .section-head>div:first-child{width:100%;max-width:none;}
  .instagram-section .instagram-link{order:-1;align-self:flex-end;max-width:100%;white-space:normal;text-align:right;}
  .instagram-section .section-head h2{width:100%;max-width:none;font-size:clamp(27px,6vw,34px);line-height:1.16;overflow-wrap:normal;}
  .instagram-section .section-head p{width:100%;max-width:none;font-size:15px;line-height:1.55;}
  .instagram-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));}
  .instagram-tile{min-width:0;width:100%;}
}
@media(max-width:520px){
  .head-inner{height:72px;gap:7px;}
  .brand{font-size:clamp(15px,4.4vw,18px);letter-spacing:-.65px;}
  .brand small{font-size:8px;letter-spacing:1.05px;}
  .head-actions{gap:5px;}
  .account-link{padding:8px 8px;font-size:11px;}
  .head-actions .cart-link{padding:8px 9px;font-size:11px;gap:5px;}
  .cart-icon{font-size:14px;}
  .cart-count{min-width:19px;height:19px;font-size:10px;}
  .instagram-section.section{padding:42px 0;}
  .instagram-section .section-head{gap:12px;margin-bottom:22px;}
  .instagram-section .section-head h2{font-size:29px;letter-spacing:-.8px;line-height:1.14;margin:7px 0 10px;}
  .instagram-section .section-head p{font-size:15px;margin:0;}
  .instagram-section .instagram-link{font-size:12px;}
  .instagram-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
}
@media(max-width:370px){
  .head-inner{gap:5px;}
  .brand{font-size:15px;}
  .brand small{font-size:7.5px;letter-spacing:.8px;}
  .account-link{font-size:10px;padding:7px 6px;}
  .head-actions .cart-link{font-size:10px;padding:7px 7px;}
  .head-actions .cart-link>span:nth-child(2){display:none;}
}
@media(max-width:520px){.head-actions .cart-link>span:nth-child(2){display:none;}}


/* v1.0.7 — responsive header/community layout; loaded after legacy rules */
.header .head-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;}
.header .brand{display:block;flex:0 1 auto;min-width:0;max-width:42%;white-space:nowrap;overflow:visible;line-height:1.08;font-size:clamp(18px,2vw,23px);}
.header .brand small{display:block;white-space:normal;line-height:1.25;font-size:9px;letter-spacing:1.5px;}
.header .nav{flex:1 1 auto;min-width:0;justify-content:center;}
.header .head-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px;white-space:nowrap;}
.instagram-section .container{width:min(1160px,calc(100% - 40px));max-width:100%;}
.instagram-section .section-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;width:100%;}
.instagram-section .section-head>div:first-child{display:block;width:100%;min-width:0;}
.instagram-section .section-head h2{display:block;width:100%;max-width:none;white-space:normal;overflow-wrap:break-word;}
.instagram-section .section-head p{display:block;width:100%;max-width:720px;}
.instagram-section .instagram-link{justify-self:end;align-self:start;}
.instagram-section .instagram-grid{width:100%;}
@media(max-width:850px){
 .header .head-inner{height:72px;gap:8px;}
 .header .brand{max-width:none;flex:1 1 auto;font-size:clamp(16px,4.5vw,19px);letter-spacing:-.55px;}
 .header .brand small{font-size:8px;letter-spacing:1px;}
 .header .nav{display:none;}
 .header .head-actions{gap:5px;}
 .header .account-link{padding:8px 8px;font-size:11px;}
 .header .head-actions .cart-link{padding:8px 9px;font-size:11px;gap:5px;}
 .instagram-section .section-head{display:flex;flex-direction:column;align-items:stretch;gap:12px;}
 .instagram-section .section-head>div:first-child{width:100%;max-width:none;min-width:0;}
 .instagram-section .instagram-link{order:2;align-self:flex-start;text-align:left;white-space:normal;}
 .instagram-section .section-head h2{width:100%;max-width:none;font-size:clamp(27px,6vw,34px);line-height:1.16;letter-spacing:-.8px;}
 .instagram-section .section-head p{width:100%;max-width:none;font-size:15px;line-height:1.55;}
 .instagram-section .instagram-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .instagram-section .instagram-tile{width:100%;min-width:0;}
}
@media(max-width:520px){
 .container{width:calc(100% - 28px);}
 .header .head-inner{height:70px;gap:6px;}
 .header .brand{font-size:clamp(15px,4.2vw,17px);letter-spacing:-.6px;}
 .header .brand small{font-size:7px;letter-spacing:.8px;}
 .header .account-link{padding:7px 7px;font-size:10px;}
 .header .head-actions .cart-link{padding:7px 7px;font-size:10px;}
 .header .head-actions .cart-link>span:nth-child(2){display:none;}
 .instagram-section.section{padding:42px 0;}
 .instagram-section .section-head{margin-bottom:22px;}
 .instagram-section .section-head h2{font-size:29px;line-height:1.14;letter-spacing:-.8px;margin:7px 0 10px;}
 .instagram-section .section-head p{font-size:15px;margin:0;}
 .instagram-section .instagram-link{font-size:12px;}
 .instagram-section .instagram-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
}
@media(max-width:360px){
 .header .head-inner{gap:4px;}
 .header .brand{font-size:14px;}
 .header .brand small{font-size:6.5px;letter-spacing:.5px;}
 .header .account-link{font-size:9px;padding:6px 5px;}
 .header .head-actions .cart-link{padding:6px 6px;}
}

/* v1.0.9: perfil de administrador y control de visibilidad de contraseñas */
.password-control{display:flex;align-items:stretch;gap:8px;width:100%;}
.password-control input{flex:1;min-width:0;}
.password-toggle{flex:0 0 auto;border:1px solid #d8e2d9;background:#f5f8f5;color:#244b38;border-radius:8px;padding:0 13px;font:600 12px inherit;cursor:pointer;}
.password-toggle:hover{background:#eaf1eb;}
.profile-panel{max-width:850px;}
.profile-panel .admin-form{margin:18px 0;}
@media(max-width:520px){.password-toggle{padding:0 10px;}}

/* v1.1.0 — combined storefront filters */
.shop-filter-panel{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(150px,1fr));gap:14px;align-items:end;background:#fff;border:1px solid #e5eae5;border-radius:16px;padding:18px;margin:22px 0 14px;box-shadow:0 8px 24px rgba(15,50,35,.045)}
.shop-filter-panel>label,.price-filter{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:#29483b;min-width:0}
.shop-filter-panel input,.shop-filter-panel select{width:100%;min-width:0;min-height:44px;border:1px solid #dce4dd;border-radius:9px;padding:10px 12px;background:#fff;color:#20352b;font:inherit;font-weight:400}
.shop-filter-panel .shop-search{grid-column:1/-1}
.price-filter{grid-column:1/3}.price-filter>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.price-filter label{display:flex;flex-direction:column;gap:5px;font-weight:500;color:#64736a}
.filter-actions{display:flex;gap:9px;align-items:center;justify-content:flex-end}.filter-actions .btn{min-height:44px;white-space:nowrap}
.shop-results{font-size:13px;color:#718078;margin:12px 2px 18px}.shop-results strong{color:#254a3a}
@media(max-width:700px){.shop-filter-panel{grid-template-columns:1fr 1fr;padding:14px;gap:11px}.shop-filter-panel .shop-search{grid-column:1/-1}.price-filter{grid-column:1/-1}.filter-actions{grid-column:1/-1;justify-content:stretch}.filter-actions .btn{flex:1;text-align:center;padding-inline:10px}.shop-filter-panel>label{font-size:12px}}
@media(max-width:380px){.shop-filter-panel{grid-template-columns:1fr}.shop-filter-panel .shop-search,.price-filter,.filter-actions{grid-column:1}}

/* v1.1.1 — catalog sorting control */
.shop-filter-panel select[name=sort]{min-width:0}
@media(max-width:700px){.shop-filter-panel label{min-width:0}.shop-filter-panel select{font-size:13px}}

/* v1.1.2 — compact, opt-in filters and persistent catalog pagination */
.shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 12px;color:#29483b;font-size:14px}
.shop-toolbar-note{color:#7b877f;font-size:12px;font-weight:400}
.filter-toggle{display:inline-flex;align-items:center;gap:9px;border:1px solid #dce6dd;background:#f5f8f4;color:#244b38;border-radius:999px;padding:10px 16px;font-weight:700;cursor:pointer;white-space:nowrap}
.filter-toggle:hover{background:#eaf1eb}.filter-chevron{font-size:17px;line-height:12px}
.shop-filter-details{margin:0 0 18px}.shop-filter-details>summary{list-style:none}.shop-filter-details>summary::-webkit-details-marker{display:none}
.shop-filter-panel{margin:0 0 16px;animation:filterReveal .16s ease-out}
@keyframes filterReveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.catalog-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:30px 0 12px}
.catalog-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:8px 12px;border:1px solid #dce6dd;border-radius:9px;color:#315b45;background:#fff;font-size:13px;font-weight:700}
.catalog-pagination a.active{background:#315b45;color:#fff;border-color:#315b45}
.catalog-pagination a:hover{background:#edf3ed}
@media(max-width:520px){.shop-toolbar{align-items:center}.filter-toggle{padding:9px 12px;font-size:12px}.shop-toolbar-note{display:block;margin-top:3px}.catalog-pagination{gap:5px}.catalog-pagination a{min-width:36px;min-height:38px;padding:7px 9px}}

/* v1.1.3 — permanent search, compact filters and separate sorting */
.shop-page .catalog-search{display:flex;align-items:stretch;gap:8px;width:100%;max-width:720px;margin:22px 0 18px;padding:5px;border:1px solid #dce6dd;border-radius:13px;background:#fff;box-shadow:0 4px 16px rgba(15,50,35,.045)}
.shop-page .catalog-search input[type=search]{flex:1;min-width:0;height:46px;padding:0 13px;border:0;outline:0;background:transparent;color:#20352b;font:400 15px 'DM Sans',Arial,sans-serif;box-shadow:none}
.shop-page .catalog-search input[type=search]::placeholder{color:#87938b}
.shop-page .catalog-search button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:96px;border:0;border-radius:9px;padding:0 17px;background:var(--green);color:#fff;font-weight:700;cursor:pointer}
.shop-toolbar{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px;margin:14px 0 12px}
.shop-toolbar>div{margin-right:auto}
.catalog-sort select{min-height:40px;max-width:190px;border:1px solid #dce6dd;border-radius:10px;background:#fff;color:#29483b;padding:8px 30px 8px 11px;font-size:13px;font-weight:600}
.filter-toggle{min-height:40px;border-radius:10px;padding:8px 13px;font-size:13px}
.filter-toggle[aria-expanded=true]{background:#e8f0e9;border-color:#b8cdbd}
.shop-filter-details{margin:0 0 18px}
.shop-filter-details:not([open]){display:none}
.shop-filter-panel{margin:0 0 16px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:520px){.shop-page .catalog-search{max-width:none;margin:18px 0 15px;padding:4px;gap:5px}.shop-page .catalog-search input[type=search]{height:44px;font-size:14px;padding:0 10px}.shop-page .catalog-search button{min-width:82px;padding:0 11px;font-size:13px}.shop-toolbar{display:grid;grid-template-columns:1fr auto;gap:9px}.shop-toolbar>div{grid-column:1/-1;margin:0}.catalog-sort{grid-column:1;grid-row:2}.catalog-sort select{width:100%;max-width:none}.filter-toggle{grid-column:2;grid-row:2;justify-self:stretch}.shop-toolbar-note{display:inline;margin-left:4px}.shop-filter-panel{grid-template-columns:1fr 1fr}.shop-filter-panel>label{min-width:0}}
@media(max-width:360px){.shop-page .catalog-search button{min-width:74px;padding:0 8px}.catalog-sort select{font-size:12px}}

.product-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:start;margin-top:24px}.product-detail-grid>img{width:100%;max-height:560px;object-fit:contain;background:#f5f6f2;border-radius:20px}.product-detail-grid h1{margin:10px 0 18px}.product-detail nav{font-size:14px;color:#68766f}.product-detail nav a{color:inherit}@media(max-width:700px){.product-detail-grid{grid-template-columns:1fr;gap:22px}.product-detail-grid>img{max-height:380px}}

/* v1.3.1 — direct category and subcategory navigation in catalog */
.shop-category-nav{margin:18px 0 20px;padding:15px 17px;border:1px solid #e1e9e1;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(20,55,35,.035)}
.shop-category-nav-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px;color:#29483b;font-size:14px}
.shop-category-nav-heading a{color:var(--green);font-size:12px;font-weight:700;text-decoration:none}
.shop-category-list{display:flex;flex-wrap:wrap;gap:8px}
.shop-category-item{position:relative;min-width:145px;max-width:100%;border:1px solid #e3eae3;border-radius:10px;background:#fbfcfa}
.shop-category-item>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:10px 12px;cursor:pointer;color:#29483b;font-size:13px;font-weight:700}
.shop-category-item>summary::-webkit-details-marker{display:none}
.shop-category-main-link{color:inherit;text-decoration:none;flex:1}
.shop-category-main-link:hover,.shop-subcategory-links a:hover{color:var(--green);text-decoration:underline}
.shop-category-chevron{color:#75877b;transition:transform .18s ease}
.shop-category-item[open] .shop-category-chevron{transform:rotate(180deg)}
.shop-subcategory-links{display:grid;gap:2px;padding:0 8px 8px;border-top:1px solid #edf1ed}
.shop-subcategory-links a{display:block;padding:7px 8px;border-radius:7px;color:#52665a;text-decoration:none;font-size:12px}
.shop-subcategory-links a.active{background:#eaf2e9;color:#214c35;font-weight:700}
@media(max-width:600px){.shop-category-nav{padding:13px;margin:14px 0 17px}.shop-category-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.shop-category-item{min-width:0}.shop-category-item>summary{padding:10px;font-size:12px}.shop-subcategory-links a{font-size:12px;padding:8px 6px}}

/* v1.4.0 — sidebar navigation, collapsed filters and mobile category accordion */
.shop-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:26px;align-items:start;margin-top:22px}
.shop-sidebar{min-width:0}
.shop-category-mobile>summary{display:none}
.shop-category-nav{margin:0;padding:16px 14px;position:sticky;top:16px}
.shop-category-nav-heading{margin-bottom:13px}
.shop-category-list{display:grid;gap:7px}
.shop-category-item{min-width:0;width:100%;max-width:none;border-radius:9px}
.shop-category-item>summary{padding:11px 10px}
.shop-category-main-link{font-weight:700}
.shop-subcategory-links{padding:5px 7px 8px}
.shop-subcategory-links a{padding:8px 9px;font-size:12px}
.shop-subcategory-links .shop-category-all{font-weight:700;color:var(--green);border-bottom:1px solid #edf1ed;border-radius:0;margin-bottom:3px}
.shop-main{min-width:0}
.shop-main .catalog-search{margin:0 0 16px;max-width:none}
.shop-main .shop-toolbar{margin:0 0 12px}
.shop-filter-details{margin:0 0 18px}
.shop-filter-details:not([open]){display:none}
.shop-filter-details[open]{display:block}
.shop-filter-panel{margin:0 0 16px}
@media(max-width:760px){
 .shop-layout{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:16px}
 .shop-category-mobile{border:1px solid #dfe8df;border-radius:12px;background:#fff;overflow:hidden}
 .shop-category-mobile>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;list-style:none;color:#244b38;font-size:14px;font-weight:700;cursor:pointer}
 .shop-category-mobile>summary::-webkit-details-marker{display:none}
 .shop-category-mobile[open]>summary{border-bottom:1px solid #edf1ed;background:#f7faf6}
 .shop-category-mobile[open]>summary span{transform:rotate(180deg)}
 .shop-category-nav{position:static;border:0;border-radius:0;box-shadow:none;padding:12px}
 .shop-category-nav-heading{margin-bottom:10px}
 .shop-category-list{grid-template-columns:1fr;gap:6px}
 .shop-category-item>summary{padding:12px;font-size:13px}
 .shop-subcategory-links{padding:5px 8px 8px}
 .shop-subcategory-links a{padding:10px;font-size:13px}
 .shop-main .catalog-search{margin:0 0 14px}
}
@media(max-width:520px){
 .shop-page{padding-top:27px}
 .shop-page h1{font-size:30px;margin-bottom:0}
 .shop-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
 .shop-toolbar>div{grid-column:1/-1}
 .catalog-sort{grid-column:1;grid-row:2;min-width:0}
 .catalog-sort select{width:100%;max-width:none}
 .filter-toggle{grid-column:2;grid-row:2;min-width:96px;justify-content:center}
 .shop-filter-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .shop-filter-panel>label{min-width:0}
}
@media(max-width:360px){.shop-filter-panel{grid-template-columns:1fr}.shop-filter-panel .price-filter,.shop-filter-panel .filter-actions{grid-column:1}}
@media(min-width:761px){.shop-category-mobile:not([open])>.shop-category-nav{display:block}}
@media(max-width:760px){.shop-category-mobile:not([open])>.shop-category-nav{display:none}.shop-category-mobile[open]>.shop-category-nav{display:block}}


/* v1.4.1 — category sidebar visibility and responsive order detail */
.shop-category-mobile[open]>.shop-category-nav{display:block}
.shop-category-empty{margin:8px 2px;color:var(--muted);font-size:12px;line-height:1.5}
.order-detail-page{width:min(920px,calc(100% - 40px));margin:0 auto}
.order-detail-page h1{overflow-wrap:anywhere;line-height:1.18}
.order-detail-panel{min-width:0;overflow:hidden}
.order-detail-panel>p{overflow-wrap:anywhere;line-height:1.55}
.order-items-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.order-items-table{min-width:560px}
@media(max-width:600px){
 .shop-category-mobile{display:block}
 .shop-category-mobile:not([open])>.shop-category-nav{display:none}
 .shop-category-mobile[open]>.shop-category-nav{display:block}
 .order-detail-page{width:calc(100% - 28px);padding-top:28px}
 .order-detail-page h1{font-size:clamp(27px,8vw,38px);margin:16px 0 22px}
 .order-detail-panel{padding:17px 14px}
 .order-items-wrap{overflow:visible}
 .order-items-table{min-width:0;width:100%;border-collapse:separate;border-spacing:0 9px}
 .order-items-table thead{display:none}
 .order-items-table,.order-items-table tbody,.order-items-table tr,.order-items-table td{display:block;width:100%}
 .order-items-table tr{padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fbfcfa}
 .order-items-table td{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:6px 0;border:0;white-space:normal;text-align:right;font-size:13px;overflow-wrap:anywhere}
 .order-items-table td:first-child{font-weight:700;color:var(--ink);text-align:left;display:block;padding-bottom:9px;border-bottom:1px solid var(--line);margin-bottom:4px}
 .order-items-table td:not(:first-child)::before{content:attr(data-label);color:var(--muted);font-weight:600;text-align:left;flex:0 0 42%}
 .order-detail-panel h2{text-align:left!important;font-size:24px;overflow-wrap:anywhere}
}
