/* Retail, wholesale and WhatsApp enquiry interfaces */
.shopping-mode-panel,.repair-service-strip,.repair-appointment,.wholesale-enquiry-panel{margin:28px 0;padding:24px;border:1px solid #e3e9f2;border-radius:16px;background:#fff}
.mode-eyebrow{display:block;margin:0 0 9px;color:#2563eb;font-size:11px;font-weight:800;letter-spacing:.13em}
.shopping-mode-actions{display:flex;flex-wrap:wrap;gap:12px}
.shopping-mode-button{display:flex;align-items:center;gap:12px;min-width:190px;padding:15px 18px;border:1px solid #dce4ef;border-radius:12px;background:#fff;color:#102342;text-align:left;cursor:pointer}
.shopping-mode-button.is-active{border-color:#2563eb;background:#f1f6ff;box-shadow:0 0 0 2px #2563eb12}
.shopping-mode-button>i{width:23px;height:23px;color:#2563eb}.shopping-mode-button strong,.shopping-mode-button small{display:block}.shopping-mode-button small{margin-top:3px;color:#718096;font-size:12px}.mode-description{margin:14px 0 0;color:#64748b;font-size:14px}
.repair-service-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f6f8fc}.repair-service-strip h2,.repair-appointment h2{margin:0 0 8px;color:#102342;font-size:clamp(20px,3vw,27px)}.repair-service-strip p,.repair-appointment p{margin:0;color:#64748b;line-height:1.6}.repair-service-actions{display:flex;flex-wrap:wrap;gap:10px}.repair-action-primary,.repair-action-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:12px 16px;border:0;border-radius:9px;background:#2563eb;color:#fff;text-decoration:none;font:700 13px 'DM Sans',sans-serif;cursor:pointer}.repair-action-secondary{border:1px solid #cbd7e8;background:#fff;color:#102342}.repair-appointment{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px}.kemzy-whatsapp-form{display:grid;gap:9px}.kemzy-whatsapp-form label,.wholesale-enquiry-panel>label{margin-top:5px;color:#253750;font-size:13px;font-weight:700}.kemzy-whatsapp-form input,.kemzy-whatsapp-form textarea,.wholesale-enquiry-panel textarea{width:100%;padding:12px 13px;border:1px solid #dce4ef;border-radius:9px;background:#fff;color:#102342;font:14px 'DM Sans',sans-serif}.kemzy-whatsapp-form input:focus,.kemzy-whatsapp-form textarea:focus,.wholesale-enquiry-panel textarea:focus{outline:2px solid #2563eb30;border-color:#2563eb}.repair-booking-form{grid-template-columns:1fr 1fr}.repair-booking-form label,.repair-booking-form textarea,.repair-booking-form button{grid-column:1/-1}.repair-booking-form input{min-width:0}.repair-booking-form button{margin-top:8px}.wholesale-enquiry-panel[hidden]{display:none}.wholesale-enquiry-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.wholesale-enquiry-heading h3{margin:0;color:#102342}.wholesale-enquiry-heading h3 span{display:inline-grid;place-items:center;min-width:24px;height:24px;margin-left:5px;border-radius:50%;background:#eaf1ff;color:#1d4ed8;font-size:12px}.wholesale-clear{border:0;background:transparent;color:#b42318;font-weight:700;cursor:pointer}.wholesale-enquiry-items{display:grid;gap:8px;margin:14px 0}.wholesale-enquiry-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e7ecf3;border-radius:10px}.wholesale-enquiry-row strong,.wholesale-enquiry-row small{display:block}.wholesale-enquiry-row small{margin-top:3px;color:#718096;font-size:12px}.wholesale-enquiry-row label{display:flex;align-items:center;gap:6px;color:#64748b;font-size:12px}.wholesale-enquiry-row input{width:68px;padding:7px;border:1px solid #dce4ef;border-radius:7px}.wholesale-enquiry-row>button{border:0;background:transparent;color:#b42318;font-size:22px;cursor:pointer}.wholesale-enquiry-panel textarea{display:block;margin:7px 0 12px}.wholesale-enquiry-panel .repair-action-primary:disabled{opacity:.5;cursor:not-allowed}.product-whatsapp-button,.wholesale-add-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 10px;border:1px solid #d5e0ef;border-radius:8px;background:#fff;color:#17345f;font-size:12px;font-weight:700;cursor:pointer}.product-whatsapp-button i,.wholesale-add-button i{width:15px;height:15px}.wholesale-add-button{border-color:#2563eb;background:#2563eb;color:#fff}.shop-product-actions [hidden]{display:none!important}
@media(max-width:760px){.repair-service-strip,.repair-appointment{display:grid;grid-template-columns:1fr}.repair-service-actions{display:grid}.repair-action-primary,.repair-action-secondary{width:100%}.repair-booking-form{grid-template-columns:1fr}.shopping-mode-button{flex:1;min-width:0}.wholesale-enquiry-row{align-items:flex-start;flex-wrap:wrap}}
.shop-product-actions{flex-wrap:wrap}.shop-product-actions .shop-add-button{flex:1 1 105px}.shop-product-actions .product-whatsapp-button,.shop-product-actions .wholesale-add-button{flex:1 1 88px}.shop-product-actions .shop-wishlist-button{flex:0 0 38px;width:38px}


/* Repair appointment modal: keeps the shop page uncluttered until requested. */
.repair-modal{width:min(760px,calc(100% - 28px));max-height:min(88vh,900px);overflow:auto;margin:auto;padding:clamp(20px,3vw,30px);border:1px solid #dce4ef;border-radius:18px;background:#fff;color:#102342;box-shadow:0 24px 80px #06152b55}
.repair-modal::backdrop{background:rgba(5,15,30,.68);backdrop-filter:blur(4px)}
.repair-modal[open]{animation:repairModalIn .18s ease-out}
@keyframes repairModalIn{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
.repair-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}
.repair-modal-header h2{margin:0 0 8px;color:#102342;font-size:clamp(21px,3vw,28px)}
.repair-modal-header p{margin:0;color:#64748b;font-size:14px;line-height:1.6}
.repair-modal-close{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border:1px solid #dce4ef;border-radius:50%;background:#fff;color:#102342;cursor:pointer}
.repair-modal-close svg{width:18px;height:18px}
.repair-booking-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.repair-form-field{display:grid;gap:7px;min-width:0}
.repair-form-field label{margin:0}
.repair-form-field input,.repair-form-field textarea{min-width:0}
.repair-form-wide{grid-column:1/-1}
.repair-modal-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:5px}
.repair-modal-actions button{width:auto;min-width:180px}
body.repair-modal-open{overflow:hidden}
@media(max-width:600px){.repair-modal{padding:18px}.repair-booking-form{grid-template-columns:1fr}.repair-form-wide{grid-column:1}.repair-modal-actions{display:grid}.repair-modal-actions button{width:100%}}


/* Phone brand chooser: four clear brand cards, shown only in the Phones category. */
.phone-brand-chooser{margin:22px 0 28px;padding:22px;border:1px solid #e2e8f0;border-radius:16px;background:#fff}
.phone-brand-chooser[hidden]{display:none!important}
.phone-brand-heading h3{margin:0 0 6px;color:#102342;font-size:clamp(20px,2.6vw,26px)}
.phone-brand-heading p{margin:0;color:#64748b;font-size:14px;line-height:1.6}
.phone-brand-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.phone-brand-card{display:flex;min-height:138px;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;padding:18px;border:1px solid #e0e7f0;border-radius:13px;background:#fff;color:#102342;text-align:left;cursor:pointer;transition:border-color .2s,transform .2s,box-shadow .2s}
.phone-brand-card:hover{transform:translateY(-3px);border-color:#2563eb;box-shadow:0 10px 24px rgba(15,35,66,.08)}
.phone-brand-mark{display:grid;width:35px;height:35px;place-items:center;border-radius:10px;background:#edf3ff;color:#2563eb;font-size:20px;font-weight:800}
.phone-brand-card strong{font-size:16px}.phone-brand-card small{color:#64748b;font-size:11px}
.theme-toggle{position:fixed;right:28px;bottom:91px;z-index:1000;display:grid;width:48px;height:48px;place-items:center;border:1px solid #d8e1ee;border-radius:50%;background:#fff;color:#102342;box-shadow:0 8px 24px rgba(0,0,0,.16);cursor:pointer}
.theme-toggle svg{width:20px;height:20px}
html[data-theme="dark"] .theme-toggle{background:#17243a;color:#f8fafc;border-color:#40516b}
@media(max-width:760px){.phone-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.phone-brand-card{min-height:120px;padding:14px}}
@media(max-width:480px){.theme-toggle{right:18px;bottom:82px;width:44px;height:44px}}

html[data-theme="dark"] .shopping-mode-panel,
html[data-theme="dark"] .repair-service-strip,
html[data-theme="dark"] .repair-appointment,
html[data-theme="dark"] .wholesale-enquiry-panel,
html[data-theme="dark"] .phone-brand-chooser{background:#111d30;border-color:#2b3b52;color:#e5edf8}
html[data-theme="dark"] .shopping-mode-button,
html[data-theme="dark"] .repair-action-secondary,
html[data-theme="dark"] .phone-brand-card{background:#17243a;border-color:#354760;color:#e5edf8}
html[data-theme="dark"] .mode-description,
html[data-theme="dark"] .repair-service-strip p,
html[data-theme="dark"] .phone-brand-heading p,
html[data-theme="dark"] .phone-brand-card small{color:#a8b7ca}
html[data-theme="dark"] .repair-service-strip h2,
html[data-theme="dark"] .wholesale-enquiry-heading h3,
html[data-theme="dark"] .phone-brand-heading h3{color:#f1f5fb}
html[data-theme="dark"] .kemzy-whatsapp-form input,
html[data-theme="dark"] .kemzy-whatsapp-form textarea,
html[data-theme="dark"] .wholesale-enquiry-panel textarea{background:#0b1424;border-color:#354760;color:#f1f5fb}
