.cart-trigger{display:inline-flex;align-items:center;gap:7px;width:auto;padding:0 11px;font-size:13px;font-weight:700;border:1px solid #ded8d0;border-radius:12px;background:#fffdf9;color:#272321}.cart-trigger span{display:grid;place-items:center;min-width:21px;height:21px;padding:0 4px;border-radius:20px;background:#8b2225;color:white;font-size:11px}.card-actions{display:flex;gap:7px;margin-top:13px}.card-actions button{flex:1;min-width:0;min-height:36px;border-radius:9px;font-size:12px;font-weight:700;cursor:pointer}.card-buy{background:#8b2225;color:white}.card-add{border:1px solid #d9c8c0;background:#fffdf9;color:#682025}.card-actions button:hover,.modal-add-cart:hover{filter:brightness(.94)}.modal-add-cart{margin-top:10px;min-height:44px;border:1px solid #ba8d84;background:#fffaf6;color:#682025;font-weight:700}.cart-overlay{position:fixed;inset:0;z-index:9997;background:rgba(17,16,18,.48)}.cart-overlay[hidden]{display:none}.cart-drawer{position:fixed;z-index:9998;top:0;right:0;bottom:0;width:min(430px,100vw);display:flex;flex-direction:column;background:#fffdf9;color:#272321;box-shadow:-12px 0 35px #0002;transform:translateX(105%);visibility:hidden;transition:transform .25s ease,visibility .25s}.cart-drawer.open{transform:translateX(0);visibility:visible}.cart-head{display:flex;justify-content:space-between;align-items:start;padding:23px;border-bottom:1px solid #e8e2da}.cart-head small,.cart-bottom small{color:#766b63}.cart-head h2{font-size:24px;margin:3px 0 0}.cart-head h2 span{font-size:15px;color:#8b2225}.cart-head button{font-size:29px;line-height:1;width:35px;height:35px}.cart-items{flex:1;overflow:auto;padding:10px 22px}.cart-empty{padding:25px 0;color:#766b63;line-height:1.5}.cart-item{display:grid;grid-template-columns:1fr auto;gap:5px;padding:16px 0;border-bottom:1px solid #ebe5de}.cart-item strong{grid-column:1/-1}.cart-item>span{color:#766b63;font-size:13px}.cart-item>b{justify-self:end;font-size:14px}.cart-qty{display:flex;align-items:center;gap:10px;grid-column:1/-1;margin-top:7px}.cart-qty button{min-width:31px;height:31px;border:1px solid #ded8d0;border-radius:8px;background:white}.cart-qty button:last-child{margin-left:auto;border:0;color:#8b2225}.cart-bottom{padding:20px 22px 24px;border-top:1px solid #e8e2da}.cart-total{display:flex;justify-content:space-between;font-size:17px;margin-bottom:12px}.cart-bottom p{font-size:12px;color:#766b63;margin:0 0 12px}.cart-bottom small{display:block;text-align:center;margin-top:10px}.cart-bottom .disabled{opacity:.5;pointer-events:none}@media(max-width:560px){.cart-trigger{padding:0 7px;font-size:12px}.card-actions{gap:5px}.card-actions button{font-size:11px;min-height:34px}}

.cart-plan-picker{position:fixed;z-index:9996;width:min(320px,calc(100vw - 24px));padding:16px;border:1px solid #e1d8ce;border-radius:14px;background:#fffdf9;box-shadow:0 16px 42px rgba(26,18,18,.18);color:#272321}
.cart-picker-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.cart-change-plan{grid-column:1/-1;justify-self:start;padding:5px 0;min-height:36px;color:#8b2225;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.cart-plan-editor{grid-column:1/-1;min-width:0;padding:12px;border:1px solid #e4d9d0;border-radius:10px;background:#f7f3ee}.cart-plan-editor label{display:block;font-size:12px;font-weight:600;color:#655f59}.cart-plan-editor select{display:block;width:100%;min-width:0;max-width:100%;margin-top:7px;min-height:44px;padding:8px;border:1px solid #d9c8c0;border-radius:8px;background:#fff;color:#272321;font-size:16px}.cart-plan-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}.cart-plan-actions button{min-height:44px;padding:8px 14px;border:1px solid #d9c8c0;border-radius:8px;background:#fff;color:#682025;font-size:13px;font-weight:700}.cart-plan-actions .cart-plan-save{background:#8b2225;border-color:#8b2225;color:#fff}.cart-change-plan:focus-visible,.cart-plan-editor button:focus-visible,.cart-plan-editor select:focus-visible{outline:2px solid #8b2225;outline-offset:3px}
.cart-picker-head strong{font-size:15px}
.cart-picker-head button{width:28px;height:28px;font-size:23px;line-height:1;color:#766b63}
.cart-plan-picker label{display:block;margin-top:10px;font-size:12px;font-weight:700;color:#655f59}
.cart-plan-picker select{display:block;width:100%;height:41px;margin-top:5px;padding:0 10px;border:1px solid #d9c8c0;border-radius:9px;background:white;color:#272321;font:inherit;font-size:13px}
.cart-picker-price{margin:13px 0;color:#682025;font-size:16px;font-weight:700}
.cart-picker-add{width:100%;min-height:41px;border-radius:9px;background:#8b2225;color:white;font-size:13px;font-weight:700}
.cart-picker-note,.modal-plan-note{margin:8px 0 0;padding:8px 10px;border-radius:8px;background:#fff1cf;color:#714b00;font-size:12px;font-weight:700;line-height:1.4}.modal-plan-note[hidden]{display:none}
.cart-added-toast{position:fixed;z-index:10001;right:20px;bottom:max(20px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:14px;max-width:min(420px,calc(100vw - 24px));padding:13px 14px;border-radius:14px;background:linear-gradient(135deg,#6d28d9,#db2777);color:#fff;box-shadow:0 16px 40px #4c1d9555;opacity:0;transform:translateY(18px) scale(.97);pointer-events:none;transition:opacity .2s ease,transform .2s ease}.cart-added-toast.show{opacity:1;transform:none;pointer-events:auto}.cart-added-message{font-size:13px;font-weight:700;line-height:1.35}.cart-added-toast button{flex:none;padding:7px 10px;border-radius:8px;background:#fff;color:#5b21b6;font-size:12px;font-weight:800}.card-restock,.modal-restock{display:flex;align-items:center;justify-content:center;min-height:38px;margin-top:13px;border:1px solid #caa6a1;border-radius:9px;background:#fffaf6;color:#682025;font-size:12px;font-weight:800;text-decoration:none}.card-restock:hover,.modal-restock:hover{background:#f8ece8}.modal-restock{width:fit-content;min-width:150px;margin-top:10px;padding:0 14px;background:#fff;color:#682025}

/* Wordmarks fill their SVG canvas; give them a smaller optical footprint than icons. */
.product-card .product-wordmark{width:100px;max-width:calc(100% - 42px);height:30px;object-fit:contain;object-position:right center;filter:none;flex-shrink:1}
.product-card[data-name="Netflix Premium"] .product-wordmark,
.product-card[data-name="Apple Music"] .product-wordmark,
.product-card[data-name="Gemini Pro"] .product-wordmark{width:90px;height:27px}
.product-card[data-name="Rezi"] .product-wordmark,
.product-card[data-name="VidIQ Pro"] .product-wordmark{width:80px;height:24px}
.product-card[data-name="Midjourney"] .product-wordmark{width:100px;height:24px}
.product-card[data-name="Higgsfield Pro"] .product-wordmark{width:96px;height:26px}
.product-card[data-name="Crunchyroll"] .product-wordmark{width:104px;height:24px}
.product-card[data-name="iTunes Gift Card"] .product-wordmark{width:64px;height:24px}
.product-card[data-name="IDM Lifetime Licence"] .product-wordmark{width:54px;height:22px}
.modal-logo:has(.modal-logo-img[src*="wordmarks"]){width:128px;min-width:96px;flex-shrink:0;border-radius:12px}.modal-logo-img[src*="wordmarks"]{width:100%;height:100%;padding:10px;object-fit:contain;filter:none}
@media(max-width:600px){
  .product-card .product-wordmark{width:78px;height:24px;max-width:calc(100% - 36px)}
  .product-card[data-name="Netflix Premium"] .product-wordmark,
  .product-card[data-name="Apple Music"] .product-wordmark,
  .product-card[data-name="Gemini Pro"] .product-wordmark{width:72px;height:22px}
  .product-card[data-name="Rezi"] .product-wordmark,
  .product-card[data-name="VidIQ Pro"] .product-wordmark{width:64px;height:20px}
  .product-card[data-name="Midjourney"] .product-wordmark{width:78px;height:22px}
  .product-card[data-name="Higgsfield Pro"] .product-wordmark{width:78px;height:24px}
  .product-card[data-name="Crunchyroll"] .product-wordmark{width:84px;height:22px}
  .product-card[data-name="iTunes Gift Card"] .product-wordmark{width:54px;height:21px}
  .product-card[data-name="IDM Lifetime Licence"] .product-wordmark{width:46px;height:20px}
  .modal-logo:has(.modal-logo-img[src*="wordmarks"]){width:96px;min-width:80px}
}
#modalUnavailable { display: none; }
.product-card .badge-oos { display: none; }
.product-card:has(.badge-oos) .product-price {
  min-height: 36px;
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 13px;
  align-items: center;
}
.product-card:has(.badge-oos) .product-price .price {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
  background: #f0ede8;
  color: #736d65;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
}
.product-unavailable #modalUnavailable { display: block; padding: 16px; border-radius: 10px; background: #f3ece5; color: #682025; }
.product-unavailable .modal-tx-wrap,
.product-unavailable .modal-block:has(.pay-box) { display: none; }

@media (max-width: 600px) {
  .cart-added-toast{left:12px;right:12px;bottom:max(14px,env(safe-area-inset-bottom));justify-content:space-between}
  .nav-wrap { gap: 8px; }
  .nav-wrap .logo { gap: 6px; }
  .nav-wrap .logo-mark { width: 30px; height: 30px; }
  .nav-wrap .logo-psb { font-size: 21px; }
  .nav-wrap .logo-store, .nav-wrap .logo-bar { display: none; }
  .nav-actions { gap: 3px; flex-shrink: 0; }
  .nav-actions .lang-btn { padding: 0 7px; gap: 4px; height: 36px; }
  .nav-actions .lang-label { font-size: 11px; letter-spacing: 0; }
  .nav-actions .lang-btn svg { width: 13px; height: 13px; }
  .nav-actions #searchBtn, .nav-actions .hamburger { width: 36px; height: 42px; flex-shrink: 0; }
  .nav-actions .cart-trigger { padding: 0 7px; gap: 4px; height: 36px; font-size: 11px; }
  .nav-actions .cart-trigger span { min-width: 18px; height: 18px; font-size: 10px; }
}
/* Optical sizes for the remaining full wordmarks; preserve their native ratios. */
.product-card[data-name="Hoichoi"] .product-wordmark{width:96px;height:27px}
.product-card[data-name="Figma Professional"] .product-wordmark{width:70px;height:26px}
.product-card[data-name="Chorki"] .product-wordmark{width:98px;height:28px}
.product-card[data-name="Google Drive Storage"] .product-wordmark,
.product-card[data-name="Google Meet Premium"] .product-wordmark{width:110px;height:28px}
.product-card[data-name="Microsoft Power BI"] .product-wordmark{width:106px;height:32px}
.product-card[data-name="Duolingo Super"] .product-wordmark{width:94px;height:26px}
.product-card[data-name="Quillbot"] .product-wordmark{width:94px;height:27px}
@media(max-width:560px){
 .product-card[data-name="Hoichoi"] .product-wordmark{width:78px;height:23px}
 .product-card[data-name="Figma Professional"] .product-wordmark{width:60px;height:22px}
 .product-card[data-name="Chorki"] .product-wordmark{width:80px;height:24px}
 .product-card[data-name="Google Drive Storage"] .product-wordmark,
 .product-card[data-name="Google Meet Premium"] .product-wordmark{width:88px;height:24px}
 .product-card[data-name="Microsoft Power BI"] .product-wordmark{width:86px;height:26px}
 .product-card[data-name="Duolingo Super"] .product-wordmark,
 .product-card[data-name="Quillbot"] .product-wordmark{width:78px;height:23px}
}
