:root {
  --black: #050505;
  --dark: #111111;
  --gold: #d4a017;
  --gold-light: #f0c75e;
  --white: #ffffff;
  --off-white: #f7f7f7;
  --grey: #666666;
  --border: #e6e6e6;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
  background: var(--off-white);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: var(--black);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 58px;
  display: block;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.top-nav a:hover {
  color: var(--gold-light);
}

/* Basket Dropdown */

.basket-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.basket-wrapper::before {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 380px;
  height: 18px;
  background: transparent;
}

.basket-link span {
  background: var(--gold);
  color: var(--black);
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 4px;
}

.basket-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 380px;
  max-height: 520px;
  overflow-y: auto;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
  border: 1px solid #e5e5e5;
  padding: 18px;
  display: none;
  z-index: 1500;
  color: var(--black);
}

.basket-wrapper:hover .basket-dropdown,
.basket-wrapper:focus-within .basket-dropdown {
  display: block;
}

.basket-dropdown-header {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.basket-empty {
  color: var(--grey);
  margin: 0;
}

.basket-preview-item {
  border-bottom: 1px solid #ececec;
  padding: 12px 0;
}

.basket-preview-item:last-child {
  border-bottom: 0;
}

.basket-preview-name {
  font-weight: 800;
  margin-bottom: 5px;
}

.basket-preview-meta {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.45;
}

.preview-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.preview-controls button {
  min-width: 42px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #dddddd;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
}

.preview-controls button:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.preview-controls .remove-preview-btn {
  min-width: 86px;
}

.basket-preview-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px solid var(--gold);
  font-weight: 900;
  font-size: 1.1rem;
}

.basket-dropdown-footer {
  margin-top: 18px;
}

/* Hero */

.hero {
  background:
    linear-gradient(120deg, rgba(0,0,0,0.86), rgba(0,0,0,0.55)),
    radial-gradient(circle at right, rgba(212,160,23,0.35), transparent 40%),
    var(--black);
  color: var(--white);
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 70px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: 44px;
}

.hero-content {
  min-width: 0;
}

.hero-example {
  justify-self: end;
  width: min(100%, 440px);
  border: 2px solid rgba(212, 160, 23, 0.55);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 22px 55px rgba(0,0,0,0.38);
  transform: rotate(1.5deg);
}

.hero-example img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 0.95;
  margin: 18px 0;
}

.hero p {
  max-width: 620px;
  font-size: 1.15rem;
  color: #eeeeee;
  line-height: 1.6;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
  text-align: center;
}

.btn.primary {
  background: var(--gold);
  color: var(--black);
}

.btn.primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn.secondary {
  background: var(--black);
  color: var(--white);
  border-color: var(--gold);
}

.btn.secondary:hover {
  background: var(--gold);
  color: var(--black);
}

/* Shop */

.shop-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-heading {
  text-align: center;
  margin-bottom: 36px;
}

.section-heading h2,
.custom-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 10px;
}

.section-heading p,
.custom-section p {
  color: var(--grey);
  font-size: 1.05rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image {
  height: 260px;
  min-height: 260px;
  max-height: 260px;
  background: linear-gradient(135deg, #111111, #333333);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(212,160,23,0.18), transparent),
    #1a1a1a;
  color: rgba(240,199,94,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 900;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.product-description {
  color: var(--grey);
  line-height: 1.5;
  min-height: 72px;
}

.product-meta {
  margin: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--black);
}

.badge {
  background: rgba(212, 160, 23, 0.16);
  color: #8a6200;
  border: 1px solid rgba(212, 160, 23, 0.35);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.colour-label {
  display: block;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 800;
  color: var(--black);
}
.colour-dropdown {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 22px;
}

.colour-dropdown:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}
.colour-dropdown-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.selected-colour-swatch {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.25);
  display: block;
  background: #ffffff;
}

.colour-dropdown {
  height: 42px;
  flex: 1;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-weight: 700;
  line-height: 42px;
  cursor: pointer;
  display: block;
  margin: 0;
}

.colour-dropdown:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}
.colour-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-bottom: 22px;
}

.colour-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  padding: 9px 10px;
  border: 1px solid #d8d8d8;
  background: var(--white);
  color: var(--black);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
}

.colour-pill.active {
  border-color: var(--gold);
  background: rgba(212, 160, 23, 0.14);
}

