
@import url('https://fonts.googleapis.com/css2?family=Metamorphous&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* ========== PART 1 THE CODE BELOW WAS ADDED ========== ========== THE CODE BELOW WAS ADDED ========== */

/*hero image*/
#header-img-container {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Circle Image */
#circle-header-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
}
#circle-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Polygon/Background Image */
#polygon-header-img {
  position: relative;
  width: 450px;   
  height: 500px;  
  overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

#polygon-header-img img {
  width: auto;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product section */
.products {
  padding: var(--space-6) 0;
  text-align: center;
}

.products h2 {
  font-size: var(--font-size-2);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Grid */
#product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  #product-grid {
    grid-template-columns: 1fr; 
  }
}

/* Cards (override shop page conflicts) */
.products .card {
  background: #1b2030; 
  border: 1px solid #2a3245;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.products .card-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.products .card-body {
  padding: 1rem;
}

.products .card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--accent-strong);
}

.products .card-body .button {
  background: #c9a96e; /* gold */
  color: #000;
  border-radius: 20px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.products .card-body .button:hover {
  background: #b28a55;
}

/* View All Button */
.view-all-wrapper {
  margin-top: 2rem;
  display: flex;
  justify-content: center; 
}

#view-all {
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
}

/* Ingredients section */
#ingredients {
  padding: var(--space-6) 5%;
  background: #fdfcf7;
}
#ingredients-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr); 
  gap: var(--space-3);
  justify-items: center;
  align-items: center;
}
.circle-photo img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 2px solid #ccc;
}

/* Cart/About split Section */
#cart-products {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding: var(--space-6) 5%;
  align-items: center;
  background: #fff;
}
#summary-about, #cart-div { flex: 1; }
#cart-div img { max-width: 300px; border-radius: 50%; }

/* Blog Section */
#blog-highlight {
  padding: var(--space-6) 5%;
  text-align: center;
}
#blog-highlight h3 { margin-bottom: var(--space-4); }
#blog-highlight .carousel img {
  border-radius: var(--r);
  max-height: 400px;
  object-fit: cover;
}

/* Extra icon grid and fullscreen image */
#photo-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-4);
  padding: var(--space-6) 5%;
  background: #fdfcf7;
  text-align: center;
}
#photo-container p { margin-top: var(--space-2); font-weight: 500; }
.fullscreen-img img {
  width: 100%;
  display: block;
  margin-top: var(--space-4);
  border-radius: var(--r);
}

/* catchphrase section */
#catchphrase {
  text-align: center;
  padding: var(--space-6) 5%;
  background: #fff;
}
#catchphrase h2 {
  font-size: var(--font-size-2);
  color: #6a4c3d;
}

/* Newsletter signup */
.newsletter {
  background: #e3d5c9;
  padding: var(--space-6) 5%;
  text-align: center;
}
.newsletter form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: var(--space-3);
}
.newsletter input {
  padding: 0.75rem 1rem;
  width: 280px;
  border: 1px solid #aaa;
  border-radius: 30px;
}
.newsletter button {
  border-radius: 30px;
  padding: 0.75rem 1.5rem;
  background: #333;
  color: white;
  border: none;
}
.newsletter button:hover { background: #555; }


/* Custom Fonts */
@font-face {
  font-family: 'Metamorphous';
  src: url('fonts/Metamorphous-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
}

h1, h2, h3 {
  font-family: 'Metamorphous', serif;
}

body {
  font-family: 'Roboto', sans-serif;
}

/* ========== END OF PART 1 THE CODE ABOVE WAS ADDED ========== ========== THE CODE ABOVE WAS ADDED ========== */

/* ========== PART 2 CODE BELOW WAS ADDED ========== CODE BELOW WAS ADDED ========== */
#amazon-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) 5%;
  background: var(--panel);
  color: var(--accent-strong);
  gap: var(--space-4);
}

#amazon-promo .promo-left {
  flex: 1;
  background: #b08b67; /* brown background */
  padding: var(--space-4);
  border-radius: var(--r);
  color: #fff;
}

#amazon-promo .promo-left h3 {
  margin-bottom: var(--space-2);
  font-size: var(--font-size-2);
}

#amazon-promo .promo-left p {
  margin-bottom: var(--space-3);
  font-size: var(--font-size-0);
}

#amazon-promo .promo-left .button {
  background: #fff;
  color: #000;
  border-radius: 30px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
}

