:root {
    --ink: #242424;
    --muted: #5d605f;
    --paper: #f8f6f1;
    --cream: #fbf8f2;
    --line: #e2ded6;
    --accent: #c07a57;
    --teal: #48c6d4;
    --dark: #232323;
    --shadow: 0 16px 40px rgba(29, 26, 24, 0.12);
}

    :root {
      --primary: #f8f7f4;
      --secondary: #31302c;
      --gray-100: #f3f3f3;
      --gray-200: #e9e9e9;
      --gray-300: #d1d1d1;
      --gray-400: #a0a0a0;
      --gray-500: #6c6c6c;
      --border-radius: 12px;
      --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: calibri, Arial, sans-serif;
    background:
        linear-gradient(90deg, rgba(248, 246, 241, 0.98), rgba(248, 246, 241, 0.8));
}

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

img {
    display: block;
    max-width: 100%;
}

.main-container {
    max-width: 1440px;
    margin: 0 auto;
background-color: #f7f7f7;
}

.sub-page-container {
  width: 100%;          /* Occupies 90% of screen on mobile */
  max-width: 1200px;   /* Prevents getting too wide on ultrawide monitors */
  margin: 35px auto 35px 0;      /* Centers the container */
}

@font-face {
  font-family: "H1-TitlesOrtica";
  src:
    url("../FONTS/OrticaLinear-Regular.woff") format("woff"),
    url("../FONTS/OrticaLinear-Regular.woff") format("woff2");
}

