/* --- GLOBAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.amarante-regular {
  font-family: "Amarante", serif;
  font-weight: 400;
  font-style: normal;
}

a {
    text-decoration: none;
    color: #000000;
}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* --- STICKY HEADER --- */
.header {
    display: flex; /* Aligns children horizontally */
    justify-content: space-between; /* Pushes items to the left, center, and right */
    align-items: center; /* Centers items vertically */
    padding: 20px 5%;
    background-color: #ffffff;
    position: sticky;
    top: 0; /* Tells the header to stick exactly at the top of the page */
    z-index: 1000; /* Ensures the header stays on top of all other elements */
    border-bottom: 1px solid #f0f0f0;
}

/* --- LOGO --- */
.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* --- DESKTOP NAVIGATION --- */
.desktop-nav ul {
    display: flex;
    list-style: none; /* Removes bullet points */
    gap: 40px; /* Spacing between links */
}

.desktop-nav a {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease; /* Smooth hover effect */
}

.desktop-nav a:hover {
    opacity: 0.5; /* Fades the text slightly when hovered */
}

/* --- ICONS & MOBILE MENU --- */
.header-icons {
    display: flex;
    gap: 20px;
    cursor: pointer;
}

.hamburger-menu {
    display: none; /* We hide this on desktop, it will be revealed on mobile */
    cursor: pointer;
    font-size: 24px;
}

/* --- HERO BANNER --- */
.hero-banner {
    height: 85vh; /* Takes up 85% of the screen's vertical height */
    /* We add a dark gradient over the image so the white text is readable */
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../image/hero-banner.jpg.png');
    background-size: cover; /* Ensures the image covers the whole section without stretching */
    background-position: center; /* Keeps the most important part of the image in the middle */
    display: flex;
    align-items: center; /* Vertically centers the text and button */
    justify-content: center; /* Horizontally centers the text and button */
    text-align: center;
}

.hero-content {
    color: #ffffff;
    /* Adding a subtle slide-up animation we will define later */
    animation: slideUp 1s ease-out; 
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    padding: 16px 40px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px; /* Creates the rounded pill shape you requested */
    font-weight: 500;
    transition: all 0.3s ease; /* Makes the hover effect smooth */
}

.btn-primary:hover {
    background-color: #000000;
    color: #ffffff;
}

/* --- CATEGORIES --- */
.categories {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 40px 5%;
    background-color: #ffffff;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.category-item:hover {
    opacity: 0.6;
}

.cat-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.cat-name {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* --- BEST SELLERS & PRODUCT GRID --- */
.best-sellers {
    padding: 40px 5%;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-style: italic; /* Matches the elegant vibe in your reference */
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    /* This creates responsive columns that are at least 300px wide */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px; /* Space between product cards */
}

/* --- PRODUCT CARD --- */
.product-card {
    cursor: pointer;
}

.product-image {
    position: relative; /* Allows us to position the badge absolutely inside it */
    overflow: hidden; /* Prevents the image from spilling out when it zooms */
    background-color: #f7f7f7;
    margin-bottom: 15px;
}

.product-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease; /* Smooth zoom animation */
}

.product-card:hover .product-image img {
    transform: scale(1.05); /* Zooms the image in by 5% on hover */
}

/* --- BADGE --- */
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    border: 1px solid #000;
    padding: 4px 10px;
    font-size: 10px;
    letter-spacing: 1px;
    background-color: transparent;
    z-index: 2; /* Keeps badge above the image */
}

/* --- PRODUCT INFO --- */
.product-info h3 {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-info .color {
    font-size: 12px;
    color: #666666;
    margin-bottom: 5px;
}

.product-info .price {
    font-size: 13px;
    font-weight: 400;
}

/* --- NEWSLETTER --- */
.newsletter {
    background-color: #f7f7f7;
    padding: 80px 5%;
    text-align: center;
}

.newsletter h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter p {
    color: #666666;
    font-size: 14px;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto; /* Centers the form block */
}

.newsletter-form input {
    flex: 1; /* Takes up remaining space next to the button */
    padding: 15px 20px;
    border: 1px solid #cccccc;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    outline: none; /* Removes the default blue glow on click */
}

.newsletter-form input:focus {
    border-color: #000000; /* Turns the border black when typing */
}

/* --- FOOTER --- */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 5% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.6;
    color: #cccccc;
}

.footer-col h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #cccccc;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333333;
    font-size: 12px;
    color: #999999;
}

