/* Shared sizing rules. No document-level clipping: oversized components must fit. */
html{max-width:100%;-webkit-text-size-adjust:100%}body{min-width:0}img,video,canvas,svg{max-width:100%}button,input,select,textarea,fieldset{min-width:0}button,a,input,textarea,select{touch-action:manipulation}fieldset{min-inline-size:0}h1,h2,h3,p,strong,small,label,figcaption{overflow-wrap:anywhere}button,.btn{white-space:normal}input[type=file]{max-width:100%;font-size:13px}input[type=file]::file-selector-button{max-width:100%;white-space:normal}textarea{max-width:100%}[hidden]{display:none!important}
/* Public pages */
.storefront-site main,.catalog-section,.detail,.detail-copy,.two-col,.two-col>*,.grid>*{min-width:0}.storefront-site main{width:100%}.storefront-hero{width:calc(100vw - var(--scrollbar-width,0px));margin-left:calc(50% - (100vw - var(--scrollbar-width,0px))/2)}.storefront-home:not(.is-editor-preview) [data-section-type=benefits] .strip{width:calc(100vw - var(--scrollbar-width,0px));margin-left:calc(50% - (100vw - var(--scrollbar-width,0px))/2)}.card{min-width:0}.card h3{height:auto;min-height:3em}.card .btn{width:100%;line-height:1.4;overflow-wrap:anywhere}.card .price-block{min-width:0}.card .availability{overflow-wrap:anywhere}.detail:not(.store-product-detail) .visual img{max-width:100%;object-fit:contain}.thumbs{display:flex;flex-wrap:wrap;gap:8px}.detail .info-box{overflow-wrap:anywhere}.two-col{grid-template-columns:minmax(0,1fr) minmax(260px,370px)}.fields{grid-template-columns:repeat(2,minmax(0,1fr))}.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea{width:100%;min-width:0}.summary{min-width:0}.sum-line{gap:16px}.sum-line>span:first-child{min-width:0;overflow-wrap:anywhere}.sum-line>strong,.sum-line>span:last-child{flex-shrink:0}.cart-row{min-width:0}.cart-content{min-width:0}.cart-controls{flex-wrap:wrap}.product-reviews{grid-template-columns:repeat(2,minmax(0,1fr))}.product-reviews>*{min-width:0}.review-author{flex-wrap:wrap}.store-shelf-heading>*{min-width:0}.store-category-grid>button{min-width:0}.store-product-tabs{width:100%}.store-product-tabs>button{min-height:44px}.store-header-actions{min-width:0}.store-search-results{max-height:min(440px,55dvh)}.store-drawer-head>button{min-width:44px;min-height:44px}.store-remove{min-width:32px;min-height:36px}.store-cart-quantity>button{width:36px;height:36px}.store-drawer-scroll{overscroll-behavior:contain}.store-drawer-bottom{padding-bottom:max(20px,env(safe-area-inset-bottom))}.store-coupon-form label>div{min-width:0}.store-menu-links>button,.store-menu-links>a{min-height:48px}.storefront-site footer{padding-inline:max(20px,calc((100% - 1280px)/2))}.footer-inner{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-inner a{display:inline-block;min-height:36px}.store-footer-tools>div{flex-wrap:wrap}.store-footer-tools a,.store-footer-tools button{min-height:40px}.ig-editorial{max-width:100%}.ig-editorial .ig-feed-heading h2{max-width:100%}.ig-slide-arrow{min-width:40px;min-height:40px}.hero-shop-link{max-width:calc(100% - 32px)}
@media(min-width:721px) and (max-width:1100px){.storefront-site main{padding-inline:24px}.store-shelf-heading{flex-wrap:wrap}.store-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-product-detail{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.product-reviews{gap:24px}.two-col{grid-template-columns:minmax(0,1fr) minmax(240px,310px);gap:24px}.storefront-site .fields{grid-template-columns:1fr}.footer-inner{gap:24px}}
@media(max-width:900px){.storefront-site body>header{gap:16px}.detail:not(.store-product-detail),.two-col{grid-template-columns:1fr}.summary{position:static}.storefront-site .product-reviews{grid-template-columns:1fr}.storefront-site .store-featured{grid-template-columns:1fr}.storefront-site .catalog-top{flex-wrap:wrap;gap:16px}.storefront-site .catalog-top>div{min-width:0}.storefront-site .catalog-top p{max-width:100%}}
@media(max-width:720px){.storefront-site input,.storefront-site select,.storefront-site textarea{font-size:16px}.commerce-nav-ready>header{grid-template-columns:44px minmax(45px,1fr) auto;gap:10px;min-height:0;padding:10px 16px}.commerce-nav-ready>header #menu{grid-column:1;grid-row:1;display:grid;place-items:center;width:44px;height:44px;padding:0;background:transparent;color:inherit}.commerce-nav-ready>header .brand{grid-column:2;grid-row:1;width:48px;min-width:0}.commerce-nav-ready>header .brand img{width:48px;height:60px;object-fit:contain}.commerce-nav-ready>header .store-header-actions{grid-column:3;grid-row:1}.commerce-nav-ready>header .cart-button{min-height:44px;max-width:160px;white-space:normal;padding:9px 12px}.commerce-nav-ready>header .search{grid-column:1/-1;grid-row:2;max-width:100%;height:44px;min-width:0;padding:8px 12px}.commerce-nav-ready>header .search input{font-size:16px}.storefront-site main{padding-inline:16px!important;padding-bottom:36px}.storefront-site .notice{font-size:10px;line-height:1.6;letter-spacing:1px;padding-inline:14px}.storefront-site .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 14px}.storefront-site .fields{grid-template-columns:1fr}.storefront-site .card h3{font-size:clamp(14px,3.7vw,17px);line-height:1.45;min-height:4.35em}.storefront-site .card .price{font-size:clamp(18px,4.7vw,23px)}.storefront-site .card .btn{font-size:13px;min-height:46px;padding:10px 8px}.storefront-site .inline-cart-quantity button{min-width:34px;min-height:44px}.storefront-site .inline-cart-quantity{gap:4px}.storefront-site .detail{grid-template-columns:1fr;gap:24px}.storefront-site .detail-copy h1{font-size:clamp(25px,6.7vw,34px)}.storefront-site .panel{padding:20px 16px}.storefront-site .section-head{gap:14px;flex-wrap:wrap}.storefront-site .section-head h2,.storefront-site .storefront-section-heading h2{font-size:clamp(24px,6vw,30px)}.storefront-site .section-head>a{font-size:11px}.storefront-home:not(.is-editor-preview) [data-section-type=benefits] .strip{padding:22px 16px;gap:18px}.storefront-site .strip>div{min-width:0;flex:1 1 180px;padding:0}.storefront-site .storefront-hero>img{height:clamp(330px,100vw,470px);object-position:55% center}.hero-shop-link{font-size:10px;padding:12px 16px;right:16px;bottom:22px;gap:18px}.store-shelf-heading{align-items:start;flex-wrap:wrap;gap:14px}.store-shelf-navigation{margin-left:auto}.commerce-carousel{grid-auto-columns:calc((100% - 14px)/2);gap:14px}.store-shelf-navigation>button:not(.store-text-link){width:40px;height:40px}.store-quick-add{width:40px;height:40px}.store-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.store-category-grid>button>img{height:auto;aspect-ratio:1;object-fit:cover}.store-category-grid>button>span{font-size:11px;padding:14px 10px;gap:8px}.storefront-site .product-reviews{grid-template-columns:1fr;gap:24px}.storefront-site .review-score-options span{min-width:40px;min-height:44px;display:grid;place-items:center;padding:7px}.storefront-site .footer-inner{grid-template-columns:1fr;gap:28px}.storefront-site .footer-inner>div{text-align:center}.storefront-site .store-footer-tools>div{justify-content:center}.course-pay-choice{padding:16px 12px}.course-pay-choice>span:not(.course-pay-icon):not(.course-pay-radio){min-width:0}.course-pay-heading h1{font-size:30px}.storefront-site .steps{flex-wrap:wrap;row-gap:10px;line-height:1.6}.storefront-site .cart-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:18px 0}.cart-row .visual{width:72px;height:88px}.cart-row>.price{grid-column:2;justify-self:start;margin:0}.cart-controls{gap:12px}.cart-content h3{font-size:16px}.storefront-site .sum-line{font-size:14px}.storefront-site .sum-line.total{font-size:19px}.ig-editorial .ig-feed-grid{gap:14px}.ig-editorial-card{flex:0 0 84%;max-width:100%}.ig-editorial .ig-feed-heading h2{font-size:clamp(25px,7.5vw,36px);letter-spacing:-1px}.storefront-site #toast{bottom:max(16px,env(safe-area-inset-bottom));max-width:calc(100% - 24px);width:max-content;font-size:13px;z-index:220}.storefront-site #store-whatsapp{right:16px;bottom:max(18px,env(safe-area-inset-bottom));width:50px;height:50px}.store-drawer-head{padding:14px 16px}.store-drawer-scroll{padding:16px}.store-drawer-bottom{padding-inline:16px}.store-cart-item{grid-template-columns:60px minmax(0,1fr) 32px;gap:10px}.store-cart-item>a>img,.store-cart-item>a>.visual{width:60px;height:76px}.store-coupon-form label>div{flex-wrap:wrap}.store-coupon-form input{flex:1 1 150px}.store-coupon-form button[type=submit]{flex:1 0 auto;min-height:44px}.store-drawer-bottom .store-primary{min-height:46px}.storefront-site .catalog-section{padding-inline:min(3vw,12px)!important}.storefront-site .custom-image{margin-inline:0}}
@media(max-width:359px){.storefront-site .grid{grid-template-columns:1fr}.commerce-carousel{grid-auto-columns:86%}.storefront-site .card h3{min-height:0}.store-category-grid{grid-template-columns:1fr}.course-pay-choice{gap:9px}.course-pay-icon{width:34px;height:34px}.course-pay-radio{width:18px;height:18px}.storefront-site .card .btn{font-size:14px}}
@media(max-height:550px){#store-drawer{height:100dvh}.store-drawer-bottom{padding-block:10px}.store-drawer-head{padding-block:8px}.store-drawer-scroll{min-height:60px}.store-drawer-bottom .sum-line{margin:4px 0}.storefront-site .summary{position:static}}
/* Administration */
.admin-site .workspace,.admin-site .shell,.admin-site .columns>*,.admin-site .fields>*,.admin-site .panel,.admin-site .page-head>*,.admin-site .stat{min-width:0}.admin-site .workspace{align-self:start}.admin-site .sidebar{height:100dvh;overflow-y:auto;overscroll-behavior:contain}.admin-site .actions{flex-wrap:wrap}.admin-site .toolbar>*{min-width:0}.admin-site .table-wrap{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}.admin-site .table-wrap table{white-space:normal}.admin-site .table-wrap th,.admin-site .table-wrap td{overflow-wrap:anywhere}.admin-site .item-cell{min-width:0}.admin-site .fields,.admin-site .columns{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-site .image-preview{max-width:100%}.admin-site .list-row>span,.admin-site .list-row>div{min-width:0}.admin-site .list-row>strong{flex-shrink:0}.admin-site .course-payment-admin{min-inline-size:0}.admin-site .promotion-panel{min-width:0}.admin-menu-toggle,.admin-nav-close,.admin-nav-backdrop{display:none}.admin-site .sidebar nav a{min-height:44px;display:flex;align-items:center}.admin-site .ig-admin-preview{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-site .ig-admin-preview .field{min-width:0}
@media(max-width:1100px){.admin-site .workspace{padding:24px}.admin-site .shell{grid-template-columns:200px minmax(0,1fr)}.admin-site .page-head{flex-wrap:wrap}.admin-site .topbar{flex-wrap:wrap;gap:12px}.admin-site .stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.admin-site input,.admin-site select,.admin-site textarea{font-size:16px}.admin-site .shell{display:block}.admin-site .workspace{padding:0 16px 40px}.admin-site .topbar{position:sticky;top:0;background:#f8f6f8;z-index:35;padding:12px 0;margin-bottom:24px;gap:12px;flex-wrap:nowrap}.admin-site .topbar>p{font-size:12px;min-width:0}.admin-site .topbar>p span{display:none}.admin-site .topbar .link{font-size:12px;white-space:nowrap}.admin-menu-toggle{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:9px 12px;background:#fff;border:1px solid var(--line);border-radius:7px;color:var(--ink);font-size:13px}.admin-menu-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}.admin-site .sidebar{position:fixed;inset:0 auto 0 0;z-index:110;width:min(310px,86vw);height:100dvh;max-height:100dvh;padding:20px 16px 28px;transform:translateX(-105%);visibility:hidden;transition:transform .2s,visibility .2s;background:#fff;display:flex;border-right:1px solid var(--line)}.admin-site .sidebar nav{display:grid;overflow:visible;gap:5px;margin:18px 0}.admin-site .sidebar nav a{white-space:normal;padding:11px 14px;font-size:14px}.admin-site .sidebar .label{display:block;margin:14px 10px 0}.admin-site .sidebar .bottom{display:grid;margin-top:auto;padding:20px 12px 0}.admin-nav-close{position:absolute;right:14px;top:18px;display:grid;place-items:center;min-width:44px;min-height:44px;background:none;border:1px solid var(--line);border-radius:7px;font-size:27px}.admin-nav-open{overflow:hidden}.admin-nav-open .sidebar{transform:none;visibility:visible}.admin-nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:100;width:100%;height:100dvh;border:0;padding:0;background:#21181180}.admin-site .page-head{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin-bottom:22px}.admin-site .page-head>.btn{align-self:start}.admin-site .page-head h1{font-size:27px}.admin-site .panel{padding:18px 16px}.admin-site .table-panel{padding:0}.admin-site .fields,.admin-site .columns{grid-template-columns:1fr}.admin-site .full{grid-column:1/-1}.admin-site .toolbar{align-items:stretch;gap:12px}.admin-site .toolbar input,.admin-site .toolbar select{width:100%;flex:1 1 100%;max-width:100%;min-width:0}.admin-site .toolbar .btn{flex:1 1 100%}.admin-site .actions{gap:10px}.admin-site .actions .btn{min-height:44px;flex:1 1 120px}.admin-site .btn.small{min-height:40px}.admin-site .table-wrap thead{display:none}.admin-site .table-wrap tbody,.admin-site .table-wrap table{display:block;width:100%;min-width:0}.admin-site .table-wrap tr{display:block;padding:14px 16px;border-bottom:1px solid var(--line)}.admin-site .table-wrap td{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;padding:8px 0;border:0;white-space:normal}.admin-site .table-wrap td:before{content:attr(data-label);color:var(--muted);font-size:12px;flex-shrink:0;max-width:35%}.admin-site .table-wrap td:first-child{display:block;padding-bottom:12px}.admin-site .table-wrap td:first-child:before,.admin-site .table-wrap td[data-label='']:before{display:none}.admin-site .table-wrap td[colspan]{display:block}.admin-site .table-wrap .item-cell{min-width:0;align-items:start}.admin-site .table-wrap .item-cell>div{min-width:0}.admin-site .product-row-actions{justify-content:flex-start;width:100%}.admin-site .product-row-actions .btn{flex:1}.admin-site .table-wrap td:has(small){flex-wrap:wrap}.admin-site .moderation-review .page-head{gap:12px}.admin-site .moderation-review .actions{margin-top:15px}.admin-site .promotion-panel{padding:16px}.admin-site .list-row{flex-wrap:wrap;gap:8px}.admin-site .hint{padding:14px;font-size:13px}.admin-site .ig-admin-preview{grid-template-columns:1fr;gap:24px}.admin-site .ig-admin-preview img{max-height:300px;object-fit:cover}.admin-site .course-payment-admin{padding:16px}.admin-site .course-payment-admin .check{align-items:flex-start}.admin-site .check input[type=checkbox]{flex-shrink:0}.admin-site .loading{padding:40px 20px}.admin-site .login{margin:24px 16px}.admin-site .empty{padding:28px 15px}.admin-site .confirm-box{padding:16px}.admin-site .topbar .pill{display:none}.admin-site .list-row strong{max-width:100%;overflow-wrap:anywhere}}
@media(max-width:390px){.admin-site .stats{grid-template-columns:1fr}.admin-site .stat{padding:18px}.admin-site .actions .btn{flex-basis:100%}.admin-site .topbar>p{display:none}}
/* Visual editor: full preview or full controls on phones, without nested panels. */
.builder-mobile-tabs{display:none}.builder-open .workspace{padding:0!important}.builder-bar>*{min-width:0}.builder-brand{min-width:0}.builder-frame-wrap{max-width:100%}.builder-frame-wrap iframe{max-width:100%}.builder-panel .v-section-name{white-space:normal;overflow-wrap:anywhere}.builder-panel input,.builder-panel select,.builder-panel textarea{max-width:100%}.builder-panel .dimension-inputs{flex-wrap:wrap}.builder-panel .dimension-inputs>input[type=range]{flex-basis:120px}.builder-error{max-width:calc(100% - 24px)}
@media(min-width:761px) and (max-width:1100px){.builder-body{grid-template-columns:260px minmax(0,1fr)}.builder-bar{flex-wrap:wrap;height:auto;gap:10px}.builder-brand{flex:1}.builder-toolbar{margin-left:auto}.builder-panel input,.builder-panel select,.builder-panel textarea{font-size:16px}}
@media(max-width:760px){.builder{height:100dvh;min-height:0;overflow:hidden}.builder-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:0;padding:10px 12px;gap:9px}.builder-brand{min-width:0;gap:6px}.builder-brand strong{font-size:14px}.builder-brand img{width:24px;height:30px}.builder-brand>a{min-width:36px;min-height:40px;display:grid;place-items:center;padding:0}.builder-brand #builder-state{font-size:10px;line-height:1.3}.builder-devices{margin:0;padding:3px}.builder-devices button{min-width:36px;min-height:40px;padding:5px 8px}.builder-toolbar{grid-column:1/-1;width:100%;display:grid;grid-template-columns:36px 36px minmax(0,1fr) minmax(0,1fr);gap:7px}.builder-toolbar .builder-icon{margin:0!important;width:36px;min-height:42px}.builder-toolbar .btn{padding:8px 5px;font-size:11px;min-height:42px;line-height:1.4}.builder-mobile-tabs{display:grid;grid-template-columns:1fr 1fr;padding:8px 12px;gap:8px;background:#fff;border-bottom:1px solid var(--line);flex-shrink:0}.builder-mobile-tabs button{border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--muted);min-height:42px;font-size:13px}.builder-mobile-tabs button[aria-pressed=true]{border-color:var(--pink);color:var(--pink);background:var(--soft);font-weight:600}.builder-body{display:block;position:relative;min-height:0;overflow:hidden;flex:1}.builder-panel{display:none;height:100%;max-height:none;border:0;overflow-y:auto}.builder-stage{display:block;position:relative;padding:12px;height:100%;min-height:0;max-width:100%;overflow:hidden}.builder-stage-caption{height:24px;margin:0;font-size:11px}.builder-frame-wrap,.builder-frame-wrap.mobile{position:absolute;top:38px;left:12px;width:var(--editor-preview-width,calc(100% - 24px));max-width:none;height:var(--editor-preview-height,calc(100% - 48px));min-height:0;margin:0;transform:scale(var(--editor-preview-scale,1));transform-origin:top left;border-radius:8px;transition:none;overflow:hidden}.builder-frame-wrap iframe{width:100%;height:100%}.builder-show-controls .builder-stage{display:none}.builder-show-controls .builder-panel{display:block}.inspector-content{padding:18px 16px 36px}.builder-panel input,.builder-panel select,.builder-panel textarea{font-size:16px}.builder-tabs button{min-height:48px}.v-global button{min-height:44px;font-size:12px}.v-section{padding:10px}.v-section-arrows button{min-width:34px;min-height:40px}.category-row-buttons button{min-width:32px;min-height:36px}.v-section-name{min-height:44px}.builder-panel .v-add .btn{min-height:44px}.builder-error{left:12px;right:12px;bottom:12px;padding:12px;font-size:13px}.builder-panel .check{align-items:flex-start}.builder-panel .check input{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.admin-site .sidebar{transition:none}}
@media(max-width:1100px){.storefront-site input,.storefront-site select,.storefront-site textarea,.admin-site input,.admin-site select,.admin-site textarea{font-size:16px}}
@media(pointer:coarse){input,select,textarea{font-size:16px}.btn,.store-text-link{min-height:44px}}
@media(max-height:550px){.store-drawer-content{overflow-y:auto;overscroll-behavior:contain}.store-drawer-scroll{flex:0 0 auto;overflow:visible}.store-drawer-bottom{flex:0 0 auto}}
.store-footer-tools a,.store-footer-tools button{min-height:44px}