.site-header {
    min-height: 98px;
    padding: 18px 38px;
    display: grid;
    grid-template-columns: 230px 1fr 120px;
    align-items: center;
    justify-items: center;
    gap: 28px;
    color: #fff;
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-logo-div {
display:grid;
text-align: end;
}

.header-logo-div h1 {
    font-family: 'Delius Swash Caps', cursive;
    color: var(--secondary-color);
    font-weight:normal;
}

.logo-sup h1{
font-size: 1.3rem;
font-weight:normal;
padding-bottom: .1rem;

}

.logo-sub h1{
line-height: 1.2rem;
padding-right: .7rem;
font-size: 1.5rem;
font-weight:normal;
  sup {
    font-size:1.1rem;
    font-weight:normal;
  }
}

.brand {
    width: max-content;
    color: #f0b5c0;
    font-family: "Delius Swash Caps", "Trebuchet MS", cursive;
    line-height: 0.85;
    text-align: center;
    transform: rotate(-2deg);
}

.brand span {
    display: block;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.brand strong {
    display: block;
    margin-top: -2px;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 400;
}

.links {
 font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
 font-size: 1rem;
 color:#b0d0d3;

}

.main-nav {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 4vw, 52px);
}

/* .main-nav a:hover,
.cart-link:hover {
    color: #fff;
} */

/* link hover */

.layer,
.layer:after {
  font-family: "H1-TitlesOrtica", Georgia, serif;
  display: block;
  font-size: .8rem;
  color: #868686;
  font-weight: 600;
  white-space: pre;
  position: relative;
}

.layer:after {
  content: attr(data-text);
  color: var(--accent);
  position: absolute;
  top: 0px;
  left: 0px;
  width: 0px;
  overflow: hidden;
  transition: .2s linear width;
  -webkit-transition: .2s linear width;
  -moz-transition: .2s linear width;
  -o-transition: .2s linear width;
  -ms-transition: .2s linear width;
}

.layer:hover:after {
  width: 100%;
  cursor: pointer;
}

.text-link-layer,
.text-link-layer:after {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 800;
  white-space: pre;
  position: relative;
}

.text-link-layer:after {
  content: attr(data-text);
  color: var(--dark);
  position: absolute;
  top: 0px;
  left: 0px;
  width: 0px;
  overflow: hidden;
  transition: .2s linear width;
  -webkit-transition: .2s linear width;
  -moz-transition: .2s linear width;
  -o-transition: .2s linear width;
  -ms-transition: .2s linear width;
}

.text-link-layer:hover:after {
  width: 100%;
  cursor: pointer;
}
/**/

/* <<<<<<<<<<<<< PRODUCT CARD CSS >>>>>>>>>>>>>>>>>>> */

    .product-grid {
      display: grid;
      max-width: 1200px;
      grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
      gap: 20px;
      margin: 25px auto 30px;
    }
    .product-card {
      background-color: rgb(0, 0, 0);
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
      transition: var(--transition);
      position: relative;
      height: 350px;
      display: flex;
      flex-direction: column;
    }

  .product-card::before {
  opacity: 0;
  content: " ";
  position: absolute;
  display: block;
  width: 120px;
  height: 360px;
  background: linear-gradient(
    90deg,
    transparent,
    #ff2288,
    #387ef0,
    transparent
    );
  transition: opacity 300ms;
  animation: rotation_9018 3000ms infinite linear;
  animation-play-state: paused;
    }
    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
      & .product-info {
        padding: 16px 16px 45px 16px;
      }
      & .add-to-cart {
      background-color: #efc96f;
        transform: scaleX(-1);
       }
    }

    .product-image {
      height: 450px;
      width: 100%;
     background-image: url('images/b-ring002.webp');
      background-size: cover;
      background-position-y: 0;
      background-position-x: center;
      background-repeat: no-repeat;
      position: relative;
      overflow: hidden;
      backdrop-filter:brightness(1);
    }

    .product-image::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.1) 100%);
      opacity: 0;
      transition: var(--transition);
      backdrop-filter:brightness(1.1);
    }

    .product-card:hover .product-image::after {
      opacity: 1;
      filter:brightness(1.2);
    }

    .product-label {
      position: absolute;
      top: 12px;
      left: 12px;
      padding: 4px 10px;
      background-color: var(--dark);
      color: white;
      font-size: 11px;
      font-weight: 600;
      border-radius: 4px;
      text-transform: uppercase;
      letter-spacing: .5px;
      box-shadow: var(--shadow);
    }

    #product-wishlist {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 30px;
      height: 30px;
      background-color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      opacity: 1;
      transform: translateY(5px);
      transition: var(--transition);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      z-index: 10;
    }

    .product-card:hover .product-wishlist {
      opacity: 1;
      transform: translateY(0);
    }

    .wishheart {
        fill: var(--cream);
        stroke: var(--gray-400);
        stroke: 2px;

    }

    .wishheart.active {
      fill: #e74c3c;
      stroke: #e74c3c;
        
    }

    .product-info {
        background-color: #ffffff;
      padding: 16px 16px 16px 16px;
      flex-grow: 1;
      display: grid;
      margin-bottom: 0px;
      transition: padding 0.3s ease;
    }

   .add-to-cart > svg {
        pointer-events: none; 
      }

    .product-category {
      font-size: 13px;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 4px;
    }

    .product-name {
      font-size: 18px;
      font-weight: 600;
      color: var(--secondary);
      margin-bottom: 6px;
      line-height: 1.3;
      letter-spacing: -0.01em;
    }

    .rating {
      display: flex;
      align-items: center;
      margin-bottom: 8px;
    }

    .stars {
      display: flex;
      margin-right: 6px;
    }

    .star {
      color: #ffd700;
      font-size: 12px;
    }

    .review-count {
      font-size: 12px;
      color: var(--gray-400);
    }

    .price-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: auto;
    }

    .price {
      font-weight: 700;
      font-size: 18px;
      color: var(--secondary);
      letter-spacing: -0.02em;
    }

    .original-price {
      font-size: 14px;
      color: var(--gray-400);
      text-decoration: line-through;
      margin-left: 6px;
    }

    .add-to-cart {
      background-color: var(--gray-200);
      color: var(--secondary);
      border: none;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    transform: scaleX(1);
    transition: transform 1s;
      transition: .6s var(--transition);
      opacity: 0.9;
    }

    .add-to-cart:hover {
      background-color: var(--secondary);
      color: var(--cream);
     & .product-quick-view {
        color:var(--cream);
     }
    }

    .add-to-cart:active {
      transform: scale(0.95);
    }

    .cart-tooltip {
      position: absolute;
      bottom: 100%;
      right: 0;
      background-color: var(--secondary);
      color: white;
      font-size: 12px;
      padding: 6px 12px;
      border-radius: 4px;
      white-space: nowrap;
      opacity: 0;
      transform: translateY(5px);
      transition: var(--transition);
      pointer-events: none;
      margin-bottom: 8px;
    }

    .cart-tooltip::after {
      content: '';
      position: absolute;
      top: 100%;
      right: 14px;
      border-width: 5px;
      border-style: solid;
      border-color: var(--secondary) transparent transparent transparent;
    }

    .add-to-cart:hover + .cart-tooltip {
      opacity: 1;
      transform: translateY(0);
    }

    .product-quick-view {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      /* background-color: rgba(49, 48, 44, 0.9); */
      background-color: #efc96f;
      color: var(--dark);
      text-align: center;
      padding: 10px;
      font-weight: 500;
      font-size: 16px;
      transform: translateY(100%);
      transition: var(--transition);
      cursor: pointer;
    }

    .product-quick-view:hover {
        color: var(--cream)
    }

    .product-card:hover .product-quick-view {
      transform: translateY(0);
    }

    .cart-notification {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: var(--secondary);
      color: white;
      padding: 12px 16px;
      border-radius: var(--border-radius);
      display: flex;
      align-items: center;
      gap: 10px;
      transform: translateY(100px);
      opacity: 0;
      transition: var(--transition);
      z-index: 10;
      max-width: 300px;
    }

    .cart-notification.active {
      transform: translateY(0);
      opacity: 1;
    }

    .notification-check {
      width: 18px;
      height: 18px;
      background-color: var(--accent);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .notification-text {
      font-size: 14px;
      line-height: 1.4;
      flex: 1;
    }

/* <<<<<<<< PRODUCT CARD CSS END >>>>>>>>>>>> */
.cart-icons {
    display: flex;
    gap: 24px;
    align-items: center;
}

.cart-icons a {
    color:#b0d0d3;
    text-decoration: none;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

#cart-icon {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 20px;
    transform: scaleX(1);
    transition: transform .3s;
    color:#48c6d4
}

.st1, .st2 {
        fill:#48c6d4;
        stroke: #48c6d4;
        stroke-width: 5px; 
        stroke-miterlimit: 10;
}   

.cart-icons a:hover,
.cart-icons a:focus {
    color: #fff;
    #cart-icon{
    transform: scaleX(-1);
    .st0 {
        fill:#fff;
      }
    .st1, .st2 {
        fill: #fff;
        stroke: #fff;
        stroke-miterlimit: 10;
      }
}
}