/* --- CART DRAWER --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001; /* Sits above the header */
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px; /* Hides the cart completely off the right side */
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1002; /* Sits above the overlay */
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.cart-drawer.active {
    right: 0; /* Slides the cart in */
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.cart-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
}

.close-cart {
    cursor: pointer;
    font-size: 20px;
}

.cart-body {
    flex: 1; /* Pushes the checkout button down to the bottom */
    overflow-y: auto; /* Adds a scrollbar if they add many items */
}

.empty-cart-msg {
    text-align: center;
    color: #666666;
    margin-top: 50px;
    font-size: 14px;
}

.checkout-btn {
    width: 100%; /* Makes the button fill the drawer width */
}

/* --- PAGE HEADER (Used on Shop, About, Contact pages) --- */
.page-header {
    text-align: center;
    padding: 60px 5% 40px;
    background-color: #f7f7f7;
    margin-bottom: 40px;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    color: #666666;
    font-size: 14px;
}

.shop-page-container {
    padding: 0 5% 60px;
}

/* --- PRODUCT DETAILS PAGE --- */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 50px;
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.product-gallery img {
    width: 100%;
    display: block;
    background-color: #f7f7f7;
}

.product-info-detail {
    padding-top: 20px;
}

.breadcrumb {
    font-size: 12px;
    color: #666666;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a:hover {
    color: #000;
}

.product-info-detail h1 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 10px;
}

.product-price {
    font-size: 20px;
    margin-bottom: 30px;
}

/* --- PRODUCT IMAGE GALLERY --- */
.main-image-wrapper {
    margin-bottom: 15px;
    background-color: #f7f7f7;
    overflow: hidden; /* Keeps the zoom effect clean if you add one later */
}

.thumbnail-row {
    display: flex;
    gap: 15px; /* Spacing between the small images */
}

.thumbnail {
    width: 80px; /* Size of the small images */
    height: 100px; /* Make them slightly tall like fashion portraits */
    object-fit: cover; /* Ensures the images fill the box perfectly */
    cursor: pointer;
    opacity: 0.5; /* Fades out the images that aren't selected */
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.thumbnail:hover {
    opacity: 0.8;
}

/* This highlights the image the user is currently looking at */
.thumbnail.active-thumb {
    opacity: 1;
    border-color: #000000;
}

/* Selectors (Color & Size) */
.selector-group {
    margin-bottom: 30px;
}

.selector-group h4 {
    font-size: 13px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.swatches {
    display: flex;
    gap: 10px;
}

.swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%; /* Makes the color buttons perfectly round */
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.swatch.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000; /* Creates an elegant double-ring focus effect */
}

.swatch-text {
    background: transparent;
    border: 1px solid #ccc;
    padding: 10px 15px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.swatch-text.active, .swatch-text:hover {
    border-color: #000;
    background-color: #000;
    color: #fff;
}

.add-to-cart-btn-large {
    width: 100%;
    padding: 20px;
    font-size: 14px;
    margin-bottom: 40px;
}

.product-description h4 {
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.product-description p, .product-description ul {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.product-description ul {
    padding-left: 20px;
}

/* --- CART ITEMS --- */
.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.cart-item img {
    width: 70px;
    border-radius: 4px;
    background-color: #f7f7f7;
}

.cart-item-info h4 {
    font-size: 13px;
    margin-bottom: 5px;
}

.cart-item-info p {
    font-size: 12px;
    color: #666666;
}

.remove-item {
    background: none;
    border: none;
    color: #cc0000;
    cursor: pointer;
    font-size: 11px;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- CHECKOUT PAGE --- */
.checkout-header {
    justify-content: center; /* Centers the logo */
    position: relative;
    border-bottom: 1px solid #eee;
}

.return-link {
    position: absolute;
    right: 5%;
    font-size: 13px;
    color: #666;
    text-decoration: underline;
}

.checkout-page-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Form takes more space than summary */
    gap: 60px;
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-details h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin: 30px 0 15px;
}

.checkout-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

.checkout-input:focus {
    border-color: #000;
    outline: none;
}

.input-row {
    display: flex;
    gap: 15px;
}

.payment-box {
    background: #f9f9f9;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 30px;
    text-align: center;
    color: #666;
    font-size: 13px;
}

.checkout-submit-btn {
    width: 100%;
    padding: 20px;
    font-size: 16px;
}

.order-summary-box {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 4px;
    height: fit-content; /* Prevents the box from stretching too tall */
    border: 1px solid #eee;
}

.order-summary-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #444;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 18px;
    color: #000;
}

/* --- SUCCESS PAGE --- */
.success-page-container, .auth-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 5%;
    min-height: 70vh; /* Ensures the box stays vertically centered */
    background-color: #ffffff;
}

.success-box {
    text-align: center;
    max-width: 500px;
}

.success-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    font-size: 30px;
    line-height: 60px;
    margin-bottom: 20px;
}

.success-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 15px;
}