#amazon-promo .promo-right {
  flex: 1;
  text-align: center;
}

#amazon-promo .promo-right img {
  max-width: 100%;
  border-radius: var(--r);
}

/* Value Proposition Section */
#value-props {
  background: #fdfcf7;
  padding: var(--space-6) 5%;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  grid-template-rows: repeat(2, auto);   
  gap: var(--space-6) var(--space-4);    
  text-align: center;
  max-width: 900px;
  margin: 0 auto; 
}

.value-item img {
  background: #0f1115; 
  border-radius: 50%;
  padding: 1rem;
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: var(--space-2);
}

.value-item p {
  font-size: var(--font-size-0);
  font-weight: 600;
}

/* Tarot Card Section */
#tarot-cards {
  background: black; 
  padding: var(--space-6) 5%;
  text-align: center;
}

.tarot-banner {
  width: 95%;          
  max-width: 1400px;   
  height: auto;        
  display: block;
  margin: 0 auto;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  background: #0f1115;
  color: #ddd;
  padding: var(--space-6) 5% var(--space-4);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-6);
}

.footer-left {
  flex: 1;
  min-width: 250px;
}

.footer-left a {
  color: #fff;
  text-decoration: underline;
}

.footer-links {
  flex: 2;
  display: flex;
  gap: var(--space-6);
  justify-content: center;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: #ddd;
  text-decoration: none;
  font-size: var(--font-size-0);
}

.footer-links ul li a:hover {
  color: #fff;
}

.footer-right {
  flex: 1;
  text-align: center;
  min-width: 200px;
}

.footer-logo img {
  max-width: 60px;
  margin-bottom: var(--space-2);
}

.footer-social a img {
  width: 24px;
  height: 24px;
  margin: 0 0.25rem;
}

.footer-social a:hover img {
  opacity: 0.8;
}
/* ========== END OF PART 2 THE CODE ABOVE WAS ADDED ========== CODE BELOW WAS ADDED ========== */

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ========== Theme ========== */
:root {
  --bg: #0f1115;
  --panel: #151821;
  --elev: #1b2030;
  --text: #e9ecf1;
  --muted: #aeb6c2;

  --accent: #d1d6e0;
  --accent-strong: #ffffff;
  --line: #2a3245;

  --r: 16px;
  --shadow: 0 6px 20px rgba(0,0,0,0.25);

  --font-sans: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  --font-size-0: clamp(0.875rem, 0.84rem + 0.2vw, 1rem);
  --font-size-1: clamp(1.125rem, 1.09rem + 0.3vw, 1.25rem);
  --font-size-2: clamp(1.5rem, 1.36rem + 0.7vw, 1.875rem);
  --font-size-3: clamp(2rem, 1.7rem + 1.4vw, 2.75rem);

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
}

/* ========== GLOBAL (mobile) Base ========== */
body {
  max-width: 1500px; 
  margin: auto;
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: var(--font-size-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: 'Metamorphous', serif;
}

h3 {
  margin-bottom: 20px;
  text-align: center;
}

a {
  text-decoration: none;
  color: var(--accent-strong);
  margin: 5px 20px;
}

strong {
  font-weight: bold;
}

hr {
  width: 100%;
}

/* Custom Fonts */
@font-face {
  font-family: 'Metamorphous';
  src: url('fonts/Metamorphous-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #000;
  padding: var(--space-2) var(--space-3);
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  left: var(--space-3);
  top: var(--space-3);
}

/* Containers */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.button:hover {
  filter: brightness(1.05);
}

.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.button-ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

/* ========== Header & Nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: #1a2735;
}


.header-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
}

.brand {
  color: #cfb482;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: var(--font-size-1);
}

/* Primary nav */
#primary-nav {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

#primary-nav a {
  color: #cfb482;
  text-decoration: none;
  padding: 0.375rem 0.25rem;
  border-radius: 8px;
  outline-offset: 3px;
}

#primary-nav a[aria-current="page"],
#primary-nav a:hover {
  color: var(--accent-strong);
}

#primary-nav a:focus-visible {
  outline: 2px solid var(--accent);
}

/* Mobile nav button */
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  gap: 0.5rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.nav-toggle-text {
  font-size: 0.9rem;
}

