:root {
      --brick: #8f2f24;
      --brick-dark: #551a15;
      --oxblood: #3a1210;
      --cream: #f7efe1;
      --paper: #fbf7ed;
      --ink: #211916;
      --muted: #7a6860;
      --brass: #c79b4a;
      --brass-soft: #efd38c;
      --green: #18382f;
      --green-soft: #dce8de;
      --line: rgba(33, 25, 22, 0.13);
      --shadow: 0 24px 60px rgba(35, 16, 10, 0.18);
      --radius-lg: 30px;
      --radius-md: 20px;
      --radius-sm: 12px;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at top left, rgba(199, 155, 74, 0.22), transparent 32rem),
        linear-gradient(180deg, #fffaf0 0%, #f4eadb 42%, #efe0cd 100%);
      line-height: 1.55;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: 0.22;
      background-image:
        linear-gradient(rgba(33, 25, 22, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33, 25, 22, 0.04) 1px, transparent 1px);
      background-size: 44px 44px;
      mask-image: linear-gradient(to bottom, #000, transparent 80%);
      z-index: -1;
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    .container {
      width: min(1180px, calc(100% - 36px));
      margin: 0 auto;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      margin: 0 0 1rem;
      color: var(--brass-soft);
      font-size: 0.78rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.16em;
    }

    .eyebrow.dark { color: var(--brick); }
    .eyebrow::before {
      content: "";
      width: 42px;
      height: 1px;
      background: currentColor;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(20px);
      background: rgba(251, 247, 237, 0.86);
      border-bottom: 1px solid rgba(58, 18, 16, 0.11);
    }

    .nav {
      min-height: 78px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      font-weight: 900;
      letter-spacing: -0.03em;
    }

    .brand-mark {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: var(--paper);
      font-family: Cinzel, serif;
      font-weight: 700;
      background:
        linear-gradient(135deg, rgba(199, 155, 74, 0.9), rgba(121, 74, 24, 0.68)),
        radial-gradient(circle at 30% 20%, #f8e6aa, var(--brick));
      box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25), 0 12px 24px rgba(85, 26, 21, 0.2);
    }

    .brand strong {
      display: block;
      font-family: Cinzel, serif;
      font-size: 1.05rem;
      line-height: 1;
    }

    .brand span {
      display: block;
      margin-top: 0.18rem;
      color: var(--muted);
      font-size: 0.72rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.14em;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.78rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .nav-links a {
      padding: 0.7rem 0.75rem;
      border-radius: 999px;
      color: #4b3831;
      transition: 180ms ease;
    }

    .nav-links a:hover {
      color: var(--brick-dark);
      background: rgba(143, 47, 36, 0.08);
    }

    .nav-cta,
    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      min-height: 46px;
      padding: 0.78rem 1rem;
      border: 0;
      border-radius: 999px;
      cursor: pointer;
      font: inherit;
      font-weight: 900;
      letter-spacing: -0.01em;
      transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    }

    .nav-cta,
    .button.primary {
      color: #fff8e6;
      background: linear-gradient(135deg, var(--brick), var(--brick-dark));
      box-shadow: 0 14px 28px rgba(85, 26, 21, 0.22);
    }

    .button.secondary {
      color: var(--ink);
      background: rgba(255, 255, 255, 0.68);
      border: 1px solid rgba(33,25,22,0.15);
    }

    .button:hover,
    .nav-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 36px rgba(85, 26, 21, 0.25);
    }

    .mobile-menu { display: none; }

    .hero {
      position: relative;
      overflow: hidden;
      color: var(--paper);
      background:
        linear-gradient(115deg, rgba(58, 18, 16, 0.96) 0%, rgba(58, 18, 16, 0.88) 46%, rgba(24, 56, 47, 0.72) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600'%3E%3Crect width='900' height='600' fill='%238f2f24'/%3E%3Cg opacity='.22' fill='%23000'%3E%3Crect x='0' y='60' width='900' height='24'/%3E%3Crect x='0' y='168' width='900' height='24'/%3E%3Crect x='0' y='276' width='900' height='24'/%3E%3Crect x='0' y='384' width='900' height='24'/%3E%3Crect x='0' y='492' width='900' height='24'/%3E%3C/g%3E%3Cg opacity='.28' fill='%23f7efe1'%3E%3Crect x='28' y='22' width='112' height='68' rx='3'/%3E%3Crect x='180' y='22' width='112' height='68' rx='3'/%3E%3Crect x='332' y='22' width='112' height='68' rx='3'/%3E%3Crect x='484' y='22' width='112' height='68' rx='3'/%3E%3Crect x='636' y='22' width='112' height='68' rx='3'/%3E%3Crect x='788' y='22' width='112' height='68' rx='3'/%3E%3Crect x='102' y='130' width='112' height='68' rx='3'/%3E%3Crect x='254' y='130' width='112' height='68' rx='3'/%3E%3Crect x='406' y='130' width='112' height='68' rx='3'/%3E%3Crect x='558' y='130' width='112' height='68' rx='3'/%3E%3Crect x='710' y='130' width='112' height='68' rx='3'/%3E%3Crect x='28' y='238' width='112' height='68' rx='3'/%3E%3Crect x='180' y='238' width='112' height='68' rx='3'/%3E%3Crect x='332' y='238' width='112' height='68' rx='3'/%3E%3Crect x='484' y='238' width='112' height='68' rx='3'/%3E%3Crect x='636' y='238' width='112' height='68' rx='3'/%3E%3Crect x='788' y='238' width='112' height='68' rx='3'/%3E%3C/g%3E%3C/svg%3E");
      background-size: cover;
    }

    .hero::after {
      content: "";
      position: absolute;
      width: 620px;
      height: 620px;
      right: -160px;
      top: 8%;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(239, 211, 140, 0.26), transparent 65%);
      pointer-events: none;
    }

    .hero-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
      gap: 4rem;
      align-items: center;
      min-height: calc(100vh - 78px);
      padding: 6rem 0;
    }

    .hero h1 {
      margin: 0;
      max-width: 760px;
      font-family: Cinzel, Georgia, serif;
      font-size: clamp(3.2rem, 8vw, 7.6rem);
      line-height: 0.9;
      letter-spacing: -0.08em;
    }

    .hero h1 span {
      color: var(--brass-soft);
      text-shadow: 0 18px 44px rgba(0,0,0,0.2);
    }

    .hero-copy {
      max-width: 680px;
      margin: 1.6rem 0 2.1rem;
      color: rgba(251, 247, 237, 0.84);
      font-size: clamp(1.04rem, 1.6vw, 1.28rem);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
    }

    .hero-card {
      position: relative;
      border-radius: var(--radius-lg);
      padding: 1.25rem;
      background: rgba(251, 247, 237, 0.12);
      border: 1px solid rgba(251, 247, 237, 0.24);
      backdrop-filter: blur(18px);
      box-shadow: var(--shadow);
    }

    .heritage-plaque {
      min-height: 430px;
      border-radius: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 1.5rem;
      color: var(--paper);
      background:
        linear-gradient(180deg, rgba(20, 12, 9, 0.12), rgba(20, 12, 9, 0.48)),
        linear-gradient(135deg, #6f241d, #220d0b 72%);
      border: 1px solid rgba(239, 211, 140, 0.35);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    }

    .seal {
      width: 128px;
      height: 128px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-family: Cinzel, serif;
      font-size: 1.7rem;
      color: var(--brass-soft);
      border: 2px solid rgba(239, 211, 140, 0.5);
      box-shadow: inset 0 0 0 8px rgba(239, 211, 140, 0.08);
    }

    .plaque-meta {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.9rem;
    }

    .stat {
      padding: 1rem;
      border-radius: 18px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.14);
    }

    .stat strong {
      display: block;
      font-family: Cinzel, serif;
      color: var(--brass-soft);
      font-size: 1.7rem;
      line-height: 1;
    }

    .stat span {
      display: block;
      margin-top: 0.32rem;
      color: rgba(251,247,237,0.76);
      font-size: 0.82rem;
      font-weight: 700;
    }

    .ticker {
      border-top: 1px solid rgba(251, 247, 237, 0.2);
      border-bottom: 1px solid rgba(251, 247, 237, 0.2);
      background: rgba(24, 56, 47, 0.48);
      color: var(--brass-soft);
      overflow: hidden;
      white-space: nowrap;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-size: 0.82rem;
    }

    .ticker-track {
      display: inline-flex;
      gap: 2rem;
      padding: 0.85rem 0;
      animation: marquee 30s linear infinite;
    }

    @keyframes marquee {
      to { transform: translateX(-50%); }
    }

    section { padding: 6rem 0; }

    .section-heading {
      display: grid;
      grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.55fr);
      gap: 2rem;
      align-items: end;
      margin-bottom: 2.3rem;
    }

    .section-heading h2 {
      margin: 0;
      font-family: Cinzel, serif;
      font-size: clamp(2.3rem, 5vw, 4.8rem);
      line-height: 0.98;
      letter-spacing: -0.06em;
      color: var(--oxblood);
    }

    .section-heading p {
      margin: 0;
      color: var(--muted);
      font-size: 1.03rem;
    }

    .intro-panel {
      display: grid;
      grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
      gap: 1.4rem;
      align-items: stretch;
    }

    .quote-card,
    .copy-card,
    .feature-card,
    .event-card,
    .contact-card,
    .shop-card {
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: rgba(251,247,237,0.76);
      box-shadow: 0 20px 44px rgba(52, 26, 18, 0.08);
    }

    .quote-card {
      padding: 2rem;
      color: var(--paper);
      background:
        linear-gradient(160deg, rgba(58, 18, 16, 0.92), rgba(24, 56, 47, 0.9)),
        radial-gradient(circle at 20% 10%, rgba(239,211,140,0.3), transparent 36%);
    }

    .quote-card p {
      margin: 0;
      font-family: Cinzel, serif;
      font-size: clamp(1.8rem, 3vw, 3rem);
      line-height: 1.05;
      letter-spacing: -0.04em;
    }

    .quote-card small {
      display: block;
      margin-top: 1.25rem;
      color: var(--brass-soft);
      font-weight: 900;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .copy-card {
      padding: 2rem;
      font-size: 1.05rem;
      color: #48372f;
    }

    .copy-card p:first-child { margin-top: 0; }
    .copy-card p:last-child { margin-bottom: 0; }

    .timeline {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      margin-top: 1.3rem;
    }

    .timeline-item {
      position: relative;
      overflow: hidden;
      min-height: 210px;
      padding: 1.2rem;
      border-radius: var(--radius-md);
      background: var(--paper);
      border: 1px solid var(--line);
    }

    .timeline-item::before {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 6px;
      background: linear-gradient(90deg, var(--brick), var(--brass));
    }

    .timeline-item strong {
      display: block;
      margin-bottom: 1.2rem;
      font-family: Cinzel, serif;
      font-size: 2.25rem;
      color: var(--brick);
      letter-spacing: -0.06em;
    }

    .timeline-item p {
      margin: 0;
      color: var(--muted);
      font-weight: 600;
    }

    .features {
      background: linear-gradient(180deg, rgba(24, 56, 47, 0.08), rgba(143, 47, 36, 0.06));
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }

    .feature-card {
      position: relative;
      overflow: hidden;
      min-height: 280px;
      padding: 1.4rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 180ms ease, box-shadow 180ms ease;
    }

    .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 26px 60px rgba(52, 26, 18, 0.15);
    }

    .feature-card::after {
      content: attr(data-number);
      position: absolute;
      right: -0.15rem;
      top: -1.6rem;
      font-family: Cinzel, serif;
      font-size: 8rem;
      color: rgba(143, 47, 36, 0.065);
      line-height: 1;
      z-index: 0;
    }

    .feature-card > * { position: relative; z-index: 1; }

    .icon {
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      border-radius: 18px;
      color: var(--brick-dark);
      background: linear-gradient(135deg, rgba(239,211,140,0.72), rgba(199,155,74,0.28));
      font-size: 1.5rem;
    }

    .feature-card h3,
    .shop-card h3,
    .event-card h3,
    .contact-card h3 {
      margin: 1.1rem 0 0.55rem;
      font-family: Cinzel, serif;
      font-size: 1.6rem;
      line-height: 1.05;
      letter-spacing: -0.04em;
      color: var(--oxblood);
    }

    .feature-card p,
    .shop-card p,
    .event-card p,
    .contact-card p {
      margin: 0;
      color: var(--muted);
      font-weight: 560;
    }

    .membership-band {
      position: relative;
      overflow: hidden;
      border-radius: 38px;
      padding: clamp(2rem, 5vw, 4rem);
      color: var(--paper);
      background:
        linear-gradient(135deg, rgba(58,18,16,0.96), rgba(85,26,21,0.92) 50%, rgba(24,56,47,0.93)),
        radial-gradient(circle at 80% 20%, rgba(239,211,140,0.2), transparent 34%);
      box-shadow: var(--shadow);
    }

    .membership-band::before {
      content: "";
      position: absolute;
      inset: 1rem;
      border: 1px solid rgba(239, 211, 140, 0.26);
      border-radius: 28px;
      pointer-events: none;
    }

    .membership-content {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 330px;
      gap: 2rem;
      align-items: center;
    }

    .membership-band h2 {
      margin: 0;
      font-family: Cinzel, serif;
      font-size: clamp(2.5rem, 5vw, 5.4rem);
      line-height: 0.92;
      letter-spacing: -0.07em;
    }

    .membership-band p {
      max-width: 720px;
      color: rgba(251,247,237,0.78);
      font-size: 1.08rem;
    }

    .price-card {
      padding: 1.4rem;
      border-radius: 26px;
      color: var(--ink);
      background: var(--paper);
      border: 1px solid rgba(239,211,140,0.28);
    }

    .price-card .price {
      display: block;
      font-family: Cinzel, serif;
      font-size: 3.6rem;
      color: var(--brick);
      letter-spacing: -0.08em;
      line-height: 1;
    }

    .price-card small {
      color: var(--muted);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    .commerce-grid {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 1rem;
    }

    .shop-card {
      padding: 1.5rem;
      min-height: 270px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .shop-card.featured {
      color: var(--paper);
      background: linear-gradient(135deg, var(--green), #0e211c);
    }

    .shop-card.featured h3 { color: var(--brass-soft); }
    .shop-card.featured p { color: rgba(251,247,237,0.75); }

    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.55rem;
      margin-top: 1.2rem;
    }

    .pill {
      padding: 0.45rem 0.7rem;
      border-radius: 999px;
      background: rgba(143,47,36,0.09);
      color: var(--brick-dark);
      font-size: 0.78rem;
      font-weight: 900;
    }

    .featured .pill {
      background: rgba(239,211,140,0.12);
      color: var(--brass-soft);
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 1rem;
    }

    .gallery-tile {
      min-height: 230px;
      border-radius: 28px;
      overflow: hidden;
      position: relative;
      background:
        linear-gradient(140deg, rgba(58,18,16,0.84), rgba(24,56,47,0.66)),
        var(--brick);
      border: 1px solid rgba(33,25,22,0.12);
    }

    .gallery-tile:nth-child(1) { grid-column: span 7; min-height: 380px; }
    .gallery-tile:nth-child(2) { grid-column: span 5; min-height: 380px; background: linear-gradient(140deg, rgba(24,56,47,0.84), rgba(143,47,36,0.62)); }
    .gallery-tile:nth-child(3),
    .gallery-tile:nth-child(4),
    .gallery-tile:nth-child(5) { grid-column: span 4; }

    .gallery-tile::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle at 28% 28%, rgba(239,211,140,0.26), transparent 22%),
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.07) 50%, transparent 52%);
      background-size: auto, 36px 36px;
    }

    .gallery-caption {
      position: absolute;
      left: 1rem;
      right: 1rem;
      bottom: 1rem;
      padding: 1rem;
      border-radius: 20px;
      color: var(--paper);
      background: rgba(20, 12, 9, 0.42);
      backdrop-filter: blur(14px);
      border: 1px solid rgba(255,255,255,0.18);
      font-weight: 900;
    }

    .events {
      background: var(--oxblood);
      color: var(--paper);
    }

    .events .section-heading h2 { color: var(--paper); }
    .events .section-heading p { color: rgba(251,247,237,0.72); }

    .event-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }

    .event-card {
      padding: 1.3rem;
      background: rgba(251,247,237,0.08);
      border-color: rgba(251,247,237,0.14);
      box-shadow: none;
    }

    .event-card h3 { color: var(--brass-soft); }
    .event-card p { color: rgba(251,247,237,0.72); }

    .date-chip {
      display: inline-grid;
      place-items: center;
      width: 76px;
      height: 76px;
      border-radius: 22px;
      color: var(--ink);
      background: var(--brass-soft);
      font-weight: 900;
      line-height: 1;
      text-align: center;
    }

    .date-chip span {
      display: block;
      font-family: Cinzel, serif;
      font-size: 1.9rem;
    }

    .contact-layout {
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
      gap: 1rem;
    }

    .contact-card {
      padding: 1.5rem;
    }

    .contact-form {
      display: grid;
      gap: 0.9rem;
    }

    input,
    textarea,
    select {
      width: 100%;
      padding: 0.95rem 1rem;
      border: 1px solid rgba(33,25,22,0.16);
      border-radius: 16px;
      background: rgba(255,255,255,0.64);
      color: var(--ink);
      font: inherit;
      outline: none;
    }

    textarea { min-height: 130px; resize: vertical; }

    input:focus,
    textarea:focus,
    select:focus {
      border-color: var(--brick);
      box-shadow: 0 0 0 4px rgba(143,47,36,0.1);
    }

    .footer {
      padding: 3rem 0;
      color: rgba(251,247,237,0.72);
      background: #140c09;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 2rem;
      align-items: center;
    }

    .footer strong {
      display: block;
      color: var(--paper);
      font-family: Cinzel, serif;
      font-size: 1.4rem;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      font-weight: 800;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    @media (max-width: 1040px) {
      .nav-links { display: none; }
      .mobile-menu { display: inline-flex; }
      .hero-grid,
      .intro-panel,
      .section-heading,
      .membership-content,
      .commerce-grid,
      .contact-layout {
        grid-template-columns: 1fr;
      }
      .hero-grid { gap: 2rem; min-height: auto; }
      .feature-grid,
      .event-grid,
      .timeline { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 720px) {
      .container { width: min(100% - 24px, 1180px); }
      .nav { min-height: 68px; }
      .brand span { display: none; }
      .nav-cta { display: none; }
      .hero-grid { padding: 4.2rem 0; }
      section { padding: 4rem 0; }
      .feature-grid,
      .event-grid,
      .timeline,
      .plaque-meta { grid-template-columns: 1fr; }
      .gallery-tile,
      .gallery-tile:nth-child(1),
      .gallery-tile:nth-child(2),
      .gallery-tile:nth-child(3),
      .gallery-tile:nth-child(4),
      .gallery-tile:nth-child(5) {
        grid-column: 1 / -1;
        min-height: 260px;
      }
      .footer-grid { grid-template-columns: 1fr; }
    }

/* Laravel page additions */
.page-hero { padding: 4.5rem 0; color: var(--paper); background: linear-gradient(135deg, var(--oxblood), var(--green)); }
.page-hero h1 { margin:0; font-family:Cinzel,serif; font-size:clamp(2.7rem,6vw,5.7rem); line-height:.95; letter-spacing:-.07em; }
.page-hero p { max-width:760px; color:rgba(251,247,237,.78); font-size:1.1rem; }
.page-content { padding: 4.5rem 0; }
.form-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:1rem; }
.form-grid .full { grid-column:1 / -1; }
.check-list { display:grid; gap:.7rem; margin:1rem 0; }
.check-list label { display:flex; gap:.65rem; align-items:flex-start; font-weight:700; color:#4b3831; }
.admin-shell { display:grid; grid-template-columns:260px minmax(0,1fr); min-height:100vh; }
.admin-sidebar { background:#140c09; color:var(--paper); padding:1.25rem; }
.admin-sidebar a { display:block; padding:.75rem .9rem; border-radius:14px; color:rgba(251,247,237,.78); font-weight:800; }
.admin-sidebar a:hover { background:rgba(239,211,140,.12); color:var(--brass-soft); }
.admin-main { padding:2rem; background:var(--paper); }
.table-wrap { overflow:auto; border:1px solid var(--line); border-radius:20px; background:white; }
table { width:100%; border-collapse:collapse; }
th, td { padding:.9rem; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.badge { display:inline-flex; padding:.3rem .55rem; border-radius:999px; background:rgba(143,47,36,.1); color:var(--brick-dark); font-weight:900; font-size:.78rem; }
.product-grid, .hall-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:1rem; }
.notice { padding:1rem; border-radius:16px; background:var(--green-soft); border:1px solid var(--line); margin-bottom:1rem; }
.calendar-box { min-height:340px; border:1px dashed rgba(33,25,22,.28); border-radius:24px; padding:1rem; background:rgba(255,255,255,.55); }
@media (max-width: 900px){ .form-grid,.product-grid,.hall-grid,.admin-shell{grid-template-columns:1fr;} .admin-sidebar{position:relative;} }
.page-content {
    padding: 4rem 0;
}

.membership-application-card {
    max-width: 960px;
    margin: 0 auto;
}

.membership-form {
    display: grid;
    gap: 1.4rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.check-list {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.check-item {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(33, 25, 22, 0.13);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.45);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.45;
}

.check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    accent-color: var(--brick);
}

.check-item span {
    display: block;
}

.form-errors {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(143, 47, 36, 0.08);
    border: 1px solid rgba(143, 47, 36, 0.22);
    color: var(--brick-dark);
}

.form-errors ul {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
}

@media (max-width: 720px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .check-item {
        grid-template-columns: 22px 1fr;
    }
}
.shop-page,
.product-detail-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 20px;
}

.shop-header {
    margin-bottom: 32px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    color: #8b6f38;
    margin-bottom: 8px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
}

.product-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.product-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f2f2f2;
    display: grid;
    place-items: center;
    color: #777;
}

.product-placeholder.large {
    min-height: 420px;
}

.product-card-body {
    padding: 18px;
}

.product-card-body h2 {
    font-size: 1rem;
    line-height: 1.35;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.product-card-body h2 a {
    color: inherit;
    text-decoration: none;
}

.product-price,
.product-detail-price {
    font-weight: 700;
    margin-bottom: 12px;
}

.product-stock {
    margin-bottom: 10px;
}

.in-stock {
    color: #176b35;
}

.out-stock {
    color: #8a1f1f;
}

.more-link {
    display: inline-block;
    color: #111;
    text-decoration: underline;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-info h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.15;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.product-detail-info form {
    display: grid;
    gap: 12px;
    max-width: 220px;
    margin-top: 20px;
}

.product-detail-info input {
    padding: 10px;
    border: 1px solid #ccc;
}

.product-description-panel {
    border: 1px solid rgba(0,0,0,0.08);
    padding: 28px;
    margin-bottom: 28px;
}

.product-description-panel h2 {
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.product-description {
    line-height: 1.7;
}

.pagination-wrap {
    margin-top: 32px;
}

@media (max-width: 760px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-cart {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
}

.nav-cart:hover {
    background: #7a1f1f;
    color: #fff;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #b00020;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mobile-cart-button {
    display: none;
}

.mobile-product-topbar {
    display: none;
}

.desktop-back-link {
    margin-top: 1.5rem;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
}

.product-actions form {
    margin: 0;
}

.product-buy-form {
    display: grid;
    gap: 0.75rem;
    max-width: 240px;
    margin-top: 1rem;
}

.product-cart-link {
    margin-top: 1rem;
    display: inline-flex;
}

@media (max-width: 768px) {
    .desktop-cart {
        display: none !important;
    }

    .shop-header {
        display: grid;
        gap: 1rem;
    }

    .mobile-cart-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        width: 100%;
        padding: 0.9rem 1rem;
        border-radius: 999px;
        background: #111;
        color: #fff;
        text-decoration: none;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .mobile-cart-button:hover {
        background: #7a1f1f;
        color: #fff;
    }

    .mobile-product-topbar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .mobile-back-link {
        display: inline-flex;
        color: inherit;
        text-decoration: none;
        font-weight: 700;
    }

    .desktop-back-link {
        display: none;
    }

    .product-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-actions .button,
    .product-actions form,
    .product-actions button {
        width: 100%;
    }

    .product-cart-link {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 769px) {
    .desktop-cart {
        display: inline-flex;
    }
}
.event-card {
    overflow: hidden;
}

.event-card-image {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}

.event-card-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.event-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    color: #777;
}

.event-card-content {
    position: relative;
}

.event-card-price {
    font-weight: 800;
    margin: 1rem 0;
}

.event-hero-image {
    margin-bottom: 2rem;
}

.event-hero-image img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.event-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.admin-logout-form {
    margin: 0;
}

.admin-logout-button {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
}