/* —— Reset & Base —— */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: #333; line-height: 1.6; }
a { color: #b38e00; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* —— Front Header —— */
.front-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111;
  border-bottom: 2px solid #b38e00;
  padding: 15px 20px;
}
.front-header .logo-title { display: flex; align-items: center; }
.front-header .logo { max-height: 60px; }
.front-header .site-title {
  font-family: 'Playfair Display', serif;
  color: #b38e00;
  font-size: 1.75rem;
  margin-left: 15px;
}
.front-header .account-nav a {
  margin-left: 20px;
  font-weight: bold;
  color: #b38e00;
}

/* —— Main Menu —— */
.main-menu {
  background: #111;
}
.main-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}
.main-menu li + li { margin-left: 30px; }
.main-menu a { font-weight: bold; color: #b38e00; }
/* in main.css */
.main-menu .live-prices-menu #live-prices-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #ffd700;
  padding-left: 8px;       /* space from previous link */
  border-left: 1px solid #444; /* subtle divider */
}

/* —— Hero Section —— */
.hero {
  background: #f9f9f9;
  text-align: center;
  padding: 60px 0;
}
.hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero p {
  color: #555;
  font-size: 1rem;
}

/* —— Footer —— */
footer {
  background: #111;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}
footer .cta-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #b38e00;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
}
/* —— Product Grid —— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 24px;
  margin: 40px 0;
}

.product-card {
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: auto;
}

.product-card h3 {
  font-family: 'Playfair Display', serif;
  margin: 16px 0 8px;
  color: #111;
  font-size: 1.2rem;
}

.product-card p {
  color: #555;
  margin-bottom: 16px;
  font-size: 1rem;
}
/* PRODUCT DETAIL LAYOUT */
.product-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
}

/* IMAGE GALLERY */
.product-detail .gallery {
  flex: 1 1 300px;
}

.product-detail .gallery .product-image {
  width: 100%;
  max-width: 400px;
  border: 1px solid #ddd;
  border-radius: 4px;
  object-fit: cover;
}

/* INFO PANEL */
.product-detail .info {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-detail .info h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #b08b4f;
  margin-bottom: 0.5rem;
}

.product-detail .info .price {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.25rem;
  margin: 0.5rem 0 1.5rem;
}

.product-detail .info p {
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.5rem;
}

/* ADD-TO-BASKET FORM */
.product-detail .add-to-basket {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-detail .add-to-basket input[type="number"] {
  width: 80px;
  padding: 0.25rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.product-detail .add-to-basket button {
  background: #b08b4f;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
}
/* assets/css/site.css */
.product-images {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.product-images img {
  max-width: 600px;
  height: auto;
  border: 1px solid #ccc;
  padding: 4px;
  background: #fff;
}


.product-detail .add-to-basket button:hover {
  background: #9a7440;
}
/* make product image border more visible */
.product-detail .gallery .product-image {
  border: 2px solid #b08b4f;       /* gold border */
  border-radius: 6px;              /* slightly round the corners */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);  /* subtle drop shadow */
}

/* BASKET CSS*/
.basket-page h2 {
  margin-top: 2rem;
  font-family: 'Playfair Display', serif;
}

.basket-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.basket-table th,
.basket-table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
}
.basket-table th {
  background: #f5f5f5;
  text-align: left;
}

.checkout-cta {
  text-align: right;
  margin-top: 1rem;
}
.btn {
  background: #b08b4f;
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
}

/* ==========================================================================
   Shop Listing (front-end)
   ========================================================================== */
.page-shop .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.page-shop h1 {
  text-align: center;
  color: #111;
  margin-bottom: 2rem;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 16px;
}

.shop-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  padding: 1rem;
  transition: transform .2s, box-shadow .2s;
}

.shop-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.shop-item img {
  max-width: 100%;
  height: auto;
}

.shop-item h2 {
  font-size: 1rem;
  margin: .75rem 0;
  color: #111;
}

.shop-item .price {
  color: #FC0;
  font-weight: bold;
  margin-bottom: .75rem;
}

.shop-item .add-to-cart {
  background: #FC0;
  color: #111;
  border: none;
  padding: .5rem 1rem;
  font-size: .9rem;
  cursor: pointer;
  border-radius: 4px;
}
.page-product .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.breadcrumbs {
  font-size: .8rem;
  margin-bottom: 1rem;
}

.breadcrumbs a { color: #444; text-decoration: none; }
.breadcrumbs span { color: #111; }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.product-detail .gallery img {
  width: 100%;
  margin-bottom: .75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.product-detail .info h1 {
  font-size: 1.5rem;
  color: #111;
  margin-bottom: .5rem;
}

.product-detail .info .meta {
  font-size: .9rem;
  color: #666;
  margin-bottom: 1rem;
}

.product-detail .price-large {
  font-size: 2rem;
  color: #FC0;
  margin-bottom: 1rem;
}

.product-detail form {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.product-detail input[type="number"] {
  width: 60px;
  padding: .3rem;
  font-size: .9rem;
}

.product-detail .add-to-cart {
  background: #FC0;
  color: #111;
  border: none;
  padding: .6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}

.product-detail .description {
  margin-top: 2rem;
  line-height: 1.5;
  color: #333;
}
.page-cart .cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.page-cart th, .page-cart td {
  border: 1px solid #ddd;
  padding: .5rem;
}
.page-cart input[type="number"] {
  width: 60px;
  padding: .3rem;
}
.page-cart .btn-checkout {
  display: inline-block;
  margin-left: 1rem;
  background: #FC0;
  color: #111;
  padding: .5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
}
.product-images img {
  /* allow the image to shrink but never distort */
  max-width: 200px;    /* or whatever max width you want */
  max-height: 200px;   /* optional—limits height too */
  width: auto;         /* let width scale naturally */
  height: auto;        /* let height scale naturally */
  object-fit: contain; /* if you ever fix both width/height, this keeps ratio */
  display: block;      /* removes any inline spacing */
  margin: 0 auto;      /* center inside its container, if needed */
}
/* Contact form container */
.page-contact .contact-section.gold-box {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border: 1px solid #d4af37;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-family: 'Open Sans', sans-serif;
  animation: fadeInUp 0.6s ease-out both;
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Intro text styling */
.page-contact .intro {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #333;
  line-height: 1.5;
}

/* Form rows */
.page-contact .form-row {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}

/* Labels */
.page-contact label {
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #333;
}

/* Inputs & textarea */
.page-contact input,
.page-contact textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.page-contact input:focus,
.page-contact textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Action button row */
.page-contact .form-actions {
  text-align: right;
  margin-top: 1.5rem;
}

/* Primary button style */
.btn-primary {
  background-color: #d4af37;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover:not(:disabled) {
  background-color: #bfa34c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary:disabled {
  background-color: #f0e6c8;
  cursor: not-allowed;
  opacity: 0.7;
}


