/* SSJ Wallpaper: faithful copy of the Wix theme (Oswald / Playfair Display / Helvetica Light, red #a51d2d). */
:root {
  --red: #a51d2d;
  --red-dark: #6e131e;
  --text: #000;
  --muted: #737373;
  --line: #d0d0d0;
  --bg: #fff;
  --bg-soft: #fafafa;
  --heading: 'Oswald', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 5.5vw, 80px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 300 15px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1.2; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { height: 120px; display: flex; align-items: center; background: #fff; position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.brand img { width: 60px; height: 60px; object-fit: contain; }
.brand span { font: 200 24px/1 var(--heading); letter-spacing: .02em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.site-nav a { text-decoration: none; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--red); }
.has-menu { position: relative; display: flex; align-items: center; }
.submenu-toggle { display: none; }
.submenu { display: none; position: absolute; top: 100%; right: -20px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.12);
  padding: 10px 0; min-width: 220px; max-height: 70vh; overflow-y: auto; }
.submenu a { display: block; padding: 6px 20px; white-space: nowrap; font-size: 14px; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { display: block; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #000; margin: 5px 0; }

@media (max-width: 760px) {
  .site-header { height: 84px; }
  .brand img { width: 44px; height: 44px; }
  .brand span { font-size: 20px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 84px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px 16px 16px; box-shadow: 0 8px 16px rgba(0,0,0,.08); max-height: calc(100vh - 84px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav > a, .has-menu > a { padding: 12px 0; font-size: 17px; }
  .has-menu { flex-wrap: wrap; justify-content: space-between; }
  .submenu-toggle { display: block; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
  .submenu-toggle::after { content: ''; position: absolute; left: 16px; top: 14px; width: 9px; height: 9px; border: solid #000; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .2s; }
  .submenu-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); top: 19px; }
  .has-menu:hover .submenu, .has-menu:focus-within .submenu { display: none; }
  .submenu { position: static; box-shadow: none; width: 100%; max-height: none; padding: 0 0 8px 12px; }
  .submenu.open, .has-menu .submenu.open { display: block; }
  .submenu a { padding: 8px 0; font-size: 15px; white-space: normal; }
}

/* Home hero */
.hero { min-height: clamp(460px, 48vw, 700px); background: #eee center / cover no-repeat; display: flex; align-items: center; padding: 80px var(--gutter); }
.hero-box { width: min(640px, 100%); min-height: 420px; background: rgba(255,255,255,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.hero h1 { color: var(--red); font-size: clamp(48px, 6vw, 72px); margin: 0 0 30px; line-height: 1.3; }
.hero p { font: 20px/1.4 var(--serif); margin: 0; }
@media (max-width: 760px) { .hero { padding: 40px 16px; } .hero-box { min-height: 320px; background: rgba(255,255,255,.55); } }

/* Product grids (collections, shop) */
.collection-title { font-size: 28px; font-weight: 300; margin: 20px 0 30px; }
.grid { list-style: none; margin: 0 0 60px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
.tile { display: block; text-decoration: none; text-align: center; font-size: 13px; }
.tile img, .tile .noimg { aspect-ratio: 1; width: 100%; object-fit: cover; background: #f2f2f2; transition: opacity .2s; }
.tile:hover img { opacity: .85; }
.tile-name { display: block; margin-top: 12px; overflow-wrap: anywhere; }
.noimg { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.empty { color: var(--muted); text-align: center; padding: 60px 0; }
.load-more-wrap { text-align: center; margin: -20px 0 60px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }

/* Collections gallery */
.gallery { list-style: none; margin: 20px auto 60px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery-tile { position: relative; display: block; border-radius: 23px; overflow: hidden; color: #fff; text-decoration: none; }
.gallery-tile img { aspect-ratio: 1; width: 100%; object-fit: cover; transition: transform .4s; }
.gallery-tile .caption { position: absolute; inset: auto 0 0 0; padding: 40px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,.65));
  display: flex; flex-direction: column; gap: 2px; opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .3s; }
.gallery-tile .caption strong { font: 400 20px/1.2 var(--heading); }
.gallery-tile .caption span { font-size: 13px; }
.gallery-tile:hover .caption, .gallery-tile:focus-visible .caption { opacity: 1; transform: none; }
.gallery-tile:hover img { transform: scale(1.03); }
@media (hover: none) { .gallery-tile .caption { opacity: 1; transform: none; } }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery-tile { border-radius: 14px; } .gallery-tile .caption { padding: 24px 12px 12px; } .gallery-tile .caption strong { font-size: 16px; } }

/* Product page */
.product { margin-bottom: 80px; }
.breadcrumbs { font-size: 14px; margin: 20px 0 40px; color: var(--muted); overflow-wrap: anywhere; }
.breadcrumbs a { text-decoration: none; color: var(--text); }
.breadcrumbs a:hover { color: var(--red); }
.product-main { width: 100%; max-height: 640px; object-fit: contain; background: #fff; }
.product-main.noimg { aspect-ratio: 16/9; background: #f2f2f2; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.thumbs button { width: 72px; height: 72px; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: #000; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { max-width: 560px; margin-top: 40px; }
.product-info h1 { font-size: 28px; font-weight: 300; margin: 0 0 8px; overflow-wrap: anywhere; }
.sku { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.price { font-size: 18px; margin: 0 0 16px; }
.description { margin-top: 30px; }
.description p { margin: 0 0 4px; }
.in-collections { margin-top: 30px; font-size: 14px; }

/* Buttons */
.button-solid, .button-outline { display: inline-block; font: 400 15px/1 var(--body); padding: 15px 40px; cursor: pointer; text-decoration: none; text-align: center; }
.button-solid { background: #000; color: #fff; border: 1px solid #000; }
.button-solid:hover { background: var(--red); border-color: var(--red); }
.button-outline { background: #fff; color: #000; border: 1px solid #000; }
.button-outline:hover { color: var(--red); border-color: var(--red); }
.button-solid:disabled, .button-outline:disabled { opacity: .5; cursor: default; }

/* Contact */
.contact-page main { background: var(--bg-soft); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 90px; align-items: center; padding-top: 80px; padding-bottom: 80px; max-width: 1280px; }
.contact-text { text-align: center; max-width: 460px; margin: 0 auto; width: 100%; }
.contact-text h1 { color: var(--red); font-size: 44px; margin: 0 0 24px; }
.contact-text p { margin: 0 0 12px; }
.contact-text a { text-decoration: none; }
.contact-text .social { margin: 8px 0 40px; }
.contact-form { display: grid; gap: 10px; text-align: left; }
.contact-form input, .contact-form textarea { width: 100%; font: 300 15px/1.4 var(--body); padding: 13px 12px; border: 1px solid #000; background: transparent; border-radius: 0; }
.contact-form button { justify-self: end; padding: 15px 48px; }
.form-status { margin: 0; min-height: 1.4em; font-size: 14px; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: var(--red); }
.contact-image { width: 100%; max-width: 640px; aspect-ratio: 640/860; object-fit: cover; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 40px; } .contact-image { margin: 0 auto; } }

/* Footer */
.site-footer { text-align: center; padding: 40px 16px 30px; font-size: 14px; }
.social { display: flex; justify-content: center; gap: 12px; }
.social a { display: inline-flex; width: 26px; height: 26px; }
.social svg { width: 100%; height: 100%; fill: currentColor; }
.social a:hover { color: var(--red); }
.site-footer p { margin: 24px 0 0; }
.empty-page { text-align: center; padding: 80px 16px; }
