:root{
  --bg:#faf9f8;
  --muted:#6b6b6b;
  --accent:#c2066c; /* rich magenta */
  --promo:#f0b24a;  /* golden promo bar */
  --card:#ffffff;
  --container:16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--bg);color:#111;-webkit-font-smoothing:antialiased}

/* status area to mimic mobile notch space */
.status-space{height:18px;background:#f4f4f4}

/* container */
/* .container{padding:0 var(--container);max-width:980px;margin:0 auto} */
.container{width:100%; margin:0; padding: 0; display: block;}

/* header */
.mobile-header{background:#fff;border-bottom:1px solid #eee;position:sticky;top:0;z-index:40}
.header-top{display:flex;align-items:center;gap:10px;height:66px;padding-left: 15px;}
.logo{font-weight:600px;letter-spacing:2px;font-size:18px;color:#111, }
.search-pill{
  display:flex;align-items:center;gap:8px;flex:1;
  border-radius:999px;border:1px solid #ddd;padding:8px 12px;margin:0 6px;height:42px;background:#fff;
}
.search-pill .icon{width:18px;height:18px;opacity:.6}
.search-pill input{border:0;outline:none;font-size:15px;flex:1}
.icon-btn{background:transparent;border:0;padding:6px;border-radius:8px;display:flex;align-items:center;justify-content:center}
.icon-btn .icon{width:22px;height:22px;opacity:.85}


/* --- Secondary Navigation Bar Styles --- */

.secondary-nav-bar {
    background-color: #000; /* Black background color */
    padding: 10px 0;
    /* Ensure only the list scrolls, not the padding */
    overflow-x: scroll;
    overflow-y: hidden;
    /* Optional: Hide scrollbar for a cleaner mobile look */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    margin-top: -50px;
}

/* Hides the scrollbar visually in WebKit (Chrome, Safari) */
.secondary-nav-bar::-webkit-scrollbar {
    display: none;
}

.category-list {
    display: flex; /* Arranges list items horizontally */
    list-style: none; /* Removes bullet points */
    margin: 0;
    padding: 0 15px; /* Padding for the sides of the list */
    white-space: nowrap; /* Forces all items onto a single line */
}

.category-item {
    /* Ensures items don't shrink when space is tight */
    flex-shrink: 0; 
    margin-right: 25px; /* Spacing between categories */
}

.category-item a {
    color: #fff; /* White text color */
    text-decoration: none; /* Removes underline */
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 0;
    display: block;
}

/* Optional: Adding the glow effect from the image */
.category-item a[href*="Gifts"], 
.category-item a[href*="Gift Cards"] {
    /* Style for the categories with the sparkle/emoji */
    color: gold; 
}

/* breadcrumb */
.breadcrumb{font-size:12px;color:var(--muted);padding:8px 0; padding-left: 15px;}

/* promo bar */
.promo{
  background:var(--promo);
  color:#111; 
  padding: 3px 7px;
  text-align: center;
  margin:6px 0--;
  font-weight:700;
  margin-bottom: 10px;
  box-shadow:0 4px 10px rgba(0,0,0,0.03);
}

.promo a.promo-link{
  color: #111;
  text-decoration: none;
}

/* hero slider */
.hero-slider{padding-bottom:12px; overflow:hidden;}
.hero-card{
  display: flex;
  align-items: center;
  padding: 20px 5%;
  /* overflow:hidden; */
  /* background:linear-gradient(360deg,var(--accent) 60%); */
  background-color: #a8209f;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
  position:relative;
}
.hero-card img{
  width: 55%;
  height:auto;
  display:block;
  margin-bottom:-20px;
  margin-top: -20px;
  margin-left: -65px;
}
.hero-cta{
  padding:18px 20px;
  color:#fff;
  background:linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.08));
  margin-top:-4px;
}
.hero-cta h1{margin:0 0 6px 0;font-size:20px}
.hero-cta p{margin:0 0 10px;color:rgba(255,255,255,0.95)}
.cta-link{display:inline-block;color:#fff;font-weight:700;text-decoration:none}

/* mini carousel (horizontal) */
.mini-carousel{
    margin-top:14px;
    overflow:hidden;
    border-radius:12px;
}
.carousel-track{
  margin-top: 20px;
  display:flex;
  gap:12px;
  transition:transform 420ms cubic-bezier(.2,.9,.3,1);
  width:300%;
  flex-wrap: nowrap;
  /* overflow-x: scroll; */
  overflow-x: hidden;
  /* transition: transform 0.8s ease-in-out; */
}
.carousel-item{
  /* min-width:100%;
  flex:0 0 100%; */
  flex-shrink: 0;
  width: 300px;
  margin: right 20px;
  padding-left: 20px;

}
.carousel-item img{width:100%;height:auto;display:block;border-radius:12px}

/* highlights */
.highlights{padding-top:12px}
.highlight-card{
  background:var(--card);
  overflow:hidden;
  box-shadow:0 8px 18px rgba(0,0,0,0.05);
  margin-bottom:12px;
  margin-top: 50px;
}
.highlight-card img{width:100%;display:block}

/* .gift-card-collections {
    padding: 40px 5%; /* Adjust padding for the section */
    /* background-color: #fff; White background for the whole collection area */
/* }  */ */

.gift-card-collections {
    padding: 20px 0; /* Use 0 horizontal padding here, control containment with .container or .card-carousel-wrapper */
    background-color: #fff;
 } 

.card-carousel-wrapper {
    position: relative; /* Essential for positioning arrows */
    display: flex;
    align-items: center;
    /* padding: -50px; Vertical padding for spacing */
    padding: 0 10px;
}

.card-carousel-track-container {
    flex-grow: 1; /* Allows the container to take available space */
    overflow-x: scroll; /* Enables horizontal scrolling */
    /* -webkit-overflow-scrolling: touch; Improves scrolling on iOS */
    scroll-behavior: smooth; /* Smooth scrolling when programmatically moved */
    margin: 0; /* Space for the arrows */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

/* .card-carousel-track-container::-webkit-scrollbar {
    /* display: none; */
/* }  */

.card-carousel-track {
    margin-top: 35px;
    display: flex;
    padding : 10px;
    gap: 10px; /* Space between cards */
    padding-bottom: 10px; /* Prevent items from getting cut off at bottom if scrollbar appears */
}

.gift-card-item {
    flex-shrink: 0; /* Prevent items from shrinking */
    width: calc(25% - 6px); /* Roughly 4 items per row, accounting for gap */
    border: 3px solid #eee; /* Light border around each card */
    border-radius: 8px;
    overflow: hidden; /* Ensures image corners are rounded if card has border-radius */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Subtle shadow */
    background-color: #fff;
    text-align: left;
    padding-bottom: 20px; /* Space for text below image */
}

.gift-card-item img {
    width: 90%;
    height: auto;
    display: block;
    margin-left: 15px;
    margin-bottom: 15px;
}

.card-details {
    padding: 0 15px;
    margin-top: -10px;
}

.card-details h3 {
    font-size: 0.8em;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    font-weight: bold;
}

.card-details p {
    font-size: 0,1em;
    color: #363232;
    margin: 5px 0 0;
    /* font-weight: 300; */
}

.nav-arrow {
    position: absolute; /* Position relative to .card-carousel-wrapper */
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-arrow.hidden {
    display: none; /* Hides the element entirely */
}

/* .nav-arrow:hover {
    background-color: #f5f5f5;
    transform: translateY(-50%) scale(1.05);
} */

 .nav-arrow.left-arrow {
    left: 0;
    margin-left: -10px; /*Pull arrow slightly outside the wrapper for better visual */
 } 

.nav-arrow.right-arrow {
    right: 0;
    /* margin-right: -20px; Pull arrow slightly outside the wrapper */
 }

.nav-arrow svg {
    fill: #333; /* Color of the arrow icon */
    width: 20px;
    height: 20px;
}

/* --- Balance Check Section --- */
/* --- 1. Base (Mobile First) Styles: CENTERED --- */

.balance-check-section {
    /* Full-width container on mobile */
    background-color: #f8f8f8;
    padding: 30px 15px; 
    margin: 0; 
}

.balance-form {
    background-color: #fff;
    padding: 20px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 100%; 
    max-width: 400px; /* Keep a maximum width even on mobile for readability */
    
    /* 🎯 CENTERED ON MOBILE */
    margin: 0 auto; 
}

/* Base Styles (will apply to all sizes unless overridden) */
.balance-check-section h2 {
    font-size: 1.2em; 
    margin-bottom: 15px;
}

.form-header-graphic {
    float: right;
    color: #999;
    margin-left: 15px;
    height: 30px; 
    width: 30px;
}

.input-group {
    display: flex;
    flex-direction: row; 
    gap: 10px;
    margin-bottom: 15px;
}

.input-field {
    flex: 1; 
}

.input-field input {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9em;
    box-sizing: border-box;
}

/* --- 2. Tablet and Desktop Styles (Min-width: 768px): LEFT ALIGNED --- */

@media (min-width: 768px) {
    .balance-check-section {
        padding: 40px 0;
    }
    
    .balance-form {
        /* Set a wider max-width for tablets/desktops */
        max-width: 500px; 
        padding: 30px;
        
        /* 🎯 KEY CHANGE: ALIGN TO THE LEFT */
        margin-left: 15px; /* Adds 15px margin from the left edge of the container */
        margin-right: auto; /* Pushes the element to the left */
    }
    
    .balance-check-section h2 {
        font-size: 1.5em;
    }

    .input-group {
        gap: 15px;
    }
}

/* Hide placeholder and show label when input is focused or filled */
.input-field input:focus + label,
.input-field input:not(:placeholder-shown) + label {
    display: none;
}

.input-field label {
    position: absolute;
    top: 14px;
    left: 10px;
    color: #999;
    pointer-events: none;
    font-size: 1em;
}

.check-balance-btn {
    width: 50%;
    border-radius: 25px;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.check-balance-btn:hover {
    background-color: #333;
}

.form-footer {
    padding-top: 15px;
    clear: both; /* Clears the floated graphic */
}

.form-footer small {
    display: block;
    font-size: 0.8em;
    color: #666;
    line-height: 1.4;
}

.message-status {
    margin-top: 10px;
    font-weight: bold;
}


/* --- Redeem on Top Picks Section --- */
.top-picks-heading {
    padding: 30px 5%;
}

.top-picks-heading h2 {
    font-size: 1.5em;
    margin: 0;
}

/* --- Product Grid Styling --- */
.product-grid {
    padding: 0 5%; /* Match container padding */
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    /* Default to 2 columns on most screens, but stack on small mobile */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 15px;
}

.product-item {
    text-align: center;
    border-radius: 8px;
    padding-bottom: 10px;
}

.product-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 5px;
}

.p-info {
    text-align: left;
    padding: 0 5px;
    font-size: 0.9em;
}

.p-title {
    font-weight: bold;
    margin-bottom: 2px;
}

.p-brand {
    color: #666;
    margin-bottom: 2px;
}

.p-price {
    font-weight: bold;
    color: #000;
}

/* --- Reusable Two-Column Promo Card --- */
.content-promo {
    padding: 30px 2%;
}

.card-promo.two-column {
    display: flex;
    flex-direction: column; /* Stack vertically by default for mobile */
    background-color: #fcebeb; /* Light background color matching your example */
    border-radius: 8px;
    overflow: hidden; /* Ensures image corners are clipped */
}

.promo-content {
    padding: 25px;
}

.promo-content h3 {
    font-size: 2em;
    margin-top: -25px;	    
}

.promo-content p {
    color: #333;
    font-weight: bold;
    font-size: 1.5em;
    margin-top: -20px;
}

.promo-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Tablet/Desktop View: Convert to side-by-side columns */
@media (min-width: 768px) {
    .card-promo.two-column {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .promo-content {
        flex: 1; /* Take up half the space */
        max-width: 50%;
        padding: 40px;
    }

    .promo-image {
        flex: 1; /* Take up the other half */
        max-width: 50%;
    }
}

/* --- Feature Cards / Highlights Section --- */

.feature-cards {
    padding: 25px 0; 
    background-color: #f8f8f8; 
}

.feature-cards .card-list {
    display: flex;
    justify-content: space-between; 
    align-items: stretch;
    padding: 0 15px; 
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
    width: calc(25% - 15px); 
    margin: 0 7.5px; 

    background-color: #fff; 
    padding: 15px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); 
    
    flex-shrink: 0; 
    min-height: 120px; 
    justify-content: flex-start;
}

/* 🎯 NEW ICON STYLES: Targeting the <img> tag directly */
.feature-icon {
    width: 35px; /* Set the width */
    height: 35px; /* Set the height */
    object-fit: contain; /* Ensures the image doesn't stretch */
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.8em;
    line-height: 1.3;
    margin: 0;
    color: #333;
    font-weight: 500;
}

/* --- New Kohl's Promo Specific Styles --- */

.kohl-promo .card-promo {
    /* Ensures the card-promo structure is used, which likely contains flexbox */
    border: 1px solid #ccc; /* Subtle border around the whole block (optional) */
    background-color: #fff;
    margin-bottom: 20px;
}

/* Base style for two-column promotion (assuming this is already in your CSS) */
/* .card-promo.two-column {
    display: flex;
    flex-direction: row; 
} */

/* Style for the text content area (usually on the right/bottom) */
.kohl-promo .promo-content {
    background-color: #fcebeb; /* The light pink/orange background for the text side */
    padding: 20px;
    flex: 1;
}

/* Style for the image content area (usually on the left/top) */
.kohl-promo .promo-image {
    background-color: #ffefd5; /* The soft orange/beige background for the image side */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.kohl-promo .promo-image img {
    /* Adjust width to control logo size within the column */
    max-width: 100%;
    height: auto;
}

/* Call-to-Action Link Style */
.kohl-promo .cta-link.find-store {
    font-weight: bold;
    font-size: 1em;
    text-decoration: none;
    color: #000;
    display: inline-block;
    margin-top: 10px;
}

/* Mobile Layout Adjustment (Important for reversing the order) */
/* This ensures the image is on top of the text content on small screens. */
@media (max-width: 768px) {
    .card-promo.two-column.reverse-mobile {
        /* Puts the image (first item in HTML) on top of the text (second item) */
        flex-direction: column; 
    }
}

/* --- Frequently Asked Questions Section Styles --- */

.faq-section {
    padding: 30px 15px; /* Adds space around the entire section */
}

.faq-content-box {
    background-color: #fffafa; /* Light pink background color */
    border-radius: 4px;
    padding: 20px 20px 10px; /* Padding inside the box */
    margin-bottom: 25px;
}

.faq-content-box h2 {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px 0;
}

.faq-intro-text {
    font-size: 0.9em;
    color: #555;
    margin: 0 0 15px 0;
}

.read-more-link {
    display: block; /* Makes the link take up its own line */
    font-size: 0.9em;
    font-weight: bold;
    color: #333; /* Matches the text color in the screenshot */
    text-decoration: none;
    margin-bottom: 10px;
}

/* Style for the supporting text below the box */
.faq-supporting-text p {
    font-size: 0.85em;
    line-height: 1.5;
    color: #555;
    margin-bottom: 15px;
}


body {
    margin: 0;
    background: #fff;
    font-family: Arial, sans-serif;
}

.footer {
    background: #000;
    color: #fff;
    padding: 40px 60px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 30px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.footer-item .icon {
    font-size: 22px;
}

.footer hr {
    border: 0;
    height: 1px;
    background: #333;
    margin: 30px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1 1 200px;
    margin: 20px;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin: 7px 0;
    font-size: 14px;
    cursor: pointer;
}

.footer-column ul li:hover {
    text-decoration: underline;
}

/* Align Region & Language next to the slogan */
.last-columns {
    display: flex;
    flex: 2;
    justify-content: space-between;
    margin-top: 20px;
}

.brand-message h2 {
    font-size: 24px;
    line-height: 1.3;
    margin: 0;
}

/* Email signup directly below slogan */
.email-signup {
    margin-top: 25px;
    
}

.email-box {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.email-box input {
    padding: 10px;
    width: 250px;
    border-radius: 20px;
    border: none;
}

.email-box button {
    padding: 10px 20px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}



/* .nav-arrow.left-arrow.hidden {
    display: none;
} */


/* product list - mobile single column */
/* .product-list{list-style:none;padding:0;margin:12px 0 80px 0;display:grid;gap:12px}
.product{background:var(--card);border-radius:12px;padding:10px;display:flex;gap:12px;align-items:center;box-shadow:0 6px 16px rgba(0,0,0,0.04)}
.product img{width:84px;height:84px;object-fit:cover;border-radius:8px}
.p-info{flex:1}
.p-title{font-weight:600}
.p-brand{color:var(--muted);font-size:13px;margin-top:4px}
.p-price{font-weight:700;margin-top:6px} */

/* bottom nav */
.bottom-nav{
  position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #eee;display:flex;justify-content:space-around;align-items:center;padding:8px 6px;z-index:60;
  box-shadow:0 -8px 20px rgba(0,0,0,0.05)
}
.bottom-nav .nav-item{background:transparent;border:0;display:flex;flex-direction:column;align-items:center;padding:6px 8px;border-radius:8px;color:var(--muted);font-size:12px;gap:6px}
.bottom-nav .nav-item .icon{width:22px;height:22px;opacity:.9}
.bottom-nav .nav-item.active{color:var(--accent);font-weight:700}

/* small screens tweak */
@media (min-width:420px){
  .hero-cta h1{font-size:22px}
}

/* accessibility focus */
a:focus, button:focus, input:focus{outline:3px solid rgba(194,6,108,0.14);outline-offset:2px}