/* ========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ======================================== */
:root {
    /* Colors */
    --color-black: #000;
    --color-white: #fff;
    --color-bg: #f5f5f5;
    --color-text: #333;
    --color-text-light: #555;
    --color-text-muted: #767676; /* WCAG AA compliant on white */
    --color-border: #e0e0e0;
    --color-border-light: #e8e8e8;
    --color-input-bg: #fafafa;
    --color-error: #c0392b;
    --color-favorite: #c0392b;

    /* Typography */
    --font-body: 'Montserrat', sans-serif;
    --font-heading: 'Cormorant Garamond', serif;

    /* Spacing */
    --header-height: 80px;
    --header-height-mobile: 70px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.4s ease;

    /* Z-indices */
    --z-header: 100;
    --z-dropdown: 101;
    --z-modal: 1000;
    --z-lightbox: 9999;
    --z-toast: 10001;
}

/* ========================================
   GLOBAL RESET & BASE STYLES
   ======================================== */

/* Remove default margins/padding, use border-box for consistent sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body uses flexbox column layout to push footer to bottom of page */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f5f5;
    color: #000;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

/* Fixed header bar at top of page with logo, nav, and social icons */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 10%;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    z-index: 100;
    gap: 40px;
}

/* Logo container in the header */
.logo {
    display: flex;
    align-items: center;
    min-width: 0;
}

/* Logo image size */
.logo img {
    height: 50px;
    cursor: pointer;
}

/* Horizontal navigation links list */
.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
    margin: 0;
}

/* Navigation link styling - grey text, uppercase, with hover effect */
.nav-links a {
    text-decoration: none;
    color: #767676;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
    font-weight: 400;
}

/* Nav links turn black on hover */
.nav-links a:hover {
    color: #000;
}

/* Last nav link default color */
.nav-links li:last-child a {
    color: #767676;
}

/* Dropdown menu container (for Gallery sub-items) */
.dropdown {
    position: relative;
}

/* No arrow icon after dropdown trigger */
.dropdown > a::after {
    content: '';
}

/* Dropdown panel - hidden by default, absolute positioned below trigger */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    z-index: 101;
    border: 1px solid #e0e0e0;
    top: 100%;
    left: 0;
}

/* Dropdown link items */
.dropdown-content a {
    color: #767676;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

/* Dropdown link hover - darken text, light background */
.dropdown-content a:hover {
    color: #000;
    background-color: #f9f9f9;
}

/* Show dropdown panel when hovering the parent */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Social media icons area in header (right side) */
.header-social {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}

/* Social icon links - grey with hover effect */
.header-social a {
    color: #767676;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s;
}

.header-social a:hover {
    color: #000;
}

/* Social icon images (Facebook, Instagram) */
.header-social .social-icon img {
    width: 18px;
    height: 18px;
    opacity: 0.45;
    transition: opacity 0.3s;
    vertical-align: middle;
}

.header-social .social-icon:hover img {
    opacity: 0.85;
}

/* Vertical separator between social icons and auth/cart */
.header-social .social-divider {
    width: 1px;
    height: 18px;
    background-color: #ccc;
    margin: 0 6px;
}

/* ========================================
   MAIN CONTENT AREA
   ======================================== */

/* Push content below fixed header (80px height) */
/* Flex column so child sections can grow to fill available space */
main {
    margin-top: 80px;
    background-color: #f5f5f5;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

/* ========================================
   HERO SECTION (Homepage)
   ======================================== */

/* Full-viewport hero with mountain background image */
/* flex:1 fills remaining space between header and footer */
/* Negative margin + padding compensates for fixed header overlap */
/* background-position 32% shifts image to show mountain peak + reflection */
.hero {
    flex: 1;
    width: 100%;
    background: url('images/background.jpg') no-repeat center 32%/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: -80px;
    padding-top: 80px;
    background-color: #000;
}

/* Hero logo (if used) */
.hero .logo-container {
    margin-bottom: 50px;
}

.hero .logo-container img {
    height: 120px;
}

/* Hero text content wrapper - pushed down from top */
.hero-content {
    padding-top: 60px;
}

/* Main heading - large serif font with text shadow for readability */
.hero-content h1 {
    font-size: 4.5rem;
    letter-spacing: 18px;
    margin-bottom: 5px;
    font-weight: 300;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.3);
}

/* Subtitle lines ("OUTDOOR & LANDSCAPE" / "PHOTOGRAPHER") */
.hero-content p {
    font-size: 1.2rem;
    letter-spacing: 6px;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 400;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.3);
}

/* Extra spacing after the last subtitle before the button */
.hero-content p:last-of-type {
    margin-bottom: 20px;
}

/* Hero CTA button - white border on semi-transparent background */
/* Fades in with animation after 1 second delay */
.hero .btn {
    border-color: #fff;
    color: #fff;
    font-size: 18px;
    letter-spacing: 5px;
    background-color: rgba(0, 0, 0, 0.45);
    opacity: 0;
    animation: fadeInBtn 2.5s ease-in-out 1s forwards;
}

/* Fade-in animation for hero button */
@keyframes fadeInBtn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hero button hover - invert to white background */
.hero .btn:hover {
    background-color: #fff;
    color: #000;
}

/* ========================================
   GENERIC BUTTON STYLES
   ======================================== */