/* AI nav
.main-nav {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 4vw, 52px);
}

.main-nav a,
.cart-link {
    color: var(--teal);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.main-nav a:hover,
.cart-link:hover {
    color: #fff;
}

.cart-link {
    justify-self: end;
    position: relative;
    padding-left: 31px;
}

.cart-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 23px;
    height: 23px;
    transform: translateY(-55%);
    background: url("../../KarensJewellryBox/Karens-jewelry-box/images/kart-icon.webp") center / contain no-repeat;
}

*/

.hero {
    min-height: 510px;
    display: grid;
    align-items: center;
    padding: 64px min(8vw, 100px);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 35%, rgba(255, 252, 247, 0.08) 61%),
        url("../images/hero-bg-image-002.webp") right center / cover no-repeat;
}

.hero-copy {
    max-width: 520px;
}

.hero h1,
.collections h2,
.story h2 {
    margin: 0;
    font-family: "H1-TitlesOrtica", Georgia, serif;
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: .5px;
}

.hero h1 {
    max-width: 520px;
    font-size: clamp(4.1rem, 8vw, 7rem);
}

.hero p {
    max-width: 430px;
    margin: 34px 0 0;
    color: var(--muted);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    line-height: 1.45;
}

.hero-actions {
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 34px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
    & .layer:after {
        width: 100%;
        cursor: pointer;
        }
}

.button-dark {
    color: #fff;
    background: var(--cream);
    box-shadow: 0 12px 24px rgba(23, 23, 24, 0.3);
}

.button-light {
    min-height: auto;
    font-weight: bold;
    padding: 0;
    color: var(--accent);
    text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff;
}

.button-light::after,
.section-heading a::after,
.collection-card a::after {
    content: " ->";
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 28px min(8vw, 90px);
    background: rgba(250, 249, 244, 0.96);
    border-bottom: 1px solid var(--line);
}