.nav-toggle-box {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Mobile menu sheet */
@media (max-width: 900px) {
  .header-row {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  #primary-nav {
    position: absolute;
    inset: calc(100% + 1px) 0 auto 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: var(--space-3) var(--space-3) var(--space-4);
    flex-direction: column;
    gap: var(--space-3);
    transform-origin: top;
    transform: translateY(-8px) scaleY(0.96);
    opacity: 0;
    visibility: hidden;
  }

  #primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scaleY(1);
  }

  @media (prefers-reduced-motion: no-preference) {
    #primary-nav {
      transition: transform .2s ease, opacity .2s ease, visibility 0s linear .2s;
    }

    #primary-nav.is-open {
      transition: transform .2s ease, opacity .2s ease, visibility 0s;
    }
  }
}

/* ========== HERO Section ========== */

.hero {
  background-color: #FEF3C7;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 3.5rem;
  font-weight: 600;
  color: #000;
}
.hero h1 {
  font-size: var(--font-size-3);
  margin-bottom: var(--space-2);
}

.hero-sub {
  font-size: var(--font-size-1);
  color: var(--muted);
  margin-bottom: var(--space-4);
}

#product-page-button {
  background: #1b2030;   
  color: #cfb482;       
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

#product-page-button:hover {
  background: #111;
}

/* Hero image container */
#header-img-container {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Circle Image */
#circle-header-img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2; 
}

#circle-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Polygon/Background Image */
#polygon-header-img {
  position: relative;
  width: 450px;
  height: 500px;
  overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

#polygon-header-img img {
  width: auto;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== PRODUCTS ========== */
.products {
  padding: var(--space-6) 0;
  text-align: center;
  background-color: #1a2735;
}


.products h2 {
  font-size: var(--font-size-2);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #cfb482;
}

/* Grid */
#product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  background-color: transparent;
}

@media (max-width: 768px) {
  #product-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.products .card {
  background: #FEF3C7; /* light beige/gray panel */
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.products .card-media img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.products .card-body {
  padding: 1rem;
}

.products .card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #d97706;
}

.products .card-body .button {
  background: #c9a96e;
  color: #000;
  border-radius: 20px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.products .card-body .button:hover {
  background: #b28a55;
}

/* View All Button */
.view-all-wrapper {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

#view-all {
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
}

/* ========== INGREDIENTS SECTION ========== */
#ingredients {
  padding: var(--space-6) 5%;
  background: #FEF3C7;
}

#ingredients-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
  justify-items: center;
  align-items: center;
}

.circle-photo img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 2px solid #ccc;
}

/* ========== AMAZON PROMO SECTION ========== */
#amazon-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

/* Left side (brown background with text) */
#amazon-promo .promo-left {
  background: #b08b67;
  padding: var(--space-6);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
}

#amazon-promo .promo-left h3 {
  font-size: xx-large;
  margin-bottom: var(--space-2);
}

#amazon-promo .promo-left p {
  font-size: large;
  margin-bottom: var(--space-3);
  color: #fff;
}

#amazon-promo .promo-left .button {
  background: #fff;
  color: #000;
  border-radius: 30px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
}


#amazon-promo .promo-right {
  position: relative;
  overflow: hidden;
}

#amazon-promo .promo-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 150px center;
  display: block;
}

/* Angled overlay */
#amazon-promo .promo-right .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: #1a2735; /* dark blue overlay */
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

#amazon-promo .promo-right .overlay h3 {
  color: #fff;
  font-size: xx-large;
  text-align: left;
  padding-right: 5rem;
}

/* ========== BLOG HIGHLIGHT SECTION ========== */
#blog-highlight {
  padding: var(--space-6) 5%;
  text-align: center;
  background-color: #FEF3C7;
}

#blog-highlight h3 {
  margin-bottom: var(--space-4);
}

#blog-highlight .carousel img {
  border-radius: var(--r);
  max-height: 400px;
  object-fit: cover;
}

/* ========== BLOG ========== */

.mix-it-up {
  padding: var(--space-6) 0;
  background: linear-gradient(180deg, #1b2030 0%, #0f1115 100%);
}
.scroll-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
  gap: 0.5rem;
}

.card-row {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem 0;
  flex: 1;
}

.recipe-card {
  flex: 0 0 180px;
  background: #eee;
  border: 1px solid #ccc;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
}

.image-placeholder {
  background: #ccc;
  margin: 5px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #333;
}

.recipe-card h3,
.recipe-card p,
.recipe-card button {
  margin: 5px;
}

.recipe-card h3 {
  font-weight: bold;
}