/* Default button style - black border, transparent background */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #000;
    color: #000;
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.4s ease;
    background-color: transparent;
    font-family: 'Montserrat', sans-serif;
}

/* Button hover - invert to black background, white text */
.btn:hover {
    background-color: #000;
    color: #fff;
}

/* ========================================
   GALLERY PAGES
   ======================================== */

/* Gallery page main container with padding */
/* margin-bottom: 20px matches generic section spacing before footer */
.gallery-container {
    padding: 80px 10% 60px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px;
}

/* Gallery page title - centered, uppercase, serif font */
.gallery-container h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    letter-spacing: 8px;
    color: #000;
    text-transform: uppercase;
    font-weight: 300;
}

/* Gallery subtitle - italic description below title */
.gallery-container > p {
    text-align: center;
    font-size: 1.15rem;
    letter-spacing: 3px;
    margin-bottom: 50px;
    color: #888;
    font-style: italic;
}

/* Gallery subtitle alternate class */
.gallery-subtitle {
    text-align: center;
    font-size: 1.15rem;
    letter-spacing: 3px;
    margin-bottom: 50px;
    color: #888;
    font-style: italic;
}

/* 3-column grid for gallery images */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 100%;
    margin: 0 auto;
}

/* 4-column variant for main gallery category page */
.gallery-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

/* Taller images for 4-column gallery */
.gallery-grid-4 .gallery-item img {
    height: 550px;
}

/* Individual gallery image container with zoom-on-hover */
.gallery-item {
    position: relative;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

/* Gallery images - fixed height, cover-fit, with zoom transition */
/* Image protection: prevents dragging and selecting */
.gallery-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

/* Slight zoom on hover */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Dark overlay that appears on hover with image name */
.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.52);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Show overlay on hover */
.gallery-item:hover .overlay {
    opacity: 1;
}

/* Overlay text - image name */
.gallery-item .overlay span {
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: 3px;
    text-transform: capitalize;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

/* Gallery item title below image (used on main gallery page) */
.gallery-item h2 {
    padding: 20px;
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
}

/* ========================================
   PAGE SECTIONS (generic content areas)
   ======================================== */

/* Standard section padding and width */
/* flex: 1 ensures section fills main on short-content pages (login, gallery) */
section {
    padding: 80px 10%;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background-color: #fff;
    margin-bottom: 20px;
    flex: 1;
}

/* ========================================
   PRINTS SHOP GRID
   ======================================== */

/* 3-column grid for print product cards */
.prints-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto;
}

/* Individual print product card */
.print-item {
    text-align: center;
}

/* Print thumbnail image link wrapper */
.print-item a.print-image-link {
    display: block;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Print thumbnail image with hover zoom */
.print-item a.print-image-link img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

/* Zoom effect on hover */
.print-item a.print-image-link:hover img {
    transform: scale(1.05);
}

/* Print product name */
.print-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Print name link styling */
.print-item h3 a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.print-item h3 a:hover {
    color: #555;
}

/* Price displayed below print name */
.print-item .print-price {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #888;
}

/* "Select Options" button on each print card */
.print-item .select-options-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid #000;
    background: transparent;
    color: #000;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hover state for select options button */
.print-item .select-options-btn:hover {
    background-color: #000;
    color: #fff;
}

/* Section heading - large centered serif title */
section h1 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 8px;
    color: #000;
    text-transform: uppercase;
    font-weight: 300;
    font-family: 'Cormorant Garamond', serif;
}

/* Section sub-heading */
section h2 {
    font-size: 1.15rem;
    margin: 30px 0 15px;
    color: #000;
    font-weight: 400;
}

/* Section paragraph text */
section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

/* ========================================
   CONTACT FORM
   ======================================== */

/* Form container - centered with max width */
form {
    max-width: 600px;
    margin: 40px auto;
}

/* Form field spacing */
form div {
    margin-bottom: 20px;
}

/* Text inputs, email, password, and textarea base styling */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #d0d0d0;
    background-color: #fafafa;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

/* Input focus state - black border, white background */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: #000;
    background-color: #fff;
}

/* Generic button style */
button {
    padding: 15px 40px;
    border: 2px solid #000;
    background-color: transparent;
    color: #000;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    transition: all 0.4s ease;
}

/* Button hover state */
button:hover {
    background-color: #000;
    color: #fff;
}

/* ========================================
   FOOTER
   ======================================== */

/* Footer bar - pinned to bottom via margin-top:auto on flex body */
footer {
    padding: 8px 10%;
    text-align: center;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    width: 100%;
    margin-top: auto;
}

/* Footer content wrapper */
.footer-content {
    max-width: 100%;
    margin: 0 auto;
}

/* Copyright notice text */
.copyright {
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 4px;
    color: #767676;
    line-height: 1.4;
}

/* Policy links row - horizontal centered with wrapping */
.policy-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 4px 0;
}

/* Individual policy link styling */
.policy-links a {
    color: #767676;
    font-size: 11px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.policy-links a:hover {
    color: #000;
}

/* Footer social icons (if used on non-homepage pages) */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.social-icons a {
    color: #999;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #000;
}

/* ========================================
   PRODUCT PAGE (individual print detail)
   ======================================== */

/* Two-column layout: image on left, details on right */
.product-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 80px 10%;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background-color: #fff;
}

