/* ============================================================
   Murphy's Event Hire — Shared Design System
   Extracted from index.html (homepage = source of truth)
   ============================================================ */

/* ── Design tokens ── */
:root {
  --bg: #fdf7ef;
  --text: #111;
  --muted: #5f5f5f;
  --accent: #c7a76c;
  --border: #eaeaea;
  --beige: #c7a76c;
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Typography ── */
h1, h2 {
  font-family: 'Cormorant Garamond', serif;
}
h1 {
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: .25rem 0 1rem;
}
h2 {
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 .75rem;
}

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 1100px) {
  .container { max-width: 1300px; }
}

/* ── Header ── */
header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(8px);
}
.nav {
  display: flex;
  align-items: center;
  padding: .5rem 0;
}
.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  gap: .25rem;
}
.brand img {
  height: 100px;
  width: auto;
  max-height: 40vh;
}
.nav .links {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}
.links a { font-weight: 500; }
.nav-pill {
  padding: 6px 0;
  border: none;
  background: none;
  font-weight: 500;
  letter-spacing: .2px;
  color: #1a1a1a;
  transition: transform .18s ease, opacity .18s ease;
}
.nav-pill:hover { transform: translateY(-1px); opacity: .7; }
.nav-pill:active { transform: translateY(0); }
.nav-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.links .nav-pill + .nav-pill {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-icon {
  color: #666;
  display: flex;
  align-items: center;
  padding: 8px;
  transition: color .2s ease;
}
.social-icon svg { width: 32px; height: 32px; }
.social-icon:hover { color: #000; }
.basket-icon { position: relative; }
.basket-count {
  position: absolute;
  top: 0; right: 0;
  background: #e2c044;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  line-height: 1;
}
.quote-btn {
  background: #000;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  margin-left: 12px;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
}
.quote-btn:hover { background: #333; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.quote-btn:active { transform: translateY(0); box-shadow: none; }
.quote-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.staff-btn{background:#1a1a1a;margin-left:4px}
.packages-btn {
  background: var(--accent);
  color: #171717 !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  margin-left: 8px;
  transition: transform .18s ease, box-shadow .18s ease, filter .2s ease;
  white-space: nowrap;
}
.packages-btn:hover { filter: brightness(.92); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.packages-btn:active { transform: translateY(0); box-shadow: none; }
.packages-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.packages-btn .save-label {
  background: #e6f4ea;
  color: #1e7e34;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 5px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1.2;
}
.packages-nav { position: relative; display: inline-flex; }
.packages-dropdown { display: none; }
@media (min-width: 1024px) {
  .packages-dropdown {
    display: block; position: absolute; top: 100%; right: 0; margin-top: 6px;
    background: #fff; border: 1px solid var(--border); border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1); padding: 6px 0; min-width: 240px; z-index: 20;
    opacity: 0; pointer-events: none; transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
  }
  .packages-nav:hover .packages-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .packages-dropdown ul { list-style: none; margin: 0; padding: 0; }
  .packages-dropdown li a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px; font-size: .88rem; font-weight: 500; color: var(--text);
    text-decoration: none; white-space: nowrap; transition: background .12s;
  }
  .packages-dropdown li a:hover { background: rgba(199,167,108,.08); }
  .packages-dropdown .dd-price { color: var(--accent); font-weight: 600; margin-left: 12px; }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: #fff !important;
  background: var(--accent);
  font-weight: 600;
  letter-spacing: .2px;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover, .btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
  color: #fff !important;
}
.btn.primary {
  background: var(--beige);
  color: #171717 !important;
  border-color: transparent;
  font-weight: 700;
}
.btn.primary:hover {
  filter: brightness(0.92);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.btn.primary:active { transform: translateY(1px); }
.btn.outline {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border);
}
.btn.outline:hover { border-color: var(--accent); }

/* ── Sliding reviews strip ── */
.reviews-strip { padding: 6px 0 0; position: relative; z-index: 2; }
.reviews-marquee {
  overflow: hidden; cursor: grab; user-select: none; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.reviews-marquee::-webkit-scrollbar { display: none; }
.reviews-marquee.grabbing { cursor: grabbing; }
.reviews-content { display: flex; align-items: center; gap: 0; width: max-content; }
.review { max-width: 400px; white-space: normal; line-height: 1.55; font-size: 16.5px; font-weight: 500; color: #1a1a1a; flex-shrink: 0; }
.review .stars { color: #c6a75e; font-size: 15px; margin-bottom: 5px; }
.review .name  { font-weight: 600; margin-top: 6px; font-size: 13.5px; color: #444; }
.review p { margin: 0; }
.review-dot { display: flex; align-items: center; justify-content: center; width: 56px; opacity: .8; font-size: 28px; color: #333; flex-shrink: 0; align-self: center; }
@media (max-width: 560px) { .review { max-width: 280px; font-size: 15px; } }

/* ── Footer ── */
footer {
  padding: 2rem 0;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1rem;
  margin-top: .75rem;
  font-size: .75rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: underline;
}

/* ── WhatsApp floating button ── */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.wa-badge {
  position: absolute;
  top: -2px; right: -2px;
  font-size: 8px;
  font-weight: 700;
  color: #25d366;
  background: #fff;
  border-radius: 3px;
  padding: 1px 3.5px;
  line-height: 1.2;
  pointer-events: none;
  letter-spacing: .01em;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,.28); }
.wa-float svg { width: 28px; height: 28px; }

/* ============================================================
   Product detail pages (/glassware/*.html)
   ============================================================ */

/* ── Breadcrumbs ── */
.crumbs {
  font-size: .9rem;
  color: var(--muted);
  margin: .5rem 0 1.5rem;
}
.back-btn {
  display: inline-block;
  padding: .5rem 1.1rem;
  background: #111;
  color: #fff !important;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, transform .12s;
}
.back-btn:hover { background: #333; transform: translateY(-1px); }

/* ── Product hero grid ── */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (min-width: 880px) {
  .product-grid { grid-template-columns: 1.1fr .9fr; }
}
.product-media img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  background: #fff;
  border: 1px solid var(--border);
}
.product-content {
  display: flex;
  flex-direction: column;
}
.product-content h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin: .2rem 0 .5rem;
}
.product-price {
  font-weight: 700;
  font-size: 1.15rem;
  margin: .4rem 0;
  color: var(--accent);
}
.product-desc {
  line-height: 1.7;
  color: #333;
}
.product-cta {
  margin-top: auto;
  padding-top: 2.5rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* ── SEO content sections ── */
.seo-content {
  margin-top: 3rem;
  max-width: 780px;
}
.seo-content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin: 2.5rem 0 .6rem;
  color: var(--text);
}
.seo-content p,
.seo-content li {
  line-height: 1.75;
  color: #444;
  font-size: .97rem;
}
.seo-content ul {
  padding-left: 1.2rem;
  margin: .5rem 0;
}
.seo-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.seo-content a:hover { color: var(--text); }

/* ── FAQ section ── */
.faq {
  margin-top: 3rem;
  max-width: 780px;
}
.faq h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin: 0 0 1rem;
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--accent); font-weight: 700; }
.faq details[open] summary::before { content: "\2212  "; }
.faq .answer {
  margin-top: .6rem;
  line-height: 1.7;
  color: #444;
  font-size: .95rem;
}

/* ── Related products ── */
.related {
  margin-top: 3rem;
  max-width: 780px;
  padding-bottom: 2rem;
}
.related h2 {
  font-size: 1.2rem;
  margin: 0 0 .75rem;
}
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.related-links a {
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text);
  transition: border-color .15s, background .15s;
}
.related-links a:hover {
  border-color: var(--accent);
  background: rgba(199, 167, 108, .08);
}

/* ── Product add-to-basket ── */
.product-basket {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.product-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.product-qty .qty-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: #fff;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  font-family: inherit;
  line-height: 1;
}
.product-qty .qty-btn:hover {
  background: rgba(199,167,108,.1);
}
.product-qty .qty-input {
  width: 48px;
  height: 40px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: #fff;
  -moz-appearance: textfield;
  font-family: inherit;
  outline: none;
}
.product-qty .qty-input::-webkit-outer-spin-button,
.product-qty .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-qty .qty-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.add-to-basket-btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  background: var(--beige);
  color: #171717;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: .3px;
  transition: filter .15s, box-shadow .15s, transform .12s;
  font-family: inherit;
}
.add-to-basket-btn:hover {
  filter: brightness(0.92);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transform: translateY(-1px);
}
.add-to-basket-btn:active {
  transform: translateY(0);
}

/* ── Toast notification ── */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fafafa;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
  border: 1px solid #27272a;
  z-index: 1100;
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
  white-space: nowrap;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.toast a {
  color: #e2c044;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.toast a:hover { text-decoration: underline; }

/* ============================================================
   Mobile overrides
   ============================================================ */
@media (max-width: 600px) {
  .wa-float { bottom: 18px; right: 16px; width: 50px; height: 50px; }
  .wa-float svg { width: 24px; height: 24px; }
}

@media (max-width: 520px) {
  .container {
    max-width: 100% !important;
    padding-left: .5rem !important;
    padding-right: .5rem !important;
  }
  .nav { padding: .3rem 0 !important; }
  .brand img{height:48px!important;width:auto!important;max-height:none!important;flex-shrink:0!important}
  .brand{margin-right:8px!important}
  .nav .links{display:none!important}
  .header-actions{gap:2px!important;flex-shrink:1!important}
  .social-icon{padding:2px!important}
  .social-icon svg{width:18px!important;height:18px!important}
  .quote-btn,.packages-btn,.staff-btn{padding:4px 6px!important;font-size:.55rem!important;letter-spacing:0!important;margin-left:1px!important;white-space:nowrap!important;border-radius:4px!important}
  .packages-btn .save-label{display:none!important}
}
