@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --ink: #20201d;
  --cream: #f8f5ef;
  --sand: #eae3d7;
  --gold: #b68a4c;
  --olive: #69705b;
  --line: #d9d3c9;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

.kada-page .photo-placeholder { cursor: pointer; }
.kada-page .photo-placeholder input { display: none; }
.kada-page .photo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 8px; background: #f1eee8; }
.kada-page .photo-gallery:empty { display: none; }
.kada-page .photo-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Admin panel - Login */
.admin-page .admin-wrap { max-width: 900px; margin: auto; padding: 70px 30px; }
.admin-page h1 { margin: 12px 0 22px; font: 400 52px var(--serif); }
.admin-card { margin-bottom: 24px; padding: 30px; border: 1px solid var(--line); background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.admin-form { display: grid; gap: 18px; }
.admin-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.admin-form input, .admin-form select, .admin-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); background: #fff; font: inherit; border-radius: 4px; }
.admin-form textarea { resize: vertical; }
.admin-form .button { border: 0; justify-self: start; cursor: pointer; border-radius: 4px; }

/* Admin Dashboard Layout */
.admin-dashboard-layout { display: flex; min-height: 100vh; background: #f4f5f7; font-family: var(--sans); color: var(--ink); }
.admin-dashboard-layout * { box-sizing: border-box; }
.admin-sidebar { width: 260px; background: var(--ink); color: #fff; display: flex; flex-direction: column; flex-shrink: 0; }
.admin-sidebar-header { padding: 30px 20px; font: 32px var(--serif); border-bottom: 1px solid #333; text-align: center; }
.admin-sidebar-header small { display: block; font: 10px var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.admin-sidebar-nav { display: flex; flex-direction: column; padding: 20px 0; flex: 1; }
.admin-sidebar-nav button { padding: 16px 30px; text-align: left; background: transparent; border: none; color: #a1a1aa; cursor: pointer; transition: 0.2s; font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.admin-sidebar-nav button:hover, .admin-sidebar-nav button.active { background: #2a2a26; color: #fff; border-left: 4px solid var(--gold); padding-left: 26px; }
.admin-sidebar-footer { padding: 20px; border-top: 1px solid #333; }
.admin-sidebar-footer button { width: 100%; padding: 12px; background: #333; color: #fff; border: none; cursor: pointer; font-weight: 600; border-radius: 4px; transition: 0.2s; }
.admin-sidebar-footer button:hover { background: #444; }

.admin-main { flex: 1; padding: 40px 50px; overflow-y: auto; }
.admin-main-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-main-header h2 { margin: 0; font: 400 42px var(--serif); }
.admin-user-email { color: #6b665d; font-size: 13px; font-weight: 600; }

/* Stats */
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 40px; }
.admin-stat-card { background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.admin-stat-card h3 { margin: 0 0 10px; font-size: 12px; color: #6b665d; text-transform: uppercase; letter-spacing: 1px; }
.admin-stat-card p { margin: 0; font-size: 38px; font-weight: 700; color: var(--ink); }

/* Table styles */
.admin-table-container { background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); border: 1px solid var(--line); overflow-x: auto; }
.admin-toolbar { padding: 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; background: #fafafa; border-radius: 8px 8px 0 0; }
.admin-toolbar select, .admin-toolbar input { padding: 10px 15px; border: 1px solid var(--line); border-radius: 4px; font: inherit; min-width: 200px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.admin-table th { font-size: 11px; text-transform: uppercase; color: #6b665d; font-weight: 700; letter-spacing: 1px; background: #fbfbfb; }
.admin-table td { font-size: 14px; vertical-align: middle; }
.admin-table tbody tr:hover { background: #fcfcfc; }
.admin-product-cell { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.admin-product-cell img { width: 45px; height: 45px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.admin-badge { padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; background: #eae3d7; color: var(--ink); }
.admin-actions { display: flex; gap: 8px; }
.admin-actions button { padding: 8px 12px; font-size: 12px; cursor: pointer; border: none; border-radius: 4px; font-weight: 600; transition: 0.2s; }
.admin-actions .btn-edit { background: #f1f5f9; color: #475569; }
.admin-actions .btn-edit:hover { background: #e2e8f0; }
.admin-actions .btn-delete { background: #fef2f2; color: #ef4444; }
.admin-actions .btn-delete:hover { background: #fee2e2; }

/* Image Grid in Edit Form */
.admin-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin-top: 10px; }
.admin-image-item { position: relative; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; aspect-ratio: 1; }
.admin-image-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-image-delete { position: absolute; top: 5px; right: 5px; background: rgba(220, 38, 38, 0.9); color: white; border: none; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; }
.admin-image-delete:hover { background: #b91c1c; }

/* Modal styles */
.admin-modal-overlay { position: fixed; inset: 0; background: rgba(32,32,29,0.8); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; backdrop-filter: blur(2px); }
.admin-modal { background: #fff; padding: 40px; border-radius: 8px; width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.admin-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.admin-modal h2 { margin: 0; font: 400 32px var(--serif); }
.admin-modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #999; }
.admin-modal-close:hover { color: var(--ink); }
.admin-modal-actions { display: flex; gap: 15px; justify-content: flex-end; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 20px; }

/* Category tree */
.admin-tree, .admin-tree ul { list-style: none; margin: 0; padding: 0; }
.admin-tree ul { margin-left: 28px; border-left: 1px dashed var(--line); }
.admin-tree-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.admin-tree-row:hover { background: #fcfcfc; }
.admin-tree-row.is-hidden strong { color: #999; text-decoration: line-through; }
.admin-tree-row .admin-actions { margin-left: auto; }
.admin-tree-level { min-width: 88px; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.admin-tree-count { font-size: 12px; color: #6b665d; }

.hidden { display: none !important; }

@media (max-width: 760px) { 
  .admin-dashboard-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .admin-sidebar-nav { flex-direction: row; flex-wrap: wrap; padding: 10px; }
  .admin-sidebar-nav button { flex: 1 1 50%; padding: 12px; text-align: center; }
  .admin-sidebar-nav button:hover, .admin-sidebar-nav button.active { border-left: none; border-bottom: 4px solid var(--gold); padding-left: 12px; }
  .admin-main { padding: 20px; }
  .admin-main-header h2 { font-size: 32px; }
  .admin-toolbar { flex-direction: column; }
  .admin-table-container { border-radius: 0; margin: 0 -20px; border-left: none; border-right: none; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

/* Shared navigation */
.announcement { background: var(--ink); color: #fff; padding: 10px; text-align: center; font-size: 10px; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; }
.subpage-header { max-width: 1280px; height: 92px; margin: auto; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand-mark { font: 38px/1 var(--serif); letter-spacing: -1px; text-align: center; }
.brand-mark small { display: block; margin-top: 5px; font: 7px var(--sans); letter-spacing: 3px; text-transform: uppercase; }
.nav-link { font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; }

/* Home page */
.home .topbar { height: 34px; display: grid; place-items: center; overflow: hidden; background: var(--ink); color: #fbf7ee; font-size: 11px; font-weight: 600; letter-spacing: 1.15px; text-transform: uppercase; }
.home .site-header { position: sticky; top: 0; z-index: 10; background: rgba(248,245,239,.96); border-bottom: 1px solid var(--line); }
.home .utility { max-width: 1400px; height: 82px; margin: auto; padding: 0 38px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.home .utility-left, .home .utility-right { display: flex; align-items: center; gap: 18px; }
.home .utility-right { justify-content: flex-end; }
.home .brand { font: 39px/1 var(--serif); letter-spacing: -1.4px; text-align: center; }
.home .brand small { display: block; margin-top: 5px; font: 7px var(--sans); letter-spacing: 3.4px; text-transform: uppercase; }
.home .icon-btn { display: grid; place-items: center; padding: 4px; border: 0; background: transparent; cursor: pointer; }
.home .icon-btn svg { width: 20px; height: 20px; stroke-width: 1.7; }
.home .count { width: 15px; height: 15px; margin: -18px 0 0 -15px; border-radius: 50%; background: var(--gold); color: #fff; text-align: center; font-size: 10px; line-height: 15px; }
.home .main-nav { height: 47px; display: flex; justify-content: center; align-items: center; gap: 37px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: 1.15px; text-transform: uppercase; }
.home .main-nav a:hover { color: var(--gold); }
.home .hero { min-height: 650px; display: grid; place-items: center; position: relative; isolation: isolate; color: #fff; background: #665849; }
.home .hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(22,17,12,.55),rgba(22,17,12,.06) 55%),url('https://images.unsplash.com/photo-1617038220319-276d3cfab638?auto=format&fit=crop&w=1800&q=88') center 43%/cover; }
.home .hero-content { margin-top: 170px; text-align: center; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.home .hero h1 { margin: 17px 0; font: 400 clamp(52px,7vw,92px)/.94 var(--serif); letter-spacing: -2.4px; }
.home .hero p { margin: 0 0 28px; font-size: 16px; }
.button { display: inline-flex; min-width: 178px; align-items: center; justify-content: center; gap: 12px; padding: 15px 22px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; transition: .25s; }
.button:hover { background: var(--gold); color: #fff; }
.button.dark { background: var(--ink); color: #fff; }
.home .container { max-width: 1400px; margin: auto; padding: 0 38px; }
.home .section { padding: 96px 0; }
.home .section-top { display: flex; align-items: end; justify-content: space-between; margin-bottom: 36px; }
.home .kicker { margin-bottom: 12px; color: var(--olive); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.home h2 { margin: 0; font: 400 47px/1 var(--serif); letter-spacing: -1.3px; }
.text-link { padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.home .categories, .home .products { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.home .category { height: 390px; position: relative; overflow: hidden; background: #ddd; }
.home .category img, .home .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.home .category:hover img, .home .product-card:hover img { transform: scale(1.05); }
.home .category::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%,rgba(0,0,0,.55)); }
.home .category-label { position: absolute; z-index: 1; right: 0; bottom: 25px; left: 0; color: #fff; text-align: center; font: 28px var(--serif); }
.home .category-label span { display: block; margin-top: 7px; font: 700 10px var(--sans); letter-spacing: 1.4px; text-transform: uppercase; }
.home .split { display: grid; grid-template-columns: 1.08fr .92fr; background: var(--sand); }
.home .split-image { min-height: 590px; background: url('https://images.unsplash.com/photo-1605100804763-247f67b3557e?auto=format&fit=crop&w=1200&q=85') center/cover; }
.home .split-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px 12%; }
.home .split-copy h2 { margin: 10px 0 19px; font-size: 55px; }
.home .split-copy p { max-width: 410px; margin: 0 0 30px; color: #535149; font-size: 15px; line-height: 1.75; }
.home .product-image { height: 370px; position: relative; overflow: hidden; background: #ede9e1; }
.home .tag { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 6px 8px; background: var(--cream); font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.home .wishlist { position: absolute; z-index: 1; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--cream); cursor: pointer; }
.home .wishlist.active { background: var(--ink); color: #fff; }
.home .wishlist svg { width: 17px; }
.home .product-info { padding: 15px 2px; }
.home .product-name { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; }
.home .product-meta { display: flex; justify-content: space-between; color: #767168; font-size: 11px; }
.home .price { color: var(--ink); font-size: 13px; font-weight: 600; }
.home .quick-add { width: 100%; margin-top: 9px; padding: 11px; border: 1px solid var(--ink); background: transparent; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer; }
.home .quick-add:hover { background: var(--ink); color: #fff; }
.home .promise { padding: 72px 0; background: var(--olive); color: #fff; }
.home .promise-grid { display: grid; grid-template-columns: 1.2fr repeat(3,1fr); align-items: center; gap: 40px; }
.home .promise h2 { font-size: 42px; }
.home .promise-item { padding-left: 25px; border-left: 1px solid rgba(255,255,255,.35); }
.home .promise-item strong { display: block; margin-bottom: 7px; font: 400 22px var(--serif); }
.home .promise-item span { color: #e9eee5; font-size: 12px; line-height: 1.5; }
.site-footer { padding: 66px 0 20px; background: #21211e; color: #f6f1e8; }
.footer-grid { max-width: 1400px; margin: auto; padding: 0 38px 60px; display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 45px; }
.footer-brand { font: 42px var(--serif); letter-spacing: -1px; }.footer-copy { max-width: 280px; color: #bdbab0; font-size: 13px; line-height: 1.7; }.footer-title { margin-bottom: 16px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }.footer-links { display: grid; gap: 10px; color: #c4c0b7; font-size: 12px; }.newsletter { display: flex; padding: 8px 0; border-bottom: 1px solid #77736c; }.newsletter input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; }.newsletter button { border: 0; background: transparent; color: #fff; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }.footer-bottom { max-width: 1400px; margin: auto; padding: 18px 38px 0; display: flex; justify-content: space-between; border-top: 1px solid #484640; color: #aaa69e; font-size: 10px; }
.toast { position: fixed; z-index: 30; bottom: 22px; left: 50%; padding: 14px 22px; background: var(--ink); color: #fff; font-size: 12px; transform: translate(-50%,110px); transition: .35s; }.toast.show { transform: translate(-50%,0); }

/* Gold and silver collection landing pages */
.collection-page .collection-wrap { max-width: 1300px; margin: auto; padding: 75px 32px; }.collection-page .collection-intro { max-width: 620px; margin: 0 auto 48px; text-align: center; }.collection-page .collection-intro .eyebrow { color: #77705f; }.collection-page h1 { margin: 14px 0; font: 400 64px/1 var(--serif); letter-spacing: -1.5px; }.collection-page .collection-intro p { color: #5a574f; font-size: 15px; line-height: 1.7; }.collection-page .collection-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }.collection-page .collection-card { height: 460px; position: relative; overflow: hidden; color: #fff; }.collection-page .collection-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%,rgba(0,0,0,.67)); }.collection-page .collection-card img { width: 100%; height: 100%; object-fit: cover; transition: .45s; }.collection-page .collection-card:hover img { transform: scale(1.055); }.collection-page .card-content { position: absolute; z-index: 1; right: 28px; bottom: 33px; left: 28px; }.collection-page .card-content h2 { margin: 0 0 6px; font: 400 43px var(--serif); }.collection-page .card-content p { margin: 0 0 20px; font-size: 12px; }.collection-page .card-cta { padding-bottom: 5px; border-bottom: 1px solid #fff; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }

/* Karat and silver type product pages */
.catalogue-page .catalogue-hero { max-width: 1250px; margin: auto; padding: 65px 30px 37px; }.catalogue-page .catalogue-hero .eyebrow { color: #81735a; }.catalogue-page h1 { margin: 12px 0; font: 400 60px var(--serif); }.catalogue-page .catalogue-hero p { max-width: 580px; color: #645f56; font-size: 15px; line-height: 1.65; }.catalogue-page .catalogue-grid { max-width: 1250px; margin: auto; padding: 0 30px 80px; display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }.catalogue-page .catalogue-product img { width: 100%; height: 350px; object-fit: cover; background: #e7e0d5; }.catalogue-page .catalogue-product h2 { margin: 13px 0 6px; font-size: 14px; }.catalogue-page .catalogue-product p { margin: 0; color: #6b665d; font-size: 12px; }.whatsapp-cta { display: block; padding: 15px; background: var(--ink); color: #fff; text-align: center; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; }

/* Regular silver catalogue */
.regular-page .regular-hero { max-width: 1280px; margin: auto; padding: 65px 30px 24px; }.regular-page .regular-hero .eyebrow { color: #72808a; }.regular-page h1 { margin: 12px 0; font: 400 60px var(--serif); }.regular-page .regular-hero p { max-width: 620px; color: #645f56; font-size: 15px; line-height: 1.65; }.regular-page .catalogue-note { max-width: 1280px; margin: auto; padding: 0 30px 26px; color: #6b665d; font-size: 12px; }.regular-page .catalogue-note strong { color: var(--ink); }.regular-page .regular-grid { max-width: 1280px; margin: auto; padding: 0 30px 80px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }.regular-page .regular-card { border: 1px solid var(--line); background: #fff; }.regular-page .regular-info { padding: 17px; }.regular-page .regular-info h2 { margin: 0 0 6px; font: 400 20px var(--serif); }.regular-page .regular-info p { margin: 0; color: #6b665d; font-size: 12px; }

/* Dynamic catalogue (catalog.html) */
.catalog-page .regular-hero .eyebrow a:hover, .catalog-page .catalogue-note a:hover { color: var(--gold); }
.catalog-page .regular-card { display: flex; flex-direction: column; overflow: hidden; }
.catalog-page .regular-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #ede9e1; transition: transform .45s; }
.catalog-page .catalog-card:hover > img { transform: scale(1.04); }
.catalog-page .regular-info { position: relative; z-index: 1; background: #fff; }
.catalog-page .photo-placeholder { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #ede9e1; color: #8a8378; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.catalog-page .photo-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 6px; background: #f1eee8; }
.catalog-page .photo-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: pointer; background: #e4dfd6; }
.catalog-page .photo-gallery .more-photos { grid-column: 1 / -1; padding: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; cursor: pointer; }
.catalog-page .photo-gallery .more-photos:hover { border-color: var(--ink); }
.catalog-page .photo-gallery img { color: transparent; } /* no alt text flashing in the square while the photo loads */
.catalog-page .catalog-more { max-width: 1280px; margin: -44px auto 0; padding: 0 30px 80px; text-align: center; }
@media (max-width: 760px) { .catalog-page .catalog-more { margin-top: -26px; padding: 0 17px 50px; } }
.catalog-page .catalog-more button { min-width: 220px; padding: 14px 22px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 700 11px var(--sans); letter-spacing: 1.3px; text-transform: uppercase; cursor: pointer; }
.catalog-page .catalog-more button:hover { background: var(--ink); color: #fff; }
.catalog-page .catalog-more button:disabled { opacity: .6; cursor: default; }
.catalog-page .catalog-enquire { margin-top: 8px; display: inline-block; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; border-bottom: 1px solid var(--ink); }
.catalog-enquire { padding: 0 0 1px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: none; font-family: var(--sans); line-height: 1.4; cursor: pointer; }
.catalog-enquire:hover { color: var(--gold) !important; border-bottom-color: var(--gold) !important; }
.catalog-page .photo-gallery img.is-shown { outline: 2px solid var(--gold); outline-offset: -2px; }
.catalog-page .catalog-product.is-linked { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); scroll-margin-top: 84px; }
.catalog-page .catalog-gone { display: inline-block; margin-top: 14px !important; padding: 10px 14px; border-radius: 8px; background: #f1e8da; color: #6b4f2a !important; font-size: 14px !important; }
.catalog-page #product-grid { padding-top: 0; }
.catalog-page #child-grid:not([hidden]) + #product-grid:not([hidden]) { border-top: 1px solid var(--line); padding-top: 30px; }
.catalog-page [hidden] { display: none !important; }
/* On phones each design gets the full width, so its photos and thumbnails are big enough to see. */
@media (max-width: 760px) { .catalog-page #product-grid { grid-template-columns: 1fr; gap: 16px; } }
.search-form { max-width: 620px; margin-top: 24px; display: flex; gap: 8px; }
.search-form input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; }
.search-form input:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(182, 138, 76, .18); }
.search-form .button { min-width: 0; height: 52px; padding: 0 26px; border: 0; border-radius: 10px; cursor: pointer; }
.search-form .button:hover { background: var(--gold); }
.catalogue-page #search-result { margin: 18px 0 0; font-size: 14px; }
.search-list { max-width: 620px; margin: 18px 0 0; padding: 0; list-style: none; }
.search-list li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.search-list li a:hover { color: var(--gold); }

/* Search with a photo (search.html) */
.photo-search { max-width: 620px; margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.photo-pick { height: 50px; padding: 0 20px 0 16px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); font: 700 11px var(--sans); letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer; }
.photo-pick svg { width: 22px; height: 22px; flex: none; }
.photo-pick:hover { background: var(--ink); color: #fff; }
.catalogue-page .catalogue-hero .photo-hint { flex: 1 1 250px; margin: 0; color: #6b665d; font-size: 13px; line-height: 1.5; }
.photo-panel { margin-top: 30px; scroll-margin-top: 84px; }
.photo-query { max-width: 620px; padding: 14px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.photo-query img { width: 88px; height: 88px; flex: none; border-radius: 8px; object-fit: cover; background: #ede9e1; }
.photo-query > div { flex: 1; min-width: 0; }
.photo-query b { display: block; font: 400 20px/1.2 var(--serif); }
.catalogue-page .catalogue-hero #photo-status { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
.catalogue-page .catalogue-hero #photo-status:empty { display: none; }
.photo-progress { height: 4px; margin-top: 8px; overflow: hidden; border-radius: 4px; background: #eae3d7; }
.photo-progress i { display: block; width: 0; height: 100%; background: var(--gold); transition: width .2s; }
.photo-again { margin-top: 10px; padding: 0 0 1px; border: 0; border-bottom: 1px solid var(--ink); background: none; color: var(--ink); font: 700 11px var(--sans); letter-spacing: 1.1px; text-transform: uppercase; cursor: pointer; }
.photo-again:hover { color: var(--gold); border-color: var(--gold); }
.catalogue-page .photo-panel h2 { margin: 30px 0 14px; font: 400 28px/1.2 var(--serif); }
.photo-results { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; list-style: none; }
.photo-results li { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.photo-results li[hidden] { display: none; }
.photo-results .hit-photo img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; background: #ede9e1; color: transparent; }
.photo-results .hit-info { padding: 10px 12px 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.photo-results .hit-info a { color: var(--ink); font: 400 17px/1.25 var(--serif); }
.photo-results .hit-info a:hover { color: var(--gold); }
.photo-results .hit-info span { color: #6b665d; font-size: 12px; }
.photo-results .catalog-enquire { margin-top: 6px; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; }
.photo-best { max-width: 760px; margin-top: 24px; display: grid; grid-template-columns: 320px 1fr; border: 1px solid var(--gold); background: #fff; box-shadow: 0 0 0 1px var(--gold); }
.photo-best[hidden] { display: none; }
.photo-best .best-photo img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; background: #ede9e1; }
.photo-best .best-info { padding: 22px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.photo-best .best-tag { padding: 5px 10px; border-radius: 999px; background: #f1e8da; color: #6b4f2a; font: 700 10px var(--sans); letter-spacing: 1.2px; text-transform: uppercase; }
.catalogue-page .photo-best h3 { margin: 6px 0 0; font: 400 26px/1.2 var(--serif); }
.photo-best h3 a { color: var(--ink); }
.catalogue-page .catalogue-hero .photo-best p { margin: 0; font-size: 13px; line-height: 1.5; }
.catalogue-page .catalogue-hero .photo-best .best-note { margin-top: 4px; color: var(--ink); font-size: 14px; }
.photo-best .best-acts { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.photo-best .best-acts .button { padding: 13px 18px; border-radius: 8px; font-size: 11px; }
.photo-best .catalog-enquire { color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; }
@media (max-width: 760px) { .photo-best { grid-template-columns: 1fr; } .photo-best .best-info { padding: 16px; } }
.photo-more { margin-top: 18px; }
.photo-more button { min-width: 220px; padding: 14px 22px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 700 11px var(--sans); letter-spacing: 1.3px; text-transform: uppercase; cursor: pointer; }
.photo-more button:hover { background: var(--ink); color: #fff; }
.catalogue-page .catalogue-hero .photo-ask { max-width: 620px; margin: 22px 0 0; font-size: 14px; }
.photo-ask a { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--ink); }
.photo-ask a:hover { color: var(--gold); border-color: var(--gold); }
.photo-ask small { display: block; margin-top: 4px; color: #6b665d; font-size: 12px; }
@media (max-width: 760px) {
  .photo-pick { width: 100%; justify-content: center; }
  .photo-results { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .photo-results .hit-info a { font-size: 15px; }
  .catalogue-page .photo-panel h2 { font-size: 24px; }
}

@media (max-width: 760px) {
  .subpage-header { height: 78px; padding: 0 18px; }.brand-mark { font-size: 31px; }.nav-link { font-size: 9px; }
  .home .utility { height: 68px; padding: 0 17px; }.home .brand { font-size: 31px; }.home .main-nav { justify-content: flex-start; gap: 20px; padding: 0 18px; overflow: auto; font-size: 9px; }.home .hero { min-height: 570px; }.home .hero-content { margin-top: 150px; padding: 0 18px; }.home .hero h1 { font-size: 58px; }.home .container { padding: 0 17px; }.home .section { padding: 65px 0; }.home .section h2 { font-size: 38px; }.home .categories, .home .products { grid-template-columns: repeat(2,1fr); gap: 10px; }.home .category { height: 245px; }.home .product-image { height: 240px; }.home .split { grid-template-columns: 1fr; }.home .split-image { min-height: 390px; }.home .split-copy { padding: 55px 25px; }.home .split-copy h2 { font-size: 43px; }.home .promise { padding: 45px 0; }.home .promise-grid { grid-template-columns: 1fr; gap: 24px; }.home .promise-item { padding-left: 18px; }.footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; padding: 0 17px 45px; }.footer-grid > :first-child { grid-column: span 2; }.footer-bottom { flex-direction: column; gap: 13px; padding: 18px 17px 0; }
  .collection-page .collection-wrap { padding: 55px 18px; }.collection-page h1, .catalogue-page h1, .regular-page h1 { font-size: 46px; }.collection-page .collection-grid { grid-template-columns: 1fr; gap: 12px; }.collection-page .collection-card { height: 360px; }.catalogue-page .catalogue-hero, .catalogue-page .catalogue-grid, .regular-page .regular-hero, .regular-page .catalogue-note, .regular-page .regular-grid { padding-right: 17px; padding-left: 17px; }.catalogue-page .catalogue-hero, .regular-page .regular-hero { padding-top: 48px; }.catalogue-page .catalogue-grid, .regular-page .regular-grid { grid-template-columns: repeat(2,1fr); gap: 10px; padding-bottom: 50px; }.catalogue-page .catalogue-product img { height: 220px; }.regular-page .regular-info { padding: 12px; }.regular-page .regular-info h2 { font-size: 17px; }
}