/* Product main image with protection against dragging/selecting */
.product-image img {
    width: 100%;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

/* Product title */
.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #000;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 300;
}

/* Product description text */
.product-info p {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Product details box (paper info, specs) */
.product-details {
    padding: 30px;
    border: 1px solid #d0d0d0;
    margin: 30px 0;
    background-color: #fafafa;
}

/* Product price display */
.product-price {
    font-size: 1.5rem;
    margin: 30px 0;
    color: #000;
    font-weight: 400;
}

/* Round icon placeholder for About/Contact pages */
.content-icon {
    width: 150px;
    height: 150px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    margin: 0 auto 40px;
}

/* About Me page - self portrait image */
.self-image {
    width: 100%;
    max-width: 950px;
    display: block;
    margin: 50px auto 0;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

/* ========================================
   PRODUCT PAGE - ENHANCED LAYOUT
   ======================================== */

/* Two-column product page grid: image left, info right */
.product-page-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 60px 10% 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    color: #000;
}

/* Product image inside enhanced layout (no border) */
.product-page-container .product-image img {
    width: 100%;
    max-width: 90%;
    background-color: #f5f5f5;
    border: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

/* "About the image" story section below product photo */
.product-about-image {
    margin-top: 30px;
}

/* About image heading - italic style */
.product-about-image h3 {
    font-size: 0.95rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 12px;
    color: #000;
    letter-spacing: 0.5px;
}

/* About image paragraph */
.product-about-image p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
}

/* Product title in enhanced layout */
.product-page-container h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #000;
    letter-spacing: 2px;
    text-transform: none;
    font-weight: 400;
    text-align: left;
}

/* Product price in enhanced layout */
.product-page-container .product-price {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #000;
    font-weight: 400;
}

/* Size dropdown selector container */
.product-page-container .size-selector {
    margin-bottom: 20px;
}

/* Size selector label */
.product-page-container .size-selector label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #333;
    letter-spacing: 1px;
}

/* Size dropdown select element with custom arrow icon */
.product-page-container .size-selector select {
    width: 50%;
    min-width: 200px;
    max-width: 50%;
    padding: 10px 35px 10px 12px;
    box-sizing: border-box;
    border: 1px solid #d0d0d0;
    background-color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #000;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/* Quantity selector container */
.product-page-container .quantity-selector {
    margin-bottom: 25px;
}

/* Quantity label */
.product-page-container .quantity-selector label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #333;
    letter-spacing: 1px;
}

/* Quantity +/- button group with shared border */
.product-page-container .quantity-selector .qty-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #d0d0d0;
    display: inline-flex;
}

/* Quantity +/- buttons */
.product-page-container .quantity-selector .qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    padding: 0;
    letter-spacing: 0;
    text-transform: none;
    font-family: 'Montserrat', sans-serif;
}

/* Quantity button hover */
.product-page-container .quantity-selector .qty-btn:hover {
    background: #f0f0f0;
    color: #000;
}

/* Quantity number input field (read-only) */
.product-page-container .quantity-selector .qty-input {
    width: 40px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid #d0d0d0;
    border-right: 1px solid #d0d0d0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #000;
    background: #fff;
}

/* Add to Cart button - black background, white text */
.product-page-container .add-to-cart-btn {
    width: 50%;
    min-width: 200px;
    padding: 12px 30px;
    box-sizing: border-box;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* Add to Cart hover */
.product-page-container .add-to-cart-btn:hover {
    background: #333;
    color: #fff;
}

/* ========================================
   ACCORDION SECTIONS (Product Page)
   ======================================== */

/* Accordion wrapper with top border */
.product-accordion {
    margin-top: 30px;
    border-top: 1px solid #d0d0d0;
}

/* Individual accordion item with bottom border */
.accordion-item {
    border-bottom: 1px solid #d0d0d0;
}

/* Accordion header button - toggles content visibility */
.accordion-header {
    width: 100%;
    padding: 18px 0;
    border: none;
    background: transparent;
    color: #000;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

/* Accordion header hover (no visual change, stays transparent) */
.accordion-header:hover {
    background: transparent;
    color: #000;
}

/* Plus icon for collapsed state */
.accordion-header::after {
    content: '+';
    font-size: 1.2rem;
    transition: transform 0.3s;
}

/* Minus icon for expanded state */
.accordion-item.active .accordion-header::after {
    content: '−';
}

/* Collapsed content - hidden with max-height trick for animation */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
}

/* Expanded content - large max-height reveals content smoothly */
.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding-bottom: 20px;
}

/* Accordion content paragraph styling */
.accordion-content p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

/* Accordion content list (e.g., print specs) */
.accordion-content ul {
    list-style: none;
    padding: 0;
}

/* Individual list item in accordion */
.accordion-content ul li {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
    padding: 3px 0;
}

/* ========================================
   CART ICON (in header)
   ======================================== */

/* Cart icon container in header */
.cart-icon {
    position: relative;
    margin-left: 15px;
}

/* Cart icon link */
.cart-icon a {
    color: #767676;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.cart-icon a:hover {
    color: #000;
}

/* Cart item count badge - circular black badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #000;
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Hide badge when cart is empty */
.cart-count.hidden {
    display: none;
}

/* ========================================
   CART PAGE
   ======================================== */

/* Cart page main container */
.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Cart page title */
.cart-container h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 6px;
    color: #000;
    text-transform: uppercase;
    font-weight: 300;
}