.feature {
    min-height: 116px;
    padding: 0 30px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.feature:last-child {
    border-right: 0;
}

.feature h2 {
    margin: 14px 0 8px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.feature p {
    margin: 0 auto;
    max-width: 240px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.25;
}

.feature-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    /* color: var(--accent);
    background: currentColor; */
    opacity: 0.88;
}

.leaf  {
aspect-ratio: 0.941;
	border-shape: shape(from 0% 98.23%,smooth by 17.65% -21.08% with 20.36% -19.45%,smooth by -5.96% -15.83% with -6.03% -11.21%,curve by 12.37% -32.79% with 0.15% -6.17%/-0.15% -20.09%,smooth by 37.25% -13.91% with 22.7% -11.07%,curve by 38.69% -14.62% with 19.15% -3.69%/38.69% -14.62%,curve by -1.96% 41.8% with 0% 0%/0.15% 24.91%,smooth by -43.97% 44.71% with -22.17% 41.45%,curve by -33.03% -6.03% with -17.57% 2.63%/-33.03% -6.03%,line by -19.38% 19.52%,line by -1.58% -1.7%,close,move to 15.99% 85.02%,line by 53.84% -49.33%,move to 35.9% 49.54%,vline by 16.39%,move to 57.16% 65.93%,line by -21.27% 0.85%);
    border: 3px solid #b56f5b;
}

.diamond {
    	aspect-ratio: 1.076;
	border-shape: shape(from 100% 35.73%,line by -49.23% 64.27%,line by -49.51% -64.27%,line by 19.52% -35.73%,hline by 57.37%,line by 21.84% 35.73%,close,move to 23.03% 3.7%,line by 27.81% 96.22%,move to 78.16% 0%,line by -27.32% 99.92%,move to 0% 35.35%,hline by 100%,move to 69.52% 31.57%,line by -18.89% -20.02%,line by -19.38% 20.54%);
    border: 3px solid #b56f5b;
}

.heart {
	aspect-ratio: 1.112;
	border-shape: shape(from 99.96% 29.21%,curve by -51.31% 70.79% with -1.98% 39.97%/-51.31% 70.79%,curve by -48.61% -70.79% with 0% 0%/-45.71% -29.94%,curve by 26.48% -29.21% with -0.72% -10.32%/6.19% -29.21%,curve by 23.51% 14.35% with 16.27% 0%/23.51% 14.35%,curve by 25.29% -14.35% with 0% 0%/9.09% -14.35%,curve by 24.63% 29.21% with 20.29% 0%/25.16% 18.89%,close);
    border: 3px solid #b56f5b;
}

.gift{
	aspect-ratio: 0.958;
	border-shape: shape(from 46.36% 16.97%,curve by -17% 5.54% with 0% 6.16%/-9.21% 5.54%,smooth by -14% -11.16% with -14% -5%,smooth by 14% -11.16% with 6.29% -11.16%,smooth by 17% 16.77% with 17% 10.61%,close,move to 29.36% 0.21%,curve by -14% 11.16% with -7.71% 0%/-14% 5%,smooth by 14% 11.16% with 6.29% 11.16%,smooth by 17% -5.54% with 17% 0.62%,smooth by -17% -16.77% with -9.21% -16.77%,close,move to 56.5% 16.77%,curve by 17% 5.54% with 0% 6.16%/9.21% 5.54%,smooth by 14% -11.16% with 14% -5%,smooth by -14% -11.16% with -6.29% -11.16%,smooth by -17% 16.77% with -17% 10.61%,close,move to 94.86% 24.44%,hline by -89.36%,vline by 74.47%,hline by 89.36%,vline to 24.44%,close,move to 100% 21.42%,hline by -100%,vline by 20.74%,hline by 100%,vline by -20.74%,close,move to 43.14% 24.44%,vline by 75.56%,move to 58.43% 24.44%,vline by 74.47%);
    border: 3px solid #b56f5b;
}

.collections {
    padding: 54px min(8vw, 100px) 62px;

}

.section-heading {
    display: flex;
    align-items: baseline;
    gap: 48px;
    margin-bottom: 32px;
}

.section-heading h2 {
    font-size: clamp(2.6rem, 5vw, 4rem);
    margin-bottom: 1rem;
    font-family: "H1-TitlesOrtica", Georgia, serif;
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: .5px;
    
}

.section-heading h3 {
    font-size: clamp(1.2rem, 1.5vw, 3rem);
    margin: 0;
    font-family: "H1-TitlesOrtica", Georgia, serif;
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: .5px;
    color: var(--accent);
    padding-top: 35px;
}

.section-heading a,
.collection-card a {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    &:hover {
        color: #656565;
    }
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.jewelry-card {
  display:grid;
  grid-row-gap: 20px;
    width: 300px;
    background: #f4f4f4;
    border: 1px solid #d2d2d2;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    font-family: 'Playfair Display', sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;

    & .title {
    font-size: 20px;
    color: var(--dark);
    margin: 10px 0;
    }
  }

  .jewelry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--dk-ornge);
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 20px;
    z-index: 1;
  }

  
  /* .product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #0f0f0f;
    filter: contrast(1.2);
  } */

  .product-image img {
    max-width: 100%;
    transition: transform 0.5s ease;
  }

  .jewelry-card:hover .product-image img {
    transform: scale(1.1);
  }

  .category {
    font-size: 12px;
    font-family: 'Times New Roman', Times, serif;
    color: darkgoldenrod;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
  }

  .price-container {
    margin: 15px 0;
  }

  .sale-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--gold);
  }

  .original-price {
    text-decoration: line-through;
    color: #bbb;
    font-size: 14px;
    margin-left: 10px;
  }

  .buy-btn {
    background: var(--dk-ornge);
    color: rgb(255, 255, 255);
    border-radius: 5px;
    border: none;
    padding: 10px 25px;
    width: 100%;
    cursor: pointer;
    font-family:'FontAwesome';
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    transition: background, color 0.3s;
  }

  .buy-btn:hover {
    background: #ddd;
    color:#222;
  }
  

