:root{color-scheme:light;--cm-bg:#fff;--cm-card:#fff;--cm-card-soft:#f2f8ff;--cm-input:#fbfdff;--cm-heading:#082b57;--cm-border:#dce9f6}
:root[data-theme=dark]{color-scheme:dark;--cm-bg:#091422;--cm-card:#122237;--cm-card-soft:#172d45;--cm-input:#0e1d30;--cm-heading:#e8f3ff;--cm-border:#2b4158;--navy:#e8f3ff;--blue:#70b6ff;--cyan:#42d4ec;--surface:#122237;--white:#122237;--text:#d5e4f2;--muted:#a1b8ce;--line:#2b4158;--cm-shadow:0 14px 38px #0003;--cm-focus:0 0 0 4px #70b6ff25}
body{background:var(--cm-bg)}
.cm-theme-toggle{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid var(--cm-border);border-radius:14px;padding:0;background:var(--cm-card-soft);color:var(--cm-heading);transition:background .2s,transform .2s}
.cm-theme-toggle[hidden]{display:none}
.cm-theme-toggle:hover{transform:translateY(-2px)}
.cm-theme-sun{display:none}
[data-theme=dark] .cm-theme-moon{display:none}
[data-theme=dark] .cm-theme-sun{display:block}
[data-theme=dark] :is(h1,h2,h3,h4){color:var(--cm-heading)}
[data-theme=dark] .site-header{background:#0e1d30;border-color:var(--cm-border);box-shadow:0 5px 30px #0002}
[data-theme=dark] .site-header .brand{background:#fff;border-radius:16px;padding-inline:10px}
[data-theme=dark] .site-header .brand img{mix-blend-mode:normal}
[data-theme=dark] .topbar{background:#07101c;color:#b8d2ec}
[data-theme=dark] :is(.header-search,.filter-search){background:var(--cm-input);border-color:var(--cm-border)}
[data-theme=dark] .header-search:focus-within,[data-theme=dark] .filter-search:focus-within{background:var(--cm-input);border-color:#70b6ff}
[data-theme=dark] .hero{background:radial-gradient(ellipse at 22% 10%,#17334b 0,transparent 55%),linear-gradient(130deg,#091422,#10283c)}
[data-theme=dark] :is(.hero-caption,.hero-copy .eyebrow,.hero-note>span){background:var(--cm-card);color:var(--text);border-color:var(--cm-border)}
[data-theme=dark] .hero-photo{border-color:#20354b}
[data-theme=dark] .hero-copy h1 span{background:linear-gradient(100deg,#78baff,#44d8ed);background-clip:text;-webkit-background-clip:text;color:transparent}
[data-theme=dark] :is(.category-card,.product-card,.form-card,.summary,.metric-card,.media-card,.radio-card,.account-order,.empty-state,.auth-form){background:var(--cm-card);border-color:var(--cm-border);color:var(--text)}
[data-theme=dark] :is(.category-card small,.category-card p,.product-stock,.step-number){color:var(--muted)}
[data-theme=dark] .category-card:hover,[data-theme=dark] .product-card:hover{border-color:#4976a2}
[data-theme=dark] .product-image{background:linear-gradient(150deg,#172d45,#13283e)}
[data-theme=dark] :is(.how-section,.contact-ribbon,.filter-bar){background:linear-gradient(125deg,#102338,#172d45);border-color:var(--cm-border)}
[data-theme=dark] .contact-ribbon .eyebrow{color:#8ac5ff}
[data-theme=dark] :is(.round-arrow,.add-button,.pagination a,.icon-button,.header-actions a:hover){background:var(--cm-card-soft);color:var(--blue);border-color:var(--cm-border)}
[data-theme=dark] :is(.desktop-nav a:hover,.desktop-nav a[aria-current=page],.mobile-dialog nav a:hover,.mobile-dialog nav a[aria-current=page]){background:#203d5a;color:#9cd1ff;border-color:#355b7c}
[data-theme=dark] .button{color:#fff}
[data-theme=dark] .button:hover:not(:disabled){background:#085dcc;border-color:#70b6ff;color:#fff}
[data-theme=dark] .button.outline,[data-theme=dark] .button.light{background:var(--cm-card-soft);color:var(--cm-heading);border-color:var(--cm-border)}
[data-theme=dark] .button.outline:hover{background:#203d5a;border-color:#4b79a3}
[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select,.cm-select-trigger,.cm-select-list){background:var(--cm-input);color:var(--text);border-color:var(--cm-border)}
[data-theme=dark] :is(input,textarea,select):focus-visible{background:var(--cm-input);border-color:#70b6ff}
[data-theme=dark] .cm-select-option[aria-selected=true],[data-theme=dark] .cm-select-option.is-highlighted{background:#203d5a;color:#b1dcff;outline-color:#3b6386}
[data-theme=dark] .cm-select-option{color:var(--text)}
[data-theme=dark] :is(input[type=checkbox],input[type=radio]){border-color:#6a89a5;background-color:var(--cm-input)}
[data-theme=dark] input[type=checkbox]:checked{background-color:#1474de;border-color:#75b6ff}
[data-theme=dark] input[type=radio]:checked{background:radial-gradient(circle,#70b6ff 0 38%,#0e1d30 42%)}
[data-theme=dark] .radio-card:has(input:checked){background:#203d5a}
[data-theme=dark] :is(.mobile-dialog,.cm-contact-panel){background:var(--cm-card);color:var(--text);border-color:var(--cm-border)}
[data-theme=dark] .cm-contact-head{background:linear-gradient(125deg,#172d45,#203d5a);border-color:var(--cm-border)}
[data-theme=dark] :is(.cm-contact-close,.cm-contact-icon,.cm-scroll-top){background:var(--cm-card-soft);color:var(--blue);border-color:var(--cm-border)}
[data-theme=dark] .cm-contact-links a:hover{background:var(--cm-card-soft);border-color:var(--cm-border)}
[data-theme=dark] .cm-contact-more{border-color:var(--cm-border)}
[data-theme=dark] .cm-contact-toggle[aria-expanded=true]{background:#204a75}
[data-theme=dark] .store-map{border-color:var(--cm-border);background:var(--cm-card)}
[data-theme=dark] .cm-voyage{background:radial-gradient(ellipse at 50% 42%,#172d45 0,#0e1d30 48%,#091422 100%)}
[data-theme=dark] .cm-voyage-logo{background:#fff;box-shadow:0 18px 55px #0005}
[data-theme=dark] .footer{background:#060e19;color:#c5d9ed}
[data-theme=dark] .footer :is(h3,a){color:#d8eaff}
[data-theme=dark] .footer p{color:#a1b8ce}
[data-theme=dark] .footer-bottom{border-color:#23374b}
[data-theme=dark] .notice{border-color:#3a5269}
[data-theme=dark] .notice.warning{background:#3c321c;color:#ffe0a4}
[data-theme=dark] .notice.error{background:#3c2230;color:#ffc1d1}
[data-theme=dark] .notice.success{background:#133c35;color:#a6efcf}
[data-theme=dark] :is(.status,.product-badge){background:#203d5a;color:#bbdeff}
[data-theme=dark] :is(th,td,.history-row,.account-order,.order-lines>div,.contact-details>div,.summary-total){border-color:var(--cm-border)}
[data-theme=dark] .admin-body{background:var(--cm-bg)}
[data-theme=dark] :is(.admin-sidebar,.admin-topbar){background:var(--cm-card);border-color:var(--cm-border);color:var(--text)}
[data-theme=dark] .admin-sidebar nav a{color:var(--muted)}
[data-theme=dark] .admin-brand img{background:#fff;border-radius:12px;padding:6px}
[data-theme=dark] .admin-sidebar nav a.active,[data-theme=dark] .admin-sidebar nav a:hover{background:#203d5a;color:#b1dcff}
[data-theme=dark] :is(.admin-welcome,.metric-card>span,.user-avatar,.readiness-grid>div){background:var(--cm-card-soft);color:var(--cm-heading)}
[data-theme=dark] .table-wrap th{background:var(--cm-card-soft);color:var(--muted)}
[data-theme=dark] .admin-footer{border-color:var(--cm-border)}
/* Catalogue photography keeps its original colours on a separate light surface. */
[data-theme=dark] .storefront .category-card img{mix-blend-mode:normal;background:#fff;border-radius:18px;box-shadow:0 8px 24px #0002}
[data-theme=dark] .storefront :is(.product-gallery>img,.thumbnail,.cart-thumb){background:#fff;border-color:var(--cm-border)}
[data-theme=dark] .storefront .product-image img{mix-blend-mode:normal}
[data-theme=dark] .storefront .product-bottom{border-color:var(--cm-border)}
[data-theme=dark] .storefront .image-placeholder{background:var(--cm-card-soft);color:var(--muted)}
[data-theme=dark] .storefront .hero-curve{background:var(--cm-bg)}
[data-theme=dark] .storefront .hero-caption>span{background:var(--cm-card-soft);color:var(--blue)}
[data-theme=dark] .storefront .quantity-control{background:var(--cm-input);color:var(--text)}
[data-theme=dark] .storefront .quantity-control input:focus{background:var(--cm-input);color:var(--text)}
[data-theme=dark] .storefront .quantity-control button{background:var(--cm-card-soft);color:var(--cm-heading)}
[data-theme=dark] .notice:not(.warning):not(.error):not(.success){background:#133c35;color:#a6efcf}
[data-theme=dark] .storefront .status.completed{background:#163d35;color:#88dfb9}
[data-theme=dark] .storefront .status.cancelled{background:#422636;color:#f2a1b7}
/* Match the specificity of the motion styles for active and hover states. */
[data-theme=dark] .storefront .pagination a:is(.active,[aria-current=page]){background:linear-gradient(120deg,#0875f0,#085dcc);color:#fff;border-color:#458ee1}
[data-theme=dark] .storefront .mobile-dialog nav a:is(:hover,[aria-current=page]),[data-theme=dark] .storefront .desktop-nav a:is(:hover,[aria-current=page]){background:#203d5a;color:#9cd1ff;border-color:#355b7c}
[data-theme=dark] .storefront .add-button:hover,[data-theme=dark] .storefront .category-card:hover .round-arrow{background:#0d64d4;color:#fff;border-color:#70b6ff}
[data-theme=dark] :is(input,textarea)::placeholder{color:#a1b8ce;opacity:1}
[data-theme=dark] .skip{background:var(--cm-card);color:var(--text)}
[data-theme=dark] .field-error{color:#ffc1d1!important}
[data-theme=dark] .cart-link b{background:#0d64d4;color:#fff}
.storefront .add-button{flex-shrink:0}
@media(max-width:600px){.storefront .category-card{display:grid;grid-template-columns:minmax(0,1fr) 42%;gap:14px}.storefront .category-card>div{min-width:0}.storefront .category-card img{width:100%;height:145px;margin:0}.storefront .category-card h3{font-size:clamp(21px,5.8vw,26px);overflow-wrap:anywhere}.storefront .category-card p{overflow-wrap:anywhere}}
@media(max-width:380px){.storefront .product-bottom{flex-wrap:wrap;gap:10px}.storefront .product-bottom .price{flex-basis:100%}.storefront .product-bottom>:is(a,form){margin-left:auto}}
@media(max-width:600px){.cm-theme-toggle{width:36px;height:36px;border-radius:12px}[data-theme=dark] .site-header .brand{padding-inline:5px;border-radius:12px}}
@media(prefers-reduced-motion:reduce){.cm-theme-toggle{transition:none}}
@media print{:root[data-theme=dark]{color-scheme:light;--cm-bg:#fff;--cm-card:#fff;--cm-heading:#082b57;--navy:#082b57;--text:#213f66;--muted:#60758d;--line:#dce9f6}.cm-theme-toggle{display:none!important}}