/* Empty cart state - centered message with browse link */
.cart-empty {
    text-align: center;
    padding: 60px 0;
}

.cart-empty p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* Two-column cart: items on left, order summary on right */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

/* Left column - cart items list */
.cart-left {
    min-width: 0;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 30px;
}

/* "My cart" section heading */
.cart-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Cart items list wrapper */
.cart-items {
    border-top: 1px solid #e0e0e0;
}

/* Single cart item row: thumbnail, info, qty controls, price, remove */
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Cart item thumbnail image */
.cart-item-thumb img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border: 1px solid #e8e8e8;
}

/* Cart item product name */
.cart-item-info h3 {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

/* Unit price display */
.cart-item-unit-price {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 2px;
}

/* Size/variant info text */
.cart-item-info p {
    font-size: 0.8rem;
    color: #888;
}

/* Quantity selector group in cart (- number +) */
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #d0d0d0;
}

/* Quantity +/- buttons in cart */
.cart-item-qty button {
    width: 32px;
    height: 32px;
    border: none;
    background: #fff;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    letter-spacing: 0;
    text-transform: none;
    color: #999;
}

.cart-item-qty button:hover {
    background: #f0f0f0;
}

/* Quantity display number in cart */
.cart-item-qty span {
    width: 36px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #d0d0d0;
    border-right: 1px solid #d0d0d0;
    font-size: 0.85rem;
}

/* Line total price for cart item */
.cart-item-price {
    font-size: 0.95rem;
    font-weight: 400;
    min-width: 70px;
    text-align: right;
}

/* Trash/remove icon button */
.cart-remove-icon {
    border: none !important;
    background: transparent !important;
    color: #bbb !important;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    transition: color 0.3s;
    line-height: 1;
}

/* Remove icon hover */
.cart-remove-icon:hover {
    color: #666 !important;
    background: transparent !important;
}

/* Bottom action links area (e.g., "Add a note") */
.cart-bottom-links {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.cart-link {
    color: #555;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
    margin-right: 20px;
    transition: color 0.3s;
}

/* Link hover */
.cart-link:hover {
    color: #000;
}

/* Order note textarea area */
.cart-note-area {
    padding: 15px 0;
}

/* Cart action buttons row (Clear Cart, Continue Shopping) */
.cart-actions {
    display: flex;
    gap: 15px;
    padding-top: 20px;
}

/* Smaller button variant inside cart actions */
.cart-actions .btn {
    font-size: 0.8rem;
    padding: 10px 25px;
}

/* Clear cart button - grey styling */
.clear-cart-btn {
    border-color: #999 !important;
    color: #999 !important;
}

/* Clear cart button hover */
.clear-cart-btn:hover {
    background: #999 !important;
    color: #fff !important;
    border-color: #999 !important;
}

/* ========================================
   PAYMENT SECTION
   ======================================== */

/* Payment area divider */
.payment-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.payment-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ========================================
   ORDER SUMMARY (right column in cart)
   ======================================== */

/* Sticky order summary that follows scroll */
.cart-right {
    position: sticky;
    top: 110px;
}

/* Order summary card */
.order-summary-box {
    padding: 30px;
    background: #fff;
    border: 1px solid #e8e8e8;
}

/* Order summary title */
.order-summary-box h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
    text-align: left;
}

/* Summary row (subtotal, delivery, etc.) */
.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #333;
}

/* Shipping details section (country link + delivery select) */
.order-summary-shipping-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

/* Clickable shipping country link */
.shipping-country-link {
    color: #333;
    font-size: 0.85rem;
    text-decoration: underline;
    transition: color 0.3s;
}

.shipping-country-link:hover {
    color: #000;
}

/* Delivery method dropdown (Standard/Expedited) */
.delivery-method-select {
    padding: 8px 10px;
    border: 1px solid #d0d0d0;
    background: #fafafa;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: #333;
    cursor: pointer;
    border-radius: 3px;
    width: 100%;
}

/* Order total row - bold and larger */
.order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding-top: 5px;
}

/* PayPal button container */
#paypal-button-container {
    max-width: 400px;
    margin: 0 auto 10px;
}

/* Order note label */
.order-note-label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #333;
    letter-spacing: 1px;
    text-align: left;
}

/* Order note textarea field */
.order-note-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d0d0d0;
    background: #fafafa;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #000;
    resize: vertical;
    min-height: 70px;
    margin-bottom: 10px;
}

/* Note textarea focus state */
.order-note-textarea:focus {
    outline: none;
    border-color: #000;
    background: #fff;
}

/* "Secure Checkout" text below PayPal */
.secure-checkout {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #555;
    letter-spacing: 0.5px;
    text-align: center;
}

/* ========================================
   SHIPPING MODAL (country selector popup)
   ======================================== */

/* Modal overlay - full screen dark backdrop */
.shipping-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Modal dialog box */
.shipping-modal {
    background: #fff;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    position: relative;
    border-radius: 4px;
}

/* Modal title */
.shipping-modal h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 25px;
    text-align: center;
}

/* Modal form labels */
.shipping-modal label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

/* Modal form inputs and select */
.shipping-modal select,
.shipping-modal input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d0d0d0;
    background: #fafafa;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #000;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