.collection-card {
    position:relative;
    overflow: hidden;
    border: 1px solid rgba(214, 210, 201, 0.9);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 18px rgba(34, 30, 26, 0.08);
    transition: 0.5s ease;
    & .button {
        transition: 0.3s ease;
        text-shadow: 0 0px 3px #fcfcfc;
    }
}

.collection-card img {
    width: 100%;
    aspect-ratio: 1.18;
    object-fit: cover;
    background: #0f0f0f;
    transition: transform 0.5s ease;
}

.collection-card div {
    padding: 18px 20px 22px;
}

.collection-card h3 {
    margin: 0 0 6px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.3rem;
    font-weight: 500;
    transition: 0.5s ease;
    color: var(--muted);
}

.collection-card:hover {
    & .button {
        text-shadow: 0 4px 3px #a1a1a1;
        transform: translateY(-2px);
        font-size: 0.83rem;
        color: #a46849;
    }
    }

.story {
    position: relative;
    margin: 0 min(3vw, 30px) 26px;
    min-height: 330px;
    display: grid;
    align-items: center;
    padding: 44px 72px;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow:hidden;
    box-shadow: var(--shadow);
}

.faded-filter-overlay {
  position: absolute;
  inset: 0;
  
  /* Apply your desired background filter effect */
  backdrop-filter: blur(12px) brightness(58%); 
  
  /* Mask it so the effect fades out toward the right side */
  mask-image: linear-gradient(to right, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
}

.story::before {
   content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
   background-image: url("../images/karen-pic.webp");
  background-size: cover;
  background-position: center;
  /* Apply your chosen filters here */
  filter: blur(1px) brightness(1.3); 
     
}

.story-copy {
    color:#fdfdfd;
    max-width: 460px;
    z-index: 0;
}

.story h2 {
    font-size: clamp(2.2rem, 4vw, 3.15rem);
    color:#fdfdfd;
}

.story h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin: 24px 0;
    background: var(--accent);
}

.story p {
    margin: 0 0 28px;
    line-height: 1.65;
    color:#fdfdfd;
}

.testimonial {
    position: relative;
    max-width: 1110px;
    margin: 0 auto 34px;
    padding: 30px 68px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 250, 245, 0.88);
}

.testimonial::before {
    content: "\"";
    color: var(--accent);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 5rem;
    line-height: 0;
}

.testimonial blockquote {
    max-width: 640px;
    margin: -18px auto 16px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.45;
}

.testimonial p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.testimonial span {
    color: #f5b82f;
    letter-spacing: 0.12em;
}

.footer-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 28px min(8vw, 100px);
    background: rgba(250, 249, 244, 0.96);
    border-top: 1px solid var(--line);
}