.tarot-banner {
  width: 95%;
  max-width: 1400px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: #eee;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.nav-arrow:hover {
  background-color: #ccc;
}

.nav-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #000;
}

.now-you-know {
  background-color: lightgray;
  color: black;
  padding: 3rem 2rem;
  text-align: center;
  padding: var(--space-6) 10%;
  background: #e6dfd4;
}

#catchphrase h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: #222;
}

#catchphrase h2 {
  font-size: 2rem;
  font-family: 'Metamorphous', serif;
  margin-top: var(--space-2);
  color: #333;
}

/* Newsletter */
.newsletter {
  padding: var(--space-6) 5%;
  text-align: center;
}

.newsletter h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
  font-weight: 700;
  text-transform: uppercase;
}

.newsletter p {
  font-size: 0.9rem;
  margin-bottom: var(--space-3);
  color: #222;
  font-weight: 500;
}

.newsletter form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-3);
}

.newsletter input {
  padding: 0.75rem 1rem;
  width: 280px;
  border: 1px solid #aaa;
  border-radius: 30px;
  font-size: 0.95rem;
  font-style: italic;
}

.newsletter button {
  border-radius: 30px;
  padding: 0.75rem 1.5rem;
  background: #b08b67;
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.newsletter button:hover {
  background: #9a734d;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #1a2735;
  color: #ddd;
  padding: var(--space-6) 5% var(--space-4);
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-6);
}

.footer-left {
  flex: 2;
  min-width: 250px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-left a {
  color: #fff;
  text-decoration: underline;
}

.footer-links {
  flex: 2;
  display: flex;
  gap: var(--space-6);
  justify-content: center;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links ul li a:hover {
  color: #fff;
}

.footer-right {
  flex: 1;
  text-align: center;
  min-width: 200px;
}

.footer-logo img {
  max-width: 60px;
  margin-bottom: var(--space-2);
}

.footer-social {
  margin-top: var(--space-2);
}

.footer-social a img {
  width: 24px;
  height: 24px;
  margin: 0 0.25rem;
}

.footer-social a:hover img {
  opacity: 0.8;
}

.site-footer p {
  font-size: 0.8rem;
  margin-top: var(--space-2);
  color: white;
}

/* ========== CHECKOUT PAGE ========== */
.back-to-cart a {
  text-decoration: none;
  color: var(--bg);
  font-size: 1.25em;
  position: relative;
  right: 20px;
  bottom: 5px;
}

.checkout-page {
  display: flex;
  flex-direction: row;
}

.checkout {
  display: flex;
  flex-direction: column;
}

#shipping,
#payment {
  padding: 25px;
}

.checkout input,
.checkout label {
  width: 95%;
}

.checkout h2 {
  font-size: 1.5em;
  font-weight: 700;
  padding: 10px;
}

.checkout label {
  align-content: end;
  justify-items: start;
}

.checkout input {
  line-height: 40px;
  border-radius: 4px;
  border: solid 1.5px;
}

.checkout select {
  border: solid 1.5px;
  border-radius: 4px;
  appearance: base-select;
}

/* Shipping form */
#shipping form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(8, 1fr);
  row-gap: 5px;
  width: 90%;
}

label#first-name {
  grid-area: 1 / 1 / 2 / 3;
}

input#first-name {
  grid-area: 2 / 1 / 3 / 3;
}

label#last-name {
  grid-area: 1 / 3 / 2 / 5;
}

input#last-name {
  grid-area: 2 / 3 / 3 / 5;
}

label#my-inbox {
  grid-area: 3 / 1 / 4 / 3;
}

input#my-inbox {
  grid-area: 4 / 1 / 5 / 3;
}

label#my-phone {
  grid-area: 3 / 3 / 4 / 5;
}

input#my-phone {
  grid-area: 4 / 3 / 5 / 5;
}

label#my-address {
  grid-area: 5 / 1 / 6 / 5;
}

input#my-address {
  grid-area: 6 / 1 / 7 / 5;
  width: 98%;
}

label#my-city {
  grid-area: 7 / 1 / 8 / 3;
}

input#my-city {
  grid-area: 8 / 1 / 9 / 3;
}

label#my-state {
  grid-area: 7 / 3 / 8 / 4;
}

select#my-state {
  grid-area: 8 / 3 / 9 / 4;
  width: 95%;
}

label#my-zip {
  grid-area: 7 / 4 / 8 / 5;
}