/* Modal input focus state */
.shipping-modal select:focus,
.shipping-modal input[type="text"]:focus {
    outline: none;
    border-color: #000;
    background: #fff;
}

/* Modal close X button */
.shipping-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
}

/* Close button hover */
.shipping-modal-close:hover {
    color: #000;
    background: none;
}

/* Modal update/submit button with rounded pill shape */
.shipping-modal-btn {
    width: 100%;
    padding: 14px;
    border: 1px solid #000;
    background: transparent;
    color: #000;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    transition: all 0.3s;
    border-radius: 20px;
}

/* Modal button hover */
.shipping-modal-btn:hover {
    background: #000;
    color: #fff;
}

/* Zip code validation error message */
.shipping-zip-error {
    color: #c0392b;
    font-size: 0.8rem;
    margin: -12px 0 15px 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
}

/* Input error state (red border) */
.shipping-modal input.input-error {
    border-color: #c0392b;
    background: #fdf2f2;
}

/* ========================================
   PRODUCT ACTION BUTTONS (Add to Cart + Fav)
   ======================================== */

/* Horizontal button group: Add to Cart + Favorite */
.product-action-buttons {
    display: flex;
    gap: 6px;
    align-items: stretch;
    margin-bottom: 6px;
    width: 50%;
    min-width: 200px;
    box-sizing: border-box;
}

/* Buy Now button - separate row, transparent with border */
.buy-now-btn {
    display: block;
    width: 50%;
    min-width: 200px;
    box-sizing: border-box;
    padding: 12px 30px;
    background: transparent;
    color: #000;
    border: 1px solid #000;
    border-top: 1px solid #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

/* Buy Now hover */
.buy-now-btn:hover {
    background: #000;
    color: #fff;
}

/* Add to Cart button within action button group - fills remaining space */
.product-action-buttons .add-to-cart-btn {
    flex: 1;
    margin-bottom: 0;
    width: auto;
    min-width: 0;
    box-sizing: border-box;
}

/* Favorite heart button on product page (inline with Add to Cart) */
.product-fav-btn {
    position: static !important;
    width: 48px !important;
    height: auto !important;
    min-width: 48px !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
    font-size: 1.2rem;
    cursor: pointer;
    color: #000;
    transition: color 0.3s ease, border-color 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    padding: 0 !important;
    margin: 0 !important;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
    box-sizing: border-box;
    z-index: auto !important;
}

/* Product fav button hover - turns red */
.product-fav-btn:hover {
    color: #c0392b !important;
    border-color: #c0392b !important;
    background: transparent !important;
}

/* Product fav button active/favorited state */
.product-fav-btn.favorited {
    color: #c0392b !important;
    border-color: #c0392b !important;
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */

/* Toast popup - slides up from bottom-right */
.toast,
.auth-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #000;
    color: #fff;
    padding: 15px 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    z-index: 10001;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Toast visible state - slides up and fades in */
.toast.show,
.auth-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   AUTH MODAL (Sign In/Register popup)
   ======================================== */

/* Auth modal overlay - full screen backdrop */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Auth modal dialog */
.auth-modal {
    background: #fff;
    width: 90%;
    max-width: 480px;
    padding: 45px 40px;
    position: relative;
}

/* Auth modal close X button */
.auth-modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none !important;
    border: none !important;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    line-height: 1;
}

/* Close button hover */
.auth-modal-close:hover {
    color: #000;
    background: none !important;
}

/* Auth modal heading */
.auth-modal h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 25px;
    text-align: center;
}

/* Auth modal tab bar (Sign In / Register toggle) */
.auth-modal-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

/* Individual tab button */
.auth-modal-tab {
    flex: 1;
    padding: 10px !important;
    background: none !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    color: #999;
    transition: all 0.3s;
}

/* Active tab - black text with underline */
.auth-modal-tab.active {
    color: #000;
    border-bottom-color: #000 !important;
}

/* Auth modal form input fields */
.auth-modal-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d0d0d0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 14px;
    color: #000;
    background: #fff;
}

/* Input focus */
.auth-modal-form input:focus {
    outline: none;
    border-color: #000;
}

/* Auth modal submit button - solid black */
.auth-modal-form button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

/* Submit hover */
.auth-modal-form button[type="submit"]:hover {
    background: #333;
}

/* Disabled submit state (while loading) */
.auth-modal-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Error message text in auth modal */
.auth-modal-error {
    color: #c0392b;
    font-size: 0.8rem;
    margin-bottom: 10px;
    min-height: 1em;
}

/* ========================================
   USER AUTH ICONS (Header)
   ======================================== */

/* Auth icons container in header (sign in / favorites / logout) */
.user-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Sign in link with user icon */
.user-login-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* User icon image */
.user-login-link img {
    width: 18px;
    height: 18px;
    opacity: 0.45;
    transition: opacity 0.3s;
    vertical-align: middle;
}

/* Icon hover */
.user-login-link:hover img {
    opacity: 0.85;
}

/* Favorites heart link (shown when logged in) */
.user-favorites-link {
    color: #c0392b;
    font-size: 16px;
    text-decoration: none;
    transition: opacity 0.3s;
}

/* Favorites hover */
.user-favorites-link:hover {
    opacity: 0.7;
}

/* Logout arrow link */
.user-logout-link {
    color: #999;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s;
}

/* Logout hover */
.user-logout-link:hover {
    color: #000;
}