.badge {
    position: relative;
    min-height: 56px;
    padding-left: 68px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--line);
}

.badge:last-child {
    border-right: 0;
}

.badge::before {
    position: absolute;
    left: 7px;
    top: 50%;
    color: #8f8a82;
    font-size: 3rem;
    transform: translateY(-50%);
}

.truck::before {
    content: "\1F69A";
}

.lock::before {
    content: "\1F512";
}

.plant::before {
    content: "\1FAB4";
}

.badge strong {
    font-size: 0.86rem;
    color:#242424;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.badge span {
    margin-top: 4px;
    color: var(--muted);
}

/* --- Footer Styles --- */
.site-footer {
    background: #222;
    color: #fff;
    padding: 17px 0 33px 0;
    text-align: center;
    font-size: 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 8px;
    letter-spacing: 2px;
}


.site-footer h1 {
  font-family: "Delius Swash Caps", cursive;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0.2em 0 0.2em 0;
    letter-spacing: 1px;
}

.footer-logo h1 .by {
    font-size: 62%;
    vertical-align: bottom;
    font-weight: normal;
    letter-spacing: 0;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 8px;
}

.footer-links a {
    color:var(--menu-top-hover);
    text-decoration: none;
    font-size: .6rem;
    letter-spacing: .2rem;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a:focus {
    color:#fff;
}

.footer-social {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-bottom: 8px;
}

.footer-social a {
    color: #b0d0d3;
    font-size: 1.3rem;
    transition: color 0.2s;
}

.footer-social a:hover,
.footer-social a:focus {
    color: #fff;
}

.footer-copy {
    font-size: 0.6rem;
    color: #aaa;
    margin-top: 8px;
}

/* Responsive footer */
@media (max-width: 600px) {
    .footer-content {
        padding: 0 8px;
        gap: 12px;
    }
    .footer-links {
        gap: 12px;
        font-size: 0.95rem;
    }
    .footer-logo {
        font-size: 1.3rem;
    }
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero {
        min-height: 620px;
        align-items: start;
        background:
            linear-gradient(180deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.88) 44%, rgba(255, 252, 247, 0.1) 74%),
            url("../images/jewelry-hero.webp") center bottom / cover no-repeat;
    }

    .features,
    .collection-grid,
    .footer-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links {
        justify-content: flex-end;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .feature:nth-child(2) {
        border-right: 0;
    }

    .feature:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
        padding-bottom: 24px;
    }

    .feature:nth-child(n+3) {
        padding-top: 24px;
    }

    .story {
        padding: 42px;
        background:
            linear-gradient(90deg, rgba(255, 252, 248, 0.98) 0%, rgba(255, 252, 248, 0.92) 100%),
            url("../../KarensJewellryBox/Karens-jewelry-box/images/pendant002.webp") right center / cover no-repeat;
    }

    .badge:nth-child(2) {
        border-right: 0;
    }

    .footer-signature {
        justify-self: end;
    }
}

@media (max-width: 680px) {
    .site-header {
        padding: 16px 22px;
    }

    .brand span {
        font-size: 1.35rem;
    }

    .main-nav {
        gap: 20px;
    }

    .hero,
    .collections {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero h1 {
        font-size: 3.65rem;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .features,
    .collection-grid,
    .footer-badges {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .feature,
    .feature:nth-child(2),
    .feature:last-child,
    .badge,
    .badge:nth-child(2),
    .badge:last-child {
        border-right: 0;
    }

    .feature,
    .feature:nth-child(n+3) {
        padding: 22px 0;
        border-bottom: 1px solid var(--line);
    }

    .feature:last-child {
        border-bottom: 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading a {
        display: inline-block;
        margin-top: 14px;
    }

    .story {
        margin-left: 16px;
        margin-right: 16px;
        padding: 34px 28px;
    }

    .testimonial {
        margin-left: 16px;
        margin-right: 16px;
        padding: 28px 24px;
    }

    .badge {
        border-bottom: 1px solid var(--line);
    }

    .badge:last-child {
        border-bottom: 0;
    }

    .footer-links,
    .footer-social {
        justify-content: center;
    }

    .footer-signature {
        justify-self: center;
        text-align: center;
    }
}