.colour-swatch {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1px solid rgba(0,0,0,0.25);
  flex-shrink: 0;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.paypal-btn {
  width: 100%;
  background: var(--gold);
  color: var(--black);
  border: 0;
}

.paypal-btn:hover {
  background: var(--gold-light);
}

.coming-soon-btn {
  width: 100%;
  background: #d7d7d7;
  color: #666666;
  border: 0;
  cursor: not-allowed;
}

.coming-soon-btn:hover {
  background: #d7d7d7;
  color: #666666;
  transform: none;
}

.details-btn {
  background: var(--white);
  border-color: var(--black);
}

.details-btn:hover {
  background: var(--black);
  color: var(--white);
}

/* Custom section */

.custom-section {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 42px 24px;
  text-align: center;
  background: var(--white);
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Checkout */

.checkout-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px;
}

.checkout-panel {
  background: var(--white);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.checkout-panel h1 {
  font-size: 2.5rem;
  margin-top: 0;
}

.basket-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.basket-item span {
  display: block;
  color: var(--grey);
  margin-top: 4px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button,
.remove-btn {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
}

.qty-controls button:hover,
.remove-btn:hover {
  background: var(--black);
  color: var(--white);
}

.item-total {
  font-weight: 900;
}

.checkout-total {
  font-size: 1.7rem;
  font-weight: 900;
  text-align: right;
  margin: 24px 0;
}

.checkout-panel form {
  display: grid;
  gap: 18px;
}

.checkout-panel label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.checkout-panel input,
.checkout-panel textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
}

.payment-options {
  display: grid;
  gap: 12px;
}

.payment-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--off-white);
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.payment-options input {
  width: auto;
}

.checkout-btn {
  width: 100%;
  margin-top: 10px;
}

.order-output {
  margin-top: 28px;
  padding: 22px;
  border-radius: 18px;
  background: var(--off-white);
  border: 1px solid var(--border);
}

.order-output .btn {
  margin: 8px 8px 0 0;
}

/* Footer */

.site-footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 28px 20px;
  border-top: 3px solid var(--gold);
}

.site-footer a {
  color: var(--gold-light);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-example {
    justify-self: start;
    width: min(100%, 380px);
    transform: none;
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-nav {
    gap: 14px;
    font-size: 0.9rem;
  }

  .basket-dropdown {
    right: -20px;
  }
}

@media (max-width: 700px) {
  .basket-item {
    grid-template-columns: 1fr;
  }

  .checkout-total {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .logo {
    height: 48px;
  }

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

  .top-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .basket-dropdown {
    width: 320px;
    right: -70px;
  }

  .colour-pills {
    grid-template-columns: repeat(2, 1fr);
  }
}
.custom-name-wrap {
  margin-top: 18px;
}

.custom-name-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--black);
}

.custom-name-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 600;
}

.custom-name-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}

.custom-name-helper {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--grey);
}
.second-name-label {
  margin-top: 12px;
}
.basket-edit-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--black);
  margin-top: 10px;
  margin-bottom: 5px;
}

.basket-colour-edit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.basket-colour-edit select,
.basket-name-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}

.basket-name-input {
  margin-bottom: 6px;
}


/* Product colour carousel - shows every attached colour image */
.product-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(48px, 54px));
  justify-content: center;
  gap: 8px;
  padding: 12px 16px 0;
  overflow: visible;
  background: var(--white);
}

.carousel-thumb {
  width: 54px;
  height: 54px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  padding: 4px;
  cursor: pointer;
  transition: 0.18s ease;
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carousel-thumb:hover,
.carousel-thumb.active {
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

.basket-preview-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
}

.basket-preview-thumb {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fafafa;
}

.basket-product-info {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: start;
}

.checkout-item-image {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fafafa;
  padding: 4px;
}

@media (max-width: 700px) {
  .basket-product-info {
    grid-template-columns: 72px 1fr;
  }

  .checkout-item-image {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 380px) {
  .product-carousel {
    grid-template-columns: repeat(auto-fit, minmax(44px, 48px));
    gap: 6px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .carousel-thumb {
    width: 48px;
    height: 48px;
  }
}
.paypal-payment-form {
  margin-top: 18px;
}

.paypal-payment-form .btn {
  width: 100%;
}

/* Checkout delivery / postage */
#basketItems {
  margin-bottom: 0;
}

.basket-item:last-child {
  margin-bottom: 28px;
}

.checkout-totals {
  margin: 0 0 32px;
  padding: 18px 22px;
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  color: var(--grey);
  font-size: 1.02rem;
}

.checkout-total-row + .checkout-total-row {
  border-top: 1px solid #eeeeee;
}

.checkout-total-row span:first-child {
  font-weight: 800;
}

.checkout-total-row span:last-child {
  color: var(--black);
  font-weight: 900;
}

.checkout-totals .checkout-total {
  margin: 14px 0 0;
  padding-top: 16px;
  border-top: 2px solid var(--gold);
  text-align: right;
}

.delivery-options label {
  align-items: flex-start;
}

.option-note {
  margin-left: auto;
  color: var(--grey);
  font-size: 0.9rem;
  font-weight: 700;
}

.postal-address-wrap {
  margin: 16px 0 22px;
  padding: 18px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.postal-address-helper {
  margin: 10px 0 0;
  color: var(--grey);
  font-size: 0.9rem;
}

@media (max-width: 620px) {
  .checkout-total-row {
    font-size: 0.96rem;
  }

  .delivery-options label {
    align-items: center;
    flex-wrap: wrap;
  }

  .option-note {
    width: 100%;
    margin-left: 28px;
  }
}

.checkout-panel hr {
  margin: 32px 0 20px;
}

.item-total {
  font-size: 1.05rem;
}