/* ========================================
   FAVORITE HEART BUTTON (on print cards)
   ======================================== */

/* Print item needs relative positioning for absolute favorite button */
.print-item {
    position: relative;
}

/* Circular heart button overlaid on top-right of print card */
.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
    cursor: pointer;
    color: #ccc;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 0;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
}

/* Heart hover - turns red */
.favorite-btn:hover {
    color: #c0392b;
    background: rgba(255, 255, 255, 1);
}

/* Heart active/favorited state - solid red */
.favorite-btn.favorited {
    color: #c0392b;
}

/* ========================================
   AUTH PAGE (Login/Register full page)
   ======================================== */

/* Auth form container - centered narrow column */
.auth-container {
    max-width: 400px;
    margin: 0 auto;
}

/* Login/Register tab bar */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid #d0d0d0;
    margin-bottom: 30px;
}

/* Individual auth tab button */
.auth-tab {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    color: #999;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

/* Tab hover */
.auth-tab:hover {
    color: #000;
    background: transparent;
}

/* Active tab - black with underline */
.auth-tab.active {
    color: #000;
    border-bottom-color: #000;
}

/* Auth form wrapper */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

/* Auth error message */
.auth-error {
    color: #c0392b;
    font-size: 0.85rem;
    min-height: 20px;
    margin-bottom: 15px;
}

/* Forgot password link */
.auth-forgot {
    margin-top: 15px;
    font-size: 0.8rem;
}

.auth-forgot a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.auth-forgot a:hover {
    color: #000;
}

/* ========================================
   HAMBURGER MENU (Mobile)
   ======================================== */

/* Hidden on desktop - three horizontal bars for mobile nav toggle */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 102;
}

/* Hamburger bars */
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Active state: top bar rotates to form X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

/* Active state: middle bar fades out */
.hamburger.active span:nth-child(2) {
    opacity: 0;
}

/* Active state: bottom bar rotates to form X */
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   GLOBAL FOCUS STYLES (Accessibility)
   ======================================== */

/* Visible focus ring for keyboard navigation */
*:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Remove focus outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* ========================================
   SKIP NAVIGATION (Accessibility)
   ======================================== */

/* Hidden skip link, visible on focus for keyboard users */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 1px;
    z-index: 10002;
    transition: top 0.2s;
}

.skip-nav:focus {
    top: 10px;
}

/* Screen reader only text (for hero, icons, etc.) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   ACTIVE NAV LINK
   ======================================== */

.nav-links a.active {
    color: #000;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.3s;
    z-index: 99;
    padding: 0;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #ccc;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 10000;
    font-size: 0.85rem;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent p {
    margin: 0;
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.5;
}

.cookie-consent a {
    color: #fff;
    text-decoration: underline;
}

.cookie-consent-btn {
    padding: 8px 24px;
    background: #fff;
    color: #000;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.3s;
}

.cookie-consent-btn:hover {
    background: #e0e0e0;
    color: #000;
}

/* ========================================
   BREADCRUMBS (SEO + Navigation)
   ======================================== */

.breadcrumb {
    padding: 15px 0 0;
    font-size: 0.8rem;
    color: #767676;
    letter-spacing: 0.5px;
}

.breadcrumb a {
    color: #767676;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #000;
}

.breadcrumb span {
    margin: 0 8px;
    color: #ccc;
}

/* ========================================
   GALLERY LOADING SKELETON
   ======================================== */

.gallery-item.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    min-height: 350px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   PRODUCT IMAGE ZOOM
   ======================================== */

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image.zoom-active img {
    cursor: zoom-in;
    pointer-events: auto !important;
}

.zoom-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9998;
    align-items: center;
    justify-content: center;
}

.zoom-overlay.active {
    display: flex;
}

.zoom-container {
    width: 95vw;
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
}

.zoom-overlay img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    transform-origin: center center;
    transition: transform 0.1s ease-out;
}

.zoom-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    pointer-events: none;
    transition: opacity 0.5s ease;
    font-family: var(--font-body);
}

.zoom-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    padding: 5px 10px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.zoom-close:hover {
    opacity: 1;
}

/* ========================================
   ROOM VISUALIZER - "See it in your room"
   ======================================== */

.room-visualizer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #d0d0d0;
    color: #333;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.room-visualizer-btn:hover {
    border-color: #333;
    background: #333;
    color: #fff;
}

.room-visualizer-btn svg {
    flex-shrink: 0;
}

.room-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.room-modal.active {
    display: flex;
}

.room-modal-content {
    background: #fff;
    max-width: 1300px;
    width: 96%;
    max-height: 94vh;
    overflow-y: auto;
    padding: 20px;
    position: relative;
}

.room-modal-close {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
    line-height: 1;
    z-index: 1;
}

/* Side-by-side layout: controls left, scene right */
.room-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Left controls panel */
.room-controls-panel {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 4px;
}

.room-controls-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.room-controls-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
}