.success-box p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* --- AUTHENTICATION PAGES (Login & Register) --- */
.auth-box {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.auth-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

/* Reusing the checkout input styles for consistency */
.auth-form input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

.auth-form input:focus {
    border-color: #000;
    outline: none;
}

.forgot-password {
    font-size: 12px;
    color: #666;
    text-decoration: underline;
    margin-top: -5px;
    margin-bottom: 10px;
}

.auth-btn {
    padding: 15px;
    font-size: 14px;
    margin-top: 10px;
    width: 100%;
}

.auth-switch {
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.auth-switch a {
    color: #000;
    font-weight: 500;
    text-decoration: underline;
}

/* --- SEARCH OVERLAY --- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98); /* Almost solid white */
    z-index: 2000; /* Sits above absolutely everything else */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-search {
    position: absolute;
    top: 30px;
    right: 5%;
    font-size: 28px;
    cursor: pointer;
    color: #000;
    transition: transform 0.3s ease;
}

.close-search:hover {
    transform: rotate(90deg); /* Cool spinning hover effect */
}

.search-content {
    width: 100%;
    max-width: 800px;
    padding: 0 5%;
    text-align: center;
}

.search-form {
    display: flex;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    outline: none;
    color: #000;
}

/* Changes the placeholder text color */
.search-input::placeholder {
    color: #cccccc;
}

.search-submit {
    background: transparent;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-weight: 500;
}

.search-suggestions p {
    font-size: 14px;
    color: #666;
}

.search-suggestions a {
    color: #000;
    text-decoration: underline;
    margin: 0 5px;
}

/* --- INFO PAGES (About, Contact, FAQ) --- */
.info-page-container {
    padding-bottom: 80px;
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-content img {
    width: 100%;
    border-radius: 4px;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 14px;
}

/* --- UPDATED CONTACT PAGE --- */
.contact-page-container {
    padding: 60px 5% 100px;
    background-color: #ffffff;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto; /* Centers the form block on the page */
}

.contact-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
}

.contact-divider {
    border: none;
    border-top: 1px solid #eeeeee;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block; /* Puts the label on its own line above the input */
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.required {
    color: #e67373; /* Soft red for the asterisk */
}

/* File Attachment Section */
.attach-files {
    margin-bottom: 30px;
    text-align: left;
}

.attach-btn {
    width: 100%;
    padding: 15px;
    background-color: #fcfcfc;
    border: 1px dashed #cccccc; /* Creates the dashed border from your image */
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.attach-btn:hover {
    background-color: #f5f5f5; /* Slight darkening on hover */
}

.attach-hint {
    font-size: 11px;
    color: #888888;
    margin-top: 10px;
}

/* Footer text */
.recaptcha-text {
    font-size: 11px;
    color: #888888;
    margin-top: 20px;
    text-align: left;
}

.recaptcha-text a {
    text-decoration: underline;
    color: #888888;
}

/* --- POLICY PAGES (Shipping, Returns, Privacy) --- */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5%;
    color: #333333;
}

.policy-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #000000;
}

/* Removes the top margin from the very first heading so it aligns nicely */
.policy-content h3:first-child {
    margin-top: 0;
}

.policy-content p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.policy-content ul, .policy-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.8;
}

.policy-content li {
    margin-bottom: 10px;
}

.policy-content a {
    text-decoration: underline;
    color: #000000;
    font-weight: 500;
}

/* --- SOCIAL MEDIA ICONS --- */
.social-links-icons {
    display: flex;
    gap: 15px; /* Spaces the icons evenly */
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #cccccc; /* Matches your other footer links */
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.3s ease;
}

/* Pinterest SVGs usually use 'fill' instead of 'stroke', so we target it carefully */
.social-links-icons a[aria-label="Pinterest"] .social-svg {
    fill: #cccccc;
    stroke: none;
}

/* Hover Effects */
.social-links-icons a:hover .social-svg {
    stroke: #ffffff;
    transform: translateY(-3px); /* Subtle luxury bounce effect */
}

.social-links-icons a:hover[aria-label="Pinterest"] .social-svg {
    fill: #ffffff;
}