input#my-zip {
  grid-area: 8 / 4 / 9 / 5;
  width: 91%;
}

/* Payment form */
#payment form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 3fr 3fr;
  grid-template-rows: repeat(6, 1fr);
  width: 95%;
  column-gap: 5px;
}

label#card-name {
  grid-area: 1 / 1 / 2 / 4;
}

input#card-name {
  grid-area: 2 / 1 / 3 / 4;
}

label#card-customer {
  grid-area: 1 / 4 / 2 / 6;
  text-align: center;
}

input#card-customer-yes {
  grid-area: 2 / 4 / 3 / 5;
  color: var(--accent-strong);
  background-color: var(--bg);
  justify-self: end;
  width: 75%;
}

input#card-customer-no {
  grid-area: 2 / 5 / 3 / 6;
  background-color: var(--accent-strong);
  width: 75%;
}

label#card-num {
  grid-area: 3 / 1 / 4 / 6;
}

input#card-num {
  grid-area: 4 / 1 / 5 / 6;
  width: 91%;
}

label#exp-date {
  grid-area: 5 / 1 / 6 / 3;
  text-align: center;
}

select#exp-date-month {
  grid-area: 6 / 1 / 7 / 2;
  width: 60%;
  justify-self: end;
}

select#exp-date-year {
  grid-area: 6 / 2 / 7 / 3;
  width: 60%;
}

label#card-cvc {
  grid-area: 5 / 3 / 6 / 4;
}

input#card-cvc {
  grid-area: 6 / 3 / 7 / 4;
  width: 70%;
}

label#bill-address {
  grid-area: 5 / 4 / 6 / 6;
  text-align: center;
}

input#bill-address-yes {
  grid-area: 6 / 4 / 7 / 5;
  color: var(--accent-strong);
  background-color: var(--bg);
  justify-self: end;
  width: 75%;
}

input#bill-address-no {
  grid-area: 6 / 5 / 7 / 6;
  background-color: var(--accent-strong);
  width: 75%;
}

/* ========== CART PAGE ========== */
#cart-page-main {
  display: flex;
  gap: 1rem;
  justify-content: space-around;
  margin: 1rem;
}

#cart-heading {
  font-weight: bold;
  font-size: 1.3rem;
  color: black;
}

h3,
p,
i,
h4 {
  color: black;
}

hr {
  width: 100%;
}

#your-cart,
#order-summary {
  display: flex;
  flex-direction: column;
  font-weight: bold;
  padding: 1rem;
  border-radius: 4px;
  border: 1px solid black;
}

#your-cart {
  width: 65%;
}

#order-summary {
  width: 35%;
  height: 50%;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
}

.cart-left {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.cart-details input {
  margin-top: 1.5rem;
}

.cart-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-img {
  height: 100px;
  width: 100px;
}

#grand-total {
  border: var(--bg) solid 1px;
  width: 100%;
  border-radius: 4px;
}

#grand-total button {
  border: 1px solid black;
  width: 100%;
  justify-self: center;
  border-radius: 4px;
  height: 1.75rem;
  margin: 0.5rem 0;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
}

#grand-total button:hover {
  box-shadow: inset 4px 4px 8px var(--muted), inset -4px -4px 8px var(--muted);
  transition: 0.5s;
  transform: translateY(1px);
}

@media (max-width: 768px) {
  #cart-page-main {
    flex-direction: column;
    justify-content: center;
  }

  #your-cart,
  #order-summary {
    width: 90%;
  }
}

/* ========== SHOP PAGE ========== */
#products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}

.shop-heading {
  font-weight: bold;
  margin: 1.5rem;
  font-size: 24px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
  border-radius: 4px;
  box-shadow: none;
  background-color: white;
  padding: none;
}

.card-img {
  height: auto;
  width: 100%;
}

.card-top {
  border-bottom: 1px solid black;
}

.card-btn {
  background-color: white;
  color: black;
  border: 1px solid black;
  border-radius: 4px;
  padding: 0.5rem;
  margin: 0;
}

.card-btn:hover {
  transition: 0.5s;
  background-color: black;
  color: white;
}

@media (max-width: 768px) {
  #products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #products {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ========== MODAL STYLES ========== */
#overlay {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.7);
}

.overlay-show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-hide {
  display: none;
}

#close-modal {
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  cursor: pointer;
  align-self: flex-end;
  padding-right: 1rem;
  padding-top: 1rem;
}