.room-picker {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.room-picker-btn {
    padding: 8px 16px;
    border: 1px solid #d0d0d0;
    background: #fff;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
    color: #555;
    text-align: left;
}

.room-picker-btn:hover {
    border-color: #333;
    color: #333;
}

.room-picker-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.room-size-picker {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.room-size-btn {
    padding: 7px 14px;
    border: 1px solid #d0d0d0;
    background: #fff;
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s;
    color: #555;
    text-align: left;
}

.room-size-btn:hover {
    border-color: #333;
    color: #333;
}

.room-size-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* Scene takes remaining space */
.room-scene-wrap {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    border-radius: 2px;
}

/* Room scene: real room photo as background (image set by JS) */
.room-scene {
    position: relative;
    width: 100%;
    aspect-ratio: 2816 / 1536;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: background-image 0.3s, transform 0.4s ease;
    transform-origin: center center;
    cursor: crosshair;
    will-change: transform;
}

.room-scene:hover {
    transform: scale(1.4);
}

/* The framed art overlay — positioned by JS */
.room-art {
    position: absolute;
    transform: translate(-50%, -50%);
    border: 2px solid #1a1a1a;
    padding: 4px;
    background: #fff;
    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.15);
    box-sizing: content-box;
    transition: width 0.3s, height 0.3s, left 0.3s, top 0.3s;
}

.room-print {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

/* ========================================
   SOCIAL SHARING BUTTONS
   ======================================== */

.social-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.social-share-label {
    font-size: 0.8rem;
    color: #767676;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #d0d0d0;
    color: #767676;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.social-share a:hover {
    border-color: #000;
    color: #000;
}

/* ========================================
   SEARCH OVERLAY
   ======================================== */

.search-toggle {
    background: none;
    border: none;
    color: #767676;
    cursor: pointer;
    font-size: 15px;
    padding: 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
}

.search-toggle:hover {
    color: #000;
    background: none;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.97);
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    width: 90%;
    max-width: 600px;
    text-align: center;
}

.search-container input {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 2px solid #000;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #000;
    text-align: center;
    letter-spacing: 3px;
}

.search-container input:focus {
    outline: none;
}

.search-container input::placeholder {
    color: #ccc;
}

.search-close {
    position: absolute;
    top: 25px;
    right: 35px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #000;
    padding: 5px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 300;
    line-height: 1;
}

.search-close:hover {
    opacity: 0.6;
    background: none;
    color: #000;
}

.search-results {
    margin-top: 30px;
    text-align: left;
}

.search-results a {
    display: block;
    padding: 12px 0;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.search-results a:hover {
    color: #767676;
}

.search-results .search-no-results {
    color: #767676;
    font-size: 0.95rem;
    padding-top: 15px;
}

/* ========================================
   INLINE STYLE REPLACEMENTS (CSS Classes)
   ======================================== */

/* Content wrapper - max width centered */
.content-narrow {
    max-width: 600px;
    margin: 0 auto;
}

.content-medium {
    max-width: 800px;
    margin: 0 auto;
}

.content-wide {
    max-width: 950px;
    margin: 0 auto;
}

/* Text alignment */
.text-center {
    text-align: center;
}

/* About me page line height */
.about-text {
    line-height: 1.8;
}

/* 404 page styling */
.error-page {
    text-align: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error-page .error-code {
    font-size: 6rem;
    margin-bottom: 10px;
    letter-spacing: 12px;
}

.error-page .error-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #666;
    letter-spacing: 2px;
}

.error-page .error-message {
    font-size: 0.95rem;
    margin-bottom: 40px;
    color: #767676;
}

/* Contact page text */
.contact-greeting {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.contact-body {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-closing {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 50px;
}

/* Form button full width */
.btn-full {
    width: 100%;
    padding: 15px;
}

/* Print shop intro spacing */
.prints-intro {
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Honeypot field - hidden from humans */
.ohnohoney {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet breakpoint (max 1024px) */
@media (max-width: 1024px) {
    header {
        width: 100%;
        left: 0;
        padding: 15px 5%;
    }

    .nav-links {
        gap: 25px;
    }

    .product-section {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 100%;
        max-width: 100%;
        padding: 60px 5%;
    }

    .product-page-container {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        max-width: 100%;
        padding: 60px 5% 40px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cart-right {
        position: static;
    }

    .cart-item {
        grid-template-columns: 100px 1fr auto auto auto;
        gap: 10px;
    }

    .gallery-container,
    section {
        width: 100%;
        max-width: 100%;
        padding: 60px 5%;
    }

    footer {
        padding: 8px 5%;
    }

    .gallery-item img {
        height: 350px;
    }

    .prints-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .print-item a.print-image-link img {
        height: 260px;
    }
}

/* Mobile breakpoint (max 768px) - hamburger nav, stacked layouts */
@media (max-width: 768px) {
    header {
        width: 100%;
        left: 0;
        padding: 15px 3%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        order: -1;
    }

    .logo {
        order: 0;
    }

    .header-social {
        order: 1;
        margin-left: 0;
    }

    nav {
        width: 100%;
        order: 2;
        display: none;
    }

    nav.nav-open {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0 10px;
        font-size: 12px;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        padding: 8px 0 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 5px;
    }

    .gallery-container h1,
    section h1 {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-container,
    section {
        width: 100%;
        max-width: 100%;
        padding: 40px 3%;
    }

    .product-page-container {
        width: 100%;
        max-width: 100%;
        padding: 40px 3%;
    }

    footer {
        padding: 8px 3%;
    }

    main {
        margin-top: 70px;
    }

    .hero {
        padding-top: 70px;
        margin-top: -70px;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 10px;
    }

    .cart-item-info h3 {
        font-size: 0.85rem;
    }

    .cart-item-price,
    .cart-item-unit-price {
        font-size: 0.8rem;
    }

    .cart-item-thumb img {
        width: 80px;
        height: 60px;
    }

    .cart-item-qty button {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }

    .gallery-item img {
        height: 250px;
    }

    .prints-grid {
        grid-template-columns: 1fr;
    }

    .print-item a.print-image-link img {
        height: 220px;
    }

    .room-modal-content {
        padding: 14px 10px 12px;
    }

    .room-layout {
        flex-direction: column;
        gap: 10px;
    }

    .room-controls-panel {
        flex: none;
        flex-direction: row;
        gap: 16px;
        width: 100%;
    }

    .room-controls-section {
        flex: 1;
    }

    .room-picker {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .room-picker-btn {
        padding: 5px 12px;
        font-size: 0.7rem;
    }

    .room-size-picker {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .room-size-btn {
        padding: 4px 10px;
        font-size: 0.65rem;
    }

    .room-art {
        padding: 3px;
        border-width: 1.5px;
    }
}

/* Small mobile breakpoint (max 480px) - extra-narrow screens */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .hero-content p {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .gallery-container h1,
    section h1 {
        font-size: 1.6rem;
        letter-spacing: 3px;
    }

    .gallery-item img {
        height: 200px;
    }

    .gallery-grid-4 {
        grid-template-columns: 1fr;
    }

    .gallery-grid-4 .gallery-item img {
        height: 250px;
    }

    .product-page-container {
        padding: 30px 3%;
    }

    .product-page-container h1 {
        font-size: 1.6rem;
    }

    .product-page-container .add-to-cart-btn,
    .product-action-buttons,
    .buy-now-btn,
    .product-page-container .size-selector select {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .cookie-consent {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
        gap: 12px;
    }

    .lightbox-arrow {
        font-size: 2rem;
        padding: 10px;
    }

    .lightbox-arrow.left {
        left: 5px;
    }

    .lightbox-arrow.right {
        right: 5px;
    }

    .lightbox-counter {
        font-size: 0.75rem;
    }

    .social-share {
        flex-wrap: wrap;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
    }

    .search-container input {
        font-size: 1.4rem;
    }

    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 8px;
    }

    .cart-item-thumb img {
        width: 60px;
        height: 45px;
    }

    .breadcrumb {
        font-size: 0.7rem;
    }
}

/* Ultra-wide screens (2000px+) - larger images and text */
@media (min-width: 2000px) {
    .gallery-item img {
        height: 600px;
    }

    .gallery-container h1,
    section h1 {
        font-size: 3.2rem;
    }
}

/* Extra-large screens (2560px+) */
@media (min-width: 2560px) {
    .gallery-item img {
        height: 750px;
    }
}

/* ========================================
   HERO ASPECT-RATIO ADJUSTMENTS
   Keeps text centered on mountain-reflection line across
   different screen ratios. With background-size:cover on a
   wider-than-image viewport, vertical crop increases and the
   mountain center shifts down — these queries push the hero
   text down to follow it. 16:9 (default) is untouched.
   ======================================== */

/* Widescreen (aspect ratio > ~1.9:1, e.g. 1920x1000) */
@media (min-aspect-ratio: 19/10) {
    .hero-content {
        padding-top: 70px;
    }
    .hero {
        background-position: center 31%;
    }
}

/* Ultrawide entry (aspect ratio > ~2.1:1, e.g. 21:9 monitors) */
@media (min-aspect-ratio: 21/10) {
    .hero-content {
        padding-top: 124px;
    }
    .hero {
        background-position: center 33%;
    }
}

/* Deep ultrawide (aspect ratio > 2.5:1, e.g. 32:9 super-ultrawides) */
@media (min-aspect-ratio: 25/10) {
    .hero-content {
        padding-top: 160px;
    }
    .hero {
        background-position: center 35%;
    }
}

/* ========================================
   LIGHTBOX / FULLSCREEN IMAGE VIEWER
   ======================================== */

/* Lightbox overlay - dark background covering full viewport */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Lightbox active state - display flex to center image, fade in */
.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

/* Lightbox image - constrained to viewport, protected from dragging */
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Lightbox close X button (top-right) - now a proper button */
.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10000;
    font-weight: 300;
    line-height: 1;
    transition: opacity 0.3s;
    font-family: 'Montserrat', sans-serif;
    background: none;
    border: none;
    padding: 5px;
    letter-spacing: 0;
    text-transform: none;
}

/* Close button hover */
.lightbox-close:hover {
    opacity: 0.7;
    background: none;
    color: #fff;
}

/* Image caption at bottom of lightbox */
.lightbox-caption {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

/* Image counter (e.g., "3 / 9") */
.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

/* Navigation arrows (prev/next) - now proper buttons */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10000;
    padding: 20px;
    font-weight: 300;
    transition: opacity 0.3s;
    user-select: none;
    -webkit-user-select: none;
    font-family: 'Montserrat', sans-serif;
    background: none;
    border: none;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
}

/* Arrow hover */
.lightbox-arrow:hover {
    opacity: 0.7;
    background: none;
    color: #fff;
}

/* Left arrow position */
.lightbox-arrow.left {
    left: 15px;
}

/* Right arrow position */
.lightbox-arrow.right {
    right: 15px;
}