.custom-logo img{filter:none!important;mix-blend-mode:normal!important;object-fit:contain}.custom-logo{filter:none!important}.product-quantity{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:22px 0}.product-quantity>span{font-weight:600}.product-quantity small{flex-basis:100%;color:#686b5d}.product-quantity input{width:64px;text-align:center;border:0;background:transparent;padding:8px;font-size:18px}.quantity button{min-width:42px;min-height:44px}.detail-buy{flex-wrap:wrap}.detail-buy>button{min-width:200px}.setting-preview{width:160px;height:100px;object-fit:contain;background:#dedfd5;border:1px solid #ccc;margin:10px 0}.settings-section{border-bottom:1px solid #deded3;padding:20px 0}.settings-section>summary{font-size:18px;font-weight:700;cursor:pointer;padding:8px}.settings-section .form-grid{margin-top:18px}.setting-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px;border:1px solid #ddd;margin:16px 0;background:#fafbf7}.setting-row>button{justify-self:start}.settings-section textarea{min-height:120px}.narrow{max-width:650px;margin:50px auto}.chat-launch{position:fixed;bottom:20px;left:20px;z-index:90;background:#bfa46c;color:#141b16;border-radius:30px;box-shadow:0 6px 24px #0003;padding:13px 20px;display:flex;align-items:center;gap:8px}.chat-launch svg{width:24px}.chat-box{position:fixed;left:20px;bottom:85px;width:360px;max-width:calc(100vw - 24px);max-height:75dvh;overflow:auto;z-index:100;background:#fffdf7;border:1px solid #cfbd93;border-radius:16px;box-shadow:0 12px 60px #0004;padding:18px}.chat-box[hidden]{display:none}.chat-head{display:flex;justify-content:space-between;align-items:center}.chat-head button{font-size:26px;padding:0 10px}.chat-messages{max-height:300px;overflow:auto;overscroll-behavior:contain;padding:8px;background:#f3f3ed;margin:12px 0;border-radius:8px}.chat-message{margin:8px 0 8px 22px;padding:10px;background:#fff;border-radius:10px;overflow-wrap:anywhere}.chat-message.admin{margin:8px 22px 8px 0;background:#e6eada}.chat-message p{margin:6px 0;font-size:14px;line-height:1.8;white-space:normal}.chat-message small{font-size:11px;color:#626750}.chat-box input,.chat-box textarea{margin:6px 0;padding:10px}.chat-box textarea{min-height:75px}.inbox-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px}.thread-list button{display:flex;flex-direction:column;width:100%;align-items:start;text-align:right;gap:8px;margin-bottom:8px}.thread-list .selected{background:#e8e3d3}.thread-list small{overflow-wrap:anywhere}.admin-main{min-width:0}.admin-main .order{overflow-wrap:anywhere}.product-content>p{min-height:0}.product-content{gap:10px}.product-name{min-height:0}.product-grid{display:flex!important;flex-wrap:wrap;justify-content:center}.product-grid>.product-card{width:calc((100% - 72px)/4);flex:0 0 auto}.product-content .variants{flex-wrap:wrap}.admin-nav{overflow:auto;max-height:90vh}.savebar{z-index:20}button:disabled{opacity:.45;cursor:not-allowed}.product-info h1{overflow-wrap:anywhere}.product-info .description{max-height:170px;overflow:auto}.product-detail .detail-variants{flex-wrap:wrap}.chat-box p{font-size:14px}.settings-section input[type=file]{max-width:100%}.settings-section .form-grid>*{min-width:0}
@media(max-width:900px){.product-grid>.product-card{width:calc((100% - 24px)/2)}.inbox-grid{grid-template-columns:1fr}.thread-list{display:flex;overflow:auto;gap:8px}.thread-list button{min-width:170px}.hero{min-height:560px!important;height:auto!important}.hero-content{padding-top:65px!important;padding-bottom:85px!important}.hero-caption{position:static!important;margin-top:55px}.hero h1{font-size:clamp(25px,6.5vw,38px)!important}.hero p{font-size:15px;line-height:2}.header-inner nav.open{padding:12px 24px!important}.header-inner nav.open a{padding:10px 0!important;line-height:1.8}.setting-row{grid-template-columns:1fr}.detail-text h2{font-size:27px}.product-detail{gap:24px}.product-info .description{max-height:150px}.chat-box{left:12px;bottom:80px}.chat-launch{left:12px;bottom:15px}.admin-nav{max-height:none}.shop-banner h1{font-size:27px}.product-content{padding:12px!important}.product-content .brand{font-size:11px}.product-name{font-size:14px!important}.buy-row{flex-wrap:wrap;gap:10px}.buy-row strong{font-size:14px}.product-content .variants button{min-height:34px}.detail-buy>button{min-width:0;flex:1}.product-quantity{justify-content:space-between}.cart-line{gap:10px}.cart-line h3{overflow-wrap:anywhere}.hero-photo{object-position:35% center!important}}
@media(max-width:420px){.product-grid{gap:12px!important}.product-grid>.product-card{width:calc((100% - 12px)/2)}.header-inner{gap:8px}.actions{gap:12px!important}.logo{width:120px}.product-quantity .quantity{margin-right:auto}.chat-launch{font-size:13px}.detail-buy{gap:14px}}
@media print{header,footer,.chat-launch,.chat-box{display:none}}

header .custom-logo img[src="assets/logo.png"]{filter:grayscale(1) contrast(5)!important;mix-blend-mode:multiply!important}footer .custom-logo img[src="assets/logo.png"]{filter:grayscale(1) contrast(5) invert(1)!important;mix-blend-mode:screen!important}

/* Payment and trust controls follow the existing studio palette. */
.sales-notice a,.payment-management a,#trustSettings .notice a{color:inherit;text-decoration:underline;text-underline-offset:4px}.sales-notice{line-height:2}.product-content .add:disabled{font-size:11px;white-space:nowrap;padding-inline:10px}.badges{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px}.badges .trust-badge{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;max-width:170px;gap:8px;padding:8px}.badges .trust-badge img{max-width:100%;height:90px;object-fit:contain}.badges .trust-badge small{text-align:center;font-size:11px}.trust-badge iframe,.license-preview iframe{display:block;width:150px;height:170px;max-width:100%;border:0;background:#fff;border-radius:6px}.badges .trust-badge-enamad{background:#fff;border-radius:8px;color:#242b23}.payment-management>.panel{margin-bottom:24px}.payment-management h2{font-size:22px;margin:24px 0 12px}.payment-management p,#trustSettings p{line-height:2}.payment-toggles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.payment-toggles .checkbox{padding:16px;border:1px solid #deded3;border-radius:8px;margin:0;align-items:flex-start}.payment-toggles span{display:flex;flex-direction:column;gap:8px}.payment-toggles small,.payment-tools>small,.license-row small{display:block;line-height:1.9;color:#626750}.payment-tools .button-row{flex-wrap:wrap;margin-bottom:18px}.payment-tools>label{max-width:350px}.payment-tools>button{margin-bottom:12px}.payment-table-wrap{width:100%;overflow:auto}.payment-history table{width:100%;border-collapse:collapse;min-width:600px;text-align:right;font-size:12px}.payment-history th,.payment-history td{padding:12px 10px;border-bottom:1px solid #e2e5da;vertical-align:top;line-height:1.8}.payment-history th{background:#f3f4ed;white-space:nowrap}.payment-history td:last-child{min-width:180px;overflow-wrap:anywhere}.payment-history td:first-child{white-space:nowrap}.license-row{margin:20px 0;padding:20px;border:1px solid #deded3;border-radius:8px;background:#fafbf7;min-width:0}.license-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.license-row-head .button-row{gap:8px}.license-row-head .checkbox{margin:0}.license-row textarea{font-family:Consolas,monospace;font-size:13px;line-height:1.8;min-height:145px;text-align:left;overflow-wrap:anywhere}.license-row [hidden],.payment-management [hidden]{display:none!important}.license-row .form-grid>*{min-width:0}.license-row input[type=file]{max-width:100%}.license-preview{margin-top:16px}.license-preview summary{cursor:pointer;margin-bottom:10px}.license-row button[data-license-move]{min-width:40px;font-size:18px;line-height:1}.license-row .setting-preview{display:block;max-width:100%;background:#fff}.license-row .button-row{flex-wrap:nowrap}#gatewaySettings .form-grid{margin-top:24px}#gatewaySettings label>small{line-height:2;margin-top:8px}#trustSettings>.checkbox{margin:24px 0}
@media(max-width:700px){.payment-toggles{grid-template-columns:1fr;gap:12px}.license-row{padding:14px}.license-row-head{align-items:flex-start;flex-wrap:wrap}.license-row-head .button-row{margin-right:auto}.payment-management h2{font-size:19px}.payment-table-wrap{margin-bottom:16px}.badges .trust-badge{max-width:150px}.trust-badge iframe{width:140px}.payment-tools .button-row{align-items:stretch;flex-direction:column}.payment-tools .button-row button{width:100%;justify-content:center}}

.payment-history td>small{display:block;margin-top:4px;color:#626750}

.auth-help p,.account-access p{line-height:2;overflow-wrap:anywhere}.auth-help a{color:inherit;text-decoration:underline;text-underline-offset:4px}.auth-help summary,.account-access summary{cursor:pointer}.auth-help form{margin-top:18px}.auth-help button,.account-access button{max-width:100%}.auth-help #forgotResult{padding:12px;background:#efeee8;border-radius:4px}.account-access{margin:24px 0}.account-access>form,.account-access details{max-width:600px}.account-access>p strong{display:inline-block;margin-inline-start:8px}.account-access details{margin-top:24px}.account-access details p{font-size:13px}.auth-form input[type=tel],.account-access input[type=tel]{text-align:left}.auth-form label,.account-access label{min-width:0}
@media(max-width:480px){.auth-help p,.account-access p{font-size:13px}.auth-help button{width:100%;padding-inline:12px}.account-access h2{font-size:22px}.account-access .gold{gap:12px;width:100%}}
