/* /corner-barr/css/styles.css */


/* =========================================
   VARIABLES
========================================= */

:root {

    --forest: #26382d;
    --forest-dark: #18251d;

    --wood: #8a5c39;
    --wood-light: #c49a6c;

    --cream: #f5f0e7;
    --cream-dark: #e9dfcf;

    --charcoal: #292825;
    --muted: #716d64;

    --white: #ffffff;

    --border:
        rgba(41, 40, 37, 0.15);

    --shadow:
        0 18px 45px rgba(31, 27, 20, 0.14);

    --serif:
        "Cormorant Garamond",
        Georgia,
        serif;

    --sans:
        "Montserrat",
        Arial,
        sans-serif;
}


/* =========================================
   RESET
========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--cream);
    color: var(--charcoal);

    font-family: var(--sans);

    line-height: 1.6;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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


/* =========================================
   HEADER
========================================= */

.site-header {

    position: sticky;
    top: 0;

    z-index: 100;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.25)
        ),
        url("../assets/images/mountains.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-bottom:
        2px solid #000;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.25);
}

.header-inner {

    width: min(1200px, 92%);

    min-height: 100px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


/* =========================================
   BRAND
========================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    background: #000;

    color: #fff;

    padding: 10px 16px;
}

.brand-mark {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border: 1px solid #fff;

    color: #fff;

    transform: rotate(-5deg);
}

.brand-mark span {

    font-size: 27px;

    transform:
        rotate(5deg);
}

.brand-name {

    font-family: var(--serif);

    font-size: 25px;

    font-weight: 700;

    letter-spacing: 2px;

    line-height: 1;

    color: #fff;
}

.brand-tagline {

    margin-top: 4px;

    font-size: 8px;

    letter-spacing: 2px;

    font-weight: 600;

    color: #fff;
}


/* =========================================
   MAIN NAV
========================================= */

.main-nav {

    display: flex;

    gap: 10px;

    font-size: 12px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}

.main-nav a {

    background: #000;

    color: #fff;

    padding:
        13px 20px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.main-nav a:hover {

    background: #222;

    transform:
        translateY(-2px);
}


/* =========================================
   CART BUTTON
========================================= */

.cart-button {

    border: none;

    background: #000;

    color: #fff;

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        13px 16px;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.3px;
}

.cart-button:hover {
    background: #222;
}

.cart-count {

    width: 24px;
    height: 24px;

    display: grid;

    place-items: center;

    border:
        1px solid #fff;

    border-radius: 50%;

    font-size: 11px;
}


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

.hero {

    min-height: 650px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            135deg,
            #ddd5c6 0%,
            #c9c0b0 55%,
            #a99e8d 100%
        );
}

.hero::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 45%;

    background:
        linear-gradient(
            transparent,
            rgba(24, 37, 29, 0.8)
        );

    pointer-events: none;
}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(255,255,255,0.5),
            transparent 35%
        );
}

.hero-content {

    width: min(1200px, 92%);

    margin: auto;

    position: relative;

    z-index: 3;

    padding:
        100px 0;
}

.eyebrow {

    color: var(--forest);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}

.hero h1 {

    max-width: 700px;

    margin-top: 12px;

    font-family: var(--serif);

    font-size:
        clamp(58px, 8vw, 105px);

    line-height: 0.86;

    font-weight: 600;
}

.hero h1 em {

    color: var(--forest);

    font-weight: 500;
}

.hero-text {

    max-width: 540px;

    margin-top: 28px;

    font-size: 15px;

    line-height: 1.8;
}

.hero .primary-button {

    margin-top: 35px;
}


/* =========================================
   BUTTONS
========================================= */

.primary-button,
.secondary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding:
        0 26px;

    border-radius: 2px;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.primary-button {

    border: none;

    background:
        var(--forest);

    color: white;
}

.primary-button:hover {

    background:
        var(--forest-dark);

    transform:
        translateY(-2px);
}

.secondary-button {

    border:
        1px solid var(--forest);

    color:
        var(--forest);
}

.secondary-button:hover {

    background:
        var(--forest);

    color: white;
}

.full-width {
    width: 100%;
}


/* =========================================
   SHOP
========================================= */

.shop-section {

    width: min(1200px, 92%);

    margin: auto;

    padding:
        110px 0 120px;
}

.shop-header {

    max-width: 700px;

    margin-bottom: 55px;
}

.shop-header h2 {

    margin-top: 8px;

    font-family: var(--serif);

    font-size:
        clamp(45px, 5vw, 70px);

    line-height: 0.95;
}

.shop-header > p:last-child {

    max-width: 620px;

    margin-top: 20px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================
   SHOP CATEGORY NAVIGATION
========================================= */

.shop-category-nav {

    position: sticky;

    top: 100px;

    z-index: 20;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 2px;

    margin-bottom: 90px;

    background:
        var(--charcoal);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.12);
}

.shop-category-link {

    min-height: 80px;

    padding:
        18px 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    background:
        var(--forest);

    color: white;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.4px;

    transition:
        background 0.2s ease;
}

.shop-category-link:hover {

    background:
        var(--forest-dark);
}

.shop-category-link span {

    font-size: 9px;

    color:
        #c8b38f;
}


/* =========================================
   COLLECTIONS
========================================= */

.shop-collection {

    scroll-margin-top: 190px;

    padding-bottom: 115px;
}

.shop-collection + .shop-collection {

    padding-top: 25px;

    border-top:
        1px solid var(--border);
}

.collection-heading {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: end;

    gap: 50px;

    margin-bottom: 45px;
}

.collection-heading h2 {

    margin-top: 7px;

    font-family: var(--serif);

    font-size:
        clamp(42px, 5vw, 65px);

    line-height: 0.9;
}

.collection-heading > p {

    max-width: 430px;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================
   PRODUCT GRID
========================================= */

.product-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.product-card {

    position: relative;

    background: white;

    box-shadow:
        var(--shadow);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        0 25px 55px rgba(31,27,20,0.18);
}


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

.product-image {

    height: 280px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;
}

.product-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2d2bd, #c2aa8c);
}

.wishlist-heart {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: var(--charcoal);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.wishlist-heart:hover {
    background: white;
}

.wishlist-heart.active {
    color: #8d4c40;
}


/* Cutting boards */

.product-image.cutting-board-image {

    background:
        linear-gradient(
            135deg,
            #e2d2bd,
            #c2aa8c
        );
}

.board-shape {

    width: 76%;
    height: 68%;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    box-shadow:
        0 16px 30px rgba(0,0,0,0.25);

    transform:
        rotate(-2deg);
}

.board-shape::after {

    content: "";

    position: absolute;

    width: 12px;
    height: 12px;

    top: 13px;
    right: 13px;

    border-radius: 50%;

    background:
        rgba(45,35,24,0.4);
}

.board-classic {

    background:
        repeating-linear-gradient(
            90deg,
            #9b6842 0px,
            #9b6842 22px,
            #c49768 23px,
            #c49768 45px
        );
}

.board-paddle {

    width: 65%;
    height: 73%;

    border-radius:
        18px 18px 48% 48%;
}

.board-dark {

    background:
        repeating-linear-gradient(
            90deg,
            #5d4634 0px,
            #5d4634 20px,
            #80644c 21px,
            #80644c 42px
        );
}

.board-serving {

    width: 80%;
    height: 58%;

    background:
        repeating-linear-gradient(
            90deg,
            #bd966a 0px,
            #bd966a 28px,
            #73523a 29px,
            #73523a 48px
        );
}

.board-engraving {

    color:
        rgba(48,34,23,0.65);

    font-family:
        var(--serif);

    font-size: 22px;

    font-weight: 700;

    text-align: center;
}


/* =========================================
   SOAP & CANDLE PRODUCTS
========================================= */

.product-image.soap-candle-image {

    background:
        linear-gradient(
            135deg,
            #d9d0bd,
            #eee7d9
        );
}

.product-object {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow:
        0 16px 30px rgba(0,0,0,0.18);
}

.soap-object {

    width: 130px;
    height: 90px;

    border-radius:
        15px 15px 20px 20px;

    background:
        linear-gradient(
            135deg,
            #c9b18b,
            #e8d8ba
        );
}

.soap-object::before {

    content: "";

    position: absolute;

    width: 75px;
    height: 18px;

    top: 20px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.35);
}

.candle-object {

    width: 105px;
    height: 135px;

    border-radius:
        8px 8px 14px 14px;

    background:
        linear-gradient(
            90deg,
            #d7c4a4,
            #f0e5d0,
            #c4aa83
        );
}

.candle-object::before {

    content: "";

    position: absolute;

    width: 3px;
    height: 22px;

    top: -20px;

    background: #29231c;
}

.candle-object::after {

    content: "";

    position: absolute;

    width: 10px;
    height: 15px;

    top: -34px;

    border-radius:
        50% 50% 50% 50%;

    background:
        #d39a46;
}


/* =========================================
   HOLIDAY PRODUCTS
========================================= */

.holiday-collection {

    padding-top: 30px;
}

.product-image.holiday-image {

    background:
        linear-gradient(
            135deg,
            #26382d,
            #536655
        );
}

.holiday-object {

    width: 150px;
    height: 150px;

    display: grid;

    place-items: center;

    border:
        3px solid #c8b38f;

    background:
        #18251d;

    color:
        #c8b38f;

    font-family:
        var(--serif);

    font-size: 32px;

    text-align: center;

    transform:
        rotate(-4deg);

    box-shadow:
        0 18px 30px rgba(0,0,0,0.3);
}

.holiday-object::before {

    content: "";

    position: absolute;

    inset: 10px;

    border:
        1px solid rgba(200,179,143,0.4);
}


/* =========================================
   PRODUCT INFO
========================================= */

.product-info {

    padding: 24px;
}

.product-category {

    color:
        var(--muted);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.product-name {

    margin-top: 5px;

    font-family:
        var(--serif);

    font-size: 30px;

    line-height: 1;
}

.product-description {

    margin-top: 10px;

    color:
        var(--muted);

    font-size: 12px;

    line-height: 1.7;
}

.product-bottom {

    margin-top: 22px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}

.product-price {

    font-weight: 700;
}

.small-button {

    padding:
        10px 15px;

    border:
        1px solid var(--forest);

    background:
        transparent;

    color:
        var(--forest);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.small-button:hover {

    background:
        var(--forest);

    color:
        white;
}


/* =========================================
   CUSTOM SECTION
========================================= */

.custom-section {

    background:
        var(--forest);

    color:
        white;

    padding:
        110px 0;
}

.custom-container {

    width:
        min(1200px, 92%);

    margin:
        auto;

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        80px;

    align-items:
        center;
}

.custom-preview .eyebrow,
.builder-header .eyebrow {

    color:
        #c8b38f;
}

.custom-preview h2,
.builder-header h2 {

    color:
        white;

    margin-top: 8px;

    font-family:
        var(--serif);

    font-size:
        clamp(42px, 5vw, 65px);

    line-height:
        0.95;
}

.custom-preview > p:not(.eyebrow) {

    max-width:
        500px;

    margin-top:
        18px;

    color:
        rgba(255,255,255,0.7);

    font-size:
        14px;
}


/* =========================================
   PREVIEW BOARD
========================================= */

.preview-board {

    margin-top:
        50px;

    min-height:
        390px;

    display:
        grid;

    place-items:
        center;
}

.preview-wood {

    width:
        82%;

    height:
        300px;

    border-radius:
        18px;

    position:
        relative;

    display:
        grid;

    place-items:
        center;

    box-shadow:
        0 30px 50px rgba(0,0,0,0.35);

    transform:
        rotate(-4deg);

    background:
        repeating-linear-gradient(
            90deg,
            #b17b4f 0px,
            #b17b4f 28px,
            #d0a478 29px,
            #d0a478 52px,
            #8d5f3f 53px,
            #8d5f3f 68px
        );
}

.preview-wood::before {

    content:
        "";

    position:
        absolute;

    inset:
        12px;

    border:
        2px solid rgba(255,255,255,0.25);

    border-radius:
        12px;
}

.preview-engraving {

    position:
        relative;

    z-index:
        2;

    color:
        rgba(50,33,22,0.72);

    font-family:
        var(--serif);

    font-size:
        clamp(25px,4vw,40px);

    font-weight:
        700;

    text-align:
        center;

    padding:
        20px;
}


/* =========================================
   CUSTOM BUILDER
========================================= */

.custom-builder {

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid rgba(255,255,255,0.12);

    padding:
        35px;

    border-radius:
        3px;
}

.form-group {

    margin-top:
        25px;
}

.form-group label {

    display:
        block;

    margin-bottom:
        8px;

    font-size:
        10px;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        1.3px;
}

select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {

    width:
        100%;

    padding:
        14px 15px;

    border:
        1px solid rgba(255,255,255,0.2);

    border-radius:
        2px;

    background:
        rgba(255,255,255,0.07);

    color:
        white;

    outline:
        none;
}

select option {

    color:
        var(--charcoal);
}

input::placeholder,
textarea::placeholder {

    color:
        rgba(255,255,255,0.4);
}

textarea {

    min-height:
        110px;

    resize:
        vertical;
}

input:focus,
select:focus,
textarea:focus {

    border-color:
        #c8b38f;
}

.input-help {

    margin-top:
        5px;

    color:
        rgba(255,255,255,0.4);

    font-size:
        9px;
}


/* =========================================
   OPTIONS
========================================= */

.option-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:
        8px;
}

.wood-option {

    padding:
        13px 8px;

    border:
        1px solid rgba(255,255,255,0.2);

    background:
        transparent;

    color:
        white;

    font-size:
        10px;
}

.wood-option.active {

    border-color:
        #c8b38f;

    background:
        rgba(200,179,143,0.15);
}

.style-options {

    display:
        flex;

    gap:
        8px;

    flex-wrap:
        wrap;
}

.style-option {

    padding:
        11px 14px;

    border:
        1px solid rgba(255,255,255,0.2);

    background:
        transparent;

    color:
        white;

    font-size:
        10px;
}

.style-option.active {

    border-color:
        #c8b38f;

    background:
        rgba(200,179,143,0.15);
}

.checkbox-label {

    display:
        flex !important;

    align-items:
        center;

    gap:
        10px;
}

.checkbox-label input {

    width:
        17px;

    height:
        17px;
}

.gift-message-container {

    display:
        none;
}

.gift-message-container.visible {

    display:
        block;
}

.builder-total {

    margin-top:
        35px;

    padding-top:
        25px;

    border-top:
        1px solid rgba(255,255,255,0.15);

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;
}

.builder-total span {

    display:
        block;

    color:
        rgba(255,255,255,0.55);

    font-size:
        9px;

    text-transform:
        uppercase;

    letter-spacing:
        1px;
}

.builder-total strong {

    display:
        block;

    margin-top:
        2px;

    font-family:
        var(--serif);

    font-size:
        34px;
}


/* =========================================
   ABOUT
========================================= */

.about-section {

    padding:
        120px 0;

    background:
        var(--cream-dark);
}

.about-inner {

    width:
        min(1050px,90%);

    margin:
        auto;

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        90px;

    align-items:
        center;
}

.about-text h2 {

    margin-top:
        8px;

    font-family:
        var(--serif);

    font-size:
        clamp(42px,5vw,65px);

    line-height:
        0.95;
}

.about-text p:not(.eyebrow) {

    max-width:
        520px;

    margin-top:
        18px;

    color:
        var(--muted);

    font-size:
        14px;
}

.about-text .secondary-button {

    margin-top:
        28px;
}

.about-card {

    min-height:
        450px;

    position:
        relative;

    display:
        grid;

    place-items:
        center;

    overflow:
        hidden;

    background:
        repeating-linear-gradient(
            8deg,
            #9c6c46 0px,
            #9c6c46 23px,
            #b47f52 24px,
            #b47f52 47px
        );

    box-shadow:
        var(--shadow);
}

.wood-grain {

    position:
        absolute;

    inset:
        0;

    opacity:
        0.2;

    background:
        repeating-radial-gradient(
            ellipse,
            transparent 0,
            transparent 16px,
            rgba(50,30,20,0.35) 17px,
            transparent 19px
        );
}

.about-card-content {

    position:
        relative;

    z-index:
        2;

    text-align:
        center;

    color:
        rgba(46,31,21,0.7);
}

.about-card-content span {

    display:
        block;

    font-size:
        11px;

    letter-spacing:
        4px;
}

.about-card-content strong {

    display:
        block;

    margin-top:
        8px;

    font-family:
        var(--serif);

    font-size:
        55px;

    line-height:
        0.78;
}

.about-card-content small {

    display:
        block;

    margin-top:
        20px;

    font-size:
        9px;

    letter-spacing:
        3px;
}

.about-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


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

.cart-overlay {

    position:
        fixed;

    inset:
        0;

    z-index:
        200;

    background:
        rgba(0,0,0,0.5);

    opacity:
        0;

    visibility:
        hidden;

    transition:
        0.25s ease;
}

.cart-overlay.open {

    opacity:
        1;

    visibility:
        visible;
}

.cart-drawer {

    position:
        fixed;

    top:
        0;

    right:
        0;

    z-index:
        201;

    width:
        min(460px,94vw);

    height:
        100vh;

    background:
        var(--cream);

    transform:
        translateX(100%);

    transition:
        transform 0.3s ease;

    display:
        flex;

    flex-direction:
        column;
}

.cart-drawer.open {

    transform:
        translateX(0);
}

.cart-header {

    padding:
        30px;

    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    border-bottom:
        1px solid var(--border);
}

.cart-header h2 {

    font-family:
        var(--serif);

    font-size:
        40px;

    line-height:
        0.9;
}

.close-button {

    width:
        38px;

    height:
        38px;

    border:
        1px solid var(--border);

    background:
        transparent;

    font-size:
        25px;

    line-height:
        1;
}

.cart-items {

    flex:
        1;

    overflow-y:
        auto;

    padding:
        20px 30px;
}

.empty-cart {

    padding:
        60px 10px;

    text-align:
        center;

    color:
        var(--muted);

    font-size:
        13px;
}

.cart-item {

    padding:
        18px 0;

    display:
        grid;

    grid-template-columns:
        80px 1fr auto;

    gap:
        15px;

    border-bottom:
        1px solid var(--border);
}

.cart-item-image {

    width:
        80px;

    height:
        80px;

    border-radius:
        5px;

    background:
        repeating-linear-gradient(
            90deg,
            #9b6842 0px,
            #9b6842 20px,
            #c49768 21px,
            #c49768 40px
        );
}

.cart-item-name {

    font-family:
        var(--serif);

    font-size:
        21px;

    font-weight:
        700;
}

.cart-item-details {

    margin-top:
        3px;

    color:
        var(--muted);

    font-size:
        10px;
}

.cart-item-price {

    font-weight:
        700;
}

.quantity-controls {

    margin-top:
        12px;

    display:
        flex;

    align-items:
        center;

    gap:
        8px;
}

.quantity-controls button {

    width:
        25px;

    height:
        25px;

    border:
        1px solid var(--border);

    background:
        transparent;
}

.quantity-controls span {

    min-width:
        20px;

    text-align:
        center;

    font-size:
        11px;
}

.remove-item {

    margin-top:
        10px;

    border:
        none;

    background:
        none;

    color:
        #8d4c40;

    font-size:
        9px;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        1px;
}

.cart-footer {

    padding:
        25px 30px;

    border-top:
        1px solid var(--border);
}

.cart-total {

    margin-bottom:
        18px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;
}

.cart-total strong {

    font-family:
        var(--serif);

    font-size:
        32px;
}


/* =========================================
   CHECKOUT
========================================= */

.modal-overlay {

    position:
        fixed;

    inset:
        0;

    z-index:
        300;

    display:
        grid;

    place-items:
        center;

    padding:
        20px;

    background:
        rgba(0,0,0,0.65);

    opacity:
        0;

    visibility:
        hidden;

    transition:
        0.25s ease;
}

.modal-overlay.open {

    opacity:
        1;

    visibility:
        visible;
}

.checkout-modal {

    width:
        min(550px,100%);

    max-height:
        90vh;

    overflow-y:
        auto;

    position:
        relative;

    padding:
        40px;

    background:
        var(--cream);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.35);
}

.checkout-modal > h2 {

    margin-top:
        5px;

    font-family:
        var(--serif);

    font-size:
        48px;

    line-height:
        0.9;
}

.modal-close {

    position:
        absolute;

    top:
        20px;

    right:
        20px;
}

.checkout-note {

    margin-top:
        15px;

    color:
        var(--muted);

    font-size:
        12px;
}

.checkout-modal .form-group label {

    color:
        var(--charcoal);
}

.checkout-modal input,
.checkout-modal textarea {

    color:
        var(--charcoal);

    background:
        white;

    border:
        1px solid var(--border);
}

.checkout-modal input::placeholder,
.checkout-modal textarea::placeholder {

    color:
        #999;
}

.checkout-summary {

    margin-top:
        25px;

    padding-top:
        20px;

    border-top:
        1px solid var(--border);

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;
}

.checkout-summary strong {

    font-family:
        var(--serif);

    font-size:
        32px;
}

.payment-placeholder {

    margin-top:
        12px;

    text-align:
        center;

    color:
        var(--muted);

    font-size:
        9px;
}


/* =========================================
   CHECKOUT — PAYPAL & CONFIRMATION
========================================= */

.checkout-error {

    display:
        none;

    margin-top:
        18px;

    padding:
        12px 14px;

    border:
        1px solid #8d4c40;

    background:
        rgba(141, 76, 64, 0.08);

    color:
        #8d4c40;

    font-size:
        12px;

    line-height:
        1.5;
}

.checkout-error.visible {
    display: block;
}

.shipping-section {
    margin-top: 25px;
}

.shipping-section-label {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: var(--charcoal);
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shipping-option-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    background: white;
    font-size: 12px;
    cursor: pointer;
}

.shipping-option-row input[type="radio"] {
    width: auto;
}

.shipping-option-main {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shipping-option-name {
    font-weight: 700;
}

.shipping-option-days {
    color: var(--muted);
    font-size: 11px;
    margin-left: 6px;
}

.shipping-option-price {
    font-weight: 700;
}

.shipping-free-banner {
    padding: 10px 14px;
    background: rgba(38, 56, 45, 0.08);
    color: var(--forest);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.paypal-button-container {

    margin-top:
        22px;

    min-height:
        45px;
}

.order-confirmation {

    display:
        none;

    padding:
        10px 0 5px;
}

.order-confirmation h2 {

    margin-top:
        8px;

    font-family:
        var(--serif);

    font-size:
        42px;

    line-height:
        0.95;
}

.order-confirmation .checkout-note {
    color: var(--muted);
}


/* =========================================
   HEADER ACTIONS / ACCOUNT
========================================= */

.header-actions {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-button {
    position: relative;
    border: none;
    background: #000;
    color: #fff;
    padding: 13px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.account-button:hover {
    background: #222;
}

.hidden {
    display: none !important;
}

.account-toggle {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
}

.account-toggle button {
    border: none;
    background: none;
    color: var(--forest);
    font-weight: 700;
    text-decoration: underline;
    margin-left: 5px;
}

.password-field-wrapper {
    position: relative;
}

.password-field-wrapper input {
    padding-right: 44px;
}

.password-toggle-button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: var(--muted);
}

.password-toggle-button:hover {
    color: var(--charcoal);
}


/* =========================================
   ADMIN — MANAGE SHOP
========================================= */

.admin-modal {
    width: min(900px, 100%);
}

.admin-layout {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 35px;
    align-items: start;
}

.admin-list h3,
.admin-form-panel h3 {
    font-family: var(--serif);
    font-size: 24px;
    margin-bottom: 15px;
}

#adminProductList {
    max-height: 520px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-product-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: white;
    border: 1px solid var(--border);
}

.admin-product-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    background: var(--cream-dark);
}

.admin-product-info .name {
    font-weight: 700;
    font-size: 13px;
}

.admin-product-info .meta {
    color: var(--muted);
    font-size: 11px;
    margin-top: 2px;
}

.admin-row-actions {
    display: flex;
    gap: 6px;
}

.admin-row-actions button {
    border: 1px solid var(--border);
    background: transparent;
    padding: 6px 10px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-row-actions button:hover {
    background: var(--cream-dark);
}

.admin-row-actions .delete-button {
    color: #8d4c40;
    border-color: #8d4c40;
}

.admin-drop-zone {
    position: relative;
    border: 2px dashed var(--border);
    padding: 25px 15px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
    background: var(--cream-dark);
}

.admin-drop-zone.dragging {
    border-color: var(--forest);
    background: rgba(38, 56, 45, 0.06);
}

.admin-extra-photos-help {
    margin-top: 0;
    margin-bottom: 10px;
}

.admin-extra-drop-zone {
    padding: 16px 12px;
    font-size: 11px;
}

.admin-extra-photos-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.admin-extra-photo-item {
    position: relative;
    aspect-ratio: 1 / 1;
}

.admin-extra-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.admin-extra-photo-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: #8d4c40;
    color: white;
    font-size: 12px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-image-preview {
    display: block;
    max-width: 100%;
    max-height: 160px;
    margin: 0 auto 12px;
    object-fit: cover;
}

.admin-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.admin-form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.admin-form-actions .primary-button,
.admin-form-actions .secondary-button {
    flex: 1;
}

@media (max-width: 700px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
}

.input-hint {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--muted);
    font-size: 10px;
}

.variation-type-block {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--border);
    background: var(--cream-dark);
}

.variation-type-header {
    display: flex;
    align-items: end;
    gap: 10px;
}

.variation-type-header .form-group {
    flex: 1;
    margin-top: 0;
}

.variation-type-header .remove-item {
    margin-top: 0;
    white-space: nowrap;
}

.variation-options-label {
    display: block;
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: var(--charcoal);
}

.variation-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.variation-option-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 8px;
    align-items: center;
}

.variation-option-row input {
    padding: 10px;
    border: 1px solid var(--border);
    background: white;
    color: var(--charcoal);
    font-size: 12px;
}

.variation-remove-option {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border);
    background: white;
    color: #8d4c40;
    font-size: 16px;
    line-height: 1;
}

.variation-add-option {
    margin-top: 10px;
    min-height: 38px;
    font-size: 10px;
}

@media (max-width: 700px) {
    .variation-option-row {
        grid-template-columns: 1fr 1fr;
    }
    .variation-remove-option {
        grid-column: span 2;
        width: 100%;
    }
}


/* =========================================
   MY ORDERS (customer account view)
========================================= */

.account-orders-heading {
    margin-top: 30px;
    margin-bottom: 12px;
    font-family: var(--serif);
    font-size: 22px;
}

.my-orders-list {
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.my-wishlist-list {
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.wishlist-item-row {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 8px;
    border: 1px solid var(--border);
    background: white;
}

.wishlist-item-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    background: var(--cream-dark);
}

.wishlist-item-info .name {
    font-size: 12px;
    font-weight: 700;
}

.wishlist-item-info .price {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}


/* =========================================
   SAVED PAYMENT METHODS
========================================= */

.payment-methods-note {
    margin-top: 6px;
    margin-bottom: 10px;
}

.my-payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.payment-method-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid var(--border);
    background: white;
    font-size: 12px;
}

.save-paypal-button {
    margin-top: 4px;
    margin-bottom: 24px;
    min-height: 40px;
}

.saved-payment-methods-section {
    margin-top: 18px;
}

.saved-payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.saved-payment-method-button {
    padding: 12px 14px;
    border: 1px solid var(--forest);
    background: white;
    color: var(--forest);
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}

.saved-payment-method-button:hover {
    background: rgba(38, 56, 45, 0.06);
}

.saved-payment-method-button:disabled {
    opacity: 0.6;
}

.saved-methods-or {
    margin-top: 10px;
    text-align: center;
}

.save-wallet-option {
    margin-top: 15px;
}

.order-card {
    border: 1px solid var(--border);
    background: white;
    padding: 14px;
    font-size: 12px;
}

.order-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.order-card-date {
    color: var(--muted);
}

.order-status-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

.order-status-processing {
    background: rgba(138, 92, 57, 0.15);
    color: var(--wood);
}

.order-status-shipped {
    background: rgba(38, 56, 45, 0.12);
    color: var(--forest);
}

.order-status-delivered {
    background: rgba(38, 56, 45, 0.85);
    color: white;
}

.order-status-canceled {
    background: rgba(141, 76, 64, 0.12);
    color: #8d4c40;
}

.order-card-items {
    color: var(--muted);
    margin-bottom: 6px;
}

.order-card-shipping {
    color: var(--charcoal);
}

.order-card-total {
    margin-top: 6px;
    font-weight: 700;
}


/* =========================================
   ADMIN TABS + ORDERS
========================================= */

.admin-tabs {
    margin-top: 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.admin-tab {
    border: none;
    background: none;
    padding: 10px 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.admin-tab.active {
    color: var(--forest);
    border-bottom-color: var(--forest);
}

.admin-orders-section {
    margin-top: 20px;
}

#adminOrdersList {
    max-height: 560px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-order-row {
    border: 1px solid var(--border);
    background: white;
    padding: 16px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.admin-order-row.order-row-highlight,
.order-card.order-row-highlight {
    background: rgba(38, 56, 45, 0.1);
    border-color: var(--forest);
}

.admin-order-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 10px;
}

.admin-order-customer {
    font-weight: 700;
    font-size: 13px;
}

.admin-order-meta {
    color: var(--muted);
    font-size: 11px;
    margin-top: 2px;
}

.admin-order-items {
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 12px;
}

.admin-order-shipping-fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: end;
}

.admin-order-shipping-fields .field-group label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    margin-bottom: 5px;
}

.admin-order-shipping-fields select,
.admin-order-shipping-fields input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    background: white;
    color: var(--charcoal);
    font-size: 12px;
}

.admin-order-save {
    border: 1px solid var(--forest);
    background: var(--forest);
    color: white;
    padding: 9px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-order-save:hover {
    background: var(--forest-dark);
}

@media (max-width: 700px) {
    .admin-order-shipping-fields {
        grid-template-columns: 1fr 1fr;
    }
}

.admin-order-refund {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}

.admin-order-refunded-note {
    margin-bottom: 8px;
    color: var(--wood);
    font-size: 11px;
    font-weight: 700;
}

.admin-order-refund-row {
    display: flex;
    align-items: end;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-order-refund-row label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    margin-bottom: 5px;
    width: 100%;
}

.admin-refund-amount-input {
    width: 100px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    background: white;
    color: var(--charcoal);
    font-size: 12px;
}

.admin-refund-preset {
    border: 1px solid var(--border);
    background: transparent;
    padding: 8px 10px;
    font-size: 10px;
    text-transform: uppercase;
}

.admin-refund-preset:hover {
    background: var(--cream-dark);
}

.admin-refund-submit {
    background: #8d4c40;
    border-color: #8d4c40;
}

.admin-refund-submit:hover {
    background: #6f3b32;
}


/* =========================================
   ADMIN — SHIPPING TAB
========================================= */

.admin-shipping-section h3 {
    font-family: var(--serif);
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 6px;
}

.admin-shipping-section h3:first-child {
    margin-top: 0;
}

.admin-shipping-thresholds-heading {
    margin-top: 35px !important;
}

.admin-shipping-methods-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.admin-shipping-method-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--border);
    background: white;
    font-size: 12px;
}

.admin-shipping-method-row .method-name {
    font-weight: 700;
}

.admin-shipping-method-row .method-meta {
    color: var(--muted);
    font-size: 11px;
}

.admin-shipping-method-row button {
    border: 1px solid var(--border);
    background: transparent;
    padding: 6px 10px;
    font-size: 10px;
    text-transform: uppercase;
}

.admin-shipping-method-row .delete-button {
    color: #8d4c40;
    border-color: #8d4c40;
}

.admin-shipping-method-form {
    padding: 18px;
    background: var(--cream-dark);
    margin-bottom: 10px;
}

.admin-shipping-form-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 12px;
}

.admin-shipping-form-row .field-group label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    margin-bottom: 5px;
}

.admin-shipping-form-row input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    background: white;
    color: var(--charcoal);
    font-size: 12px;
}

.admin-category-thresholds-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-category-threshold-row {
    display: grid;
    grid-template-columns: 1fr 160px auto;
    gap: 12px;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid var(--border);
    background: white;
}

.admin-category-threshold-row .category-name {
    font-weight: 700;
    font-size: 12px;
}

.admin-category-threshold-row input {
    padding: 8px 10px;
    border: 1px solid var(--border);
    background: white;
    color: var(--charcoal);
    font-size: 12px;
}

@media (max-width: 700px) {
    .admin-shipping-method-row {
        grid-template-columns: 1fr;
    }
    .admin-shipping-form-row {
        grid-template-columns: 1fr 1fr;
    }
    .admin-category-threshold-row {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   PRODUCT DETAIL PAGE
========================================= */

.product-loading,
.product-error {
    padding: 160px 20px;
    text-align: center;
    color: var(--muted);
}

.product-error h2 {
    margin-top: 10px;
    font-family: var(--serif);
    font-size: 40px;
}

.product-error a {
    color: var(--forest);
    text-decoration: underline;
}

.product-detail {
    width: min(1100px, 92%);
    margin: 60px auto 120px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-detail-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #e2d2bd, #c2aa8c);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: var(--charcoal);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.gallery-arrow:hover {
    background: white;
}

.gallery-arrow-prev {
    left: 12px;
}

.gallery-arrow-next {
    right: 12px;
}

.product-gallery-thumbs {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.product-gallery-thumbs.hidden {
    display: none;
}

.product-gallery-thumb {
    width: 64px;
    height: 64px;
    border: 2px solid transparent;
    padding: 0;
    background: var(--cream-dark);
    cursor: pointer;
    overflow: hidden;
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery-thumb.active {
    border-color: var(--forest);
}

.product-detail-info h1 {
    margin-top: 8px;
    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.05;
}

.product-detail-description {
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.customization-section {
    margin-top: 30px;
    padding: 25px;
    background: var(--cream-dark);
}

.customization-section .form-group:first-child {
    margin-top: 0;
}

.customization-section .form-group label,
.product-detail-info .form-group label {
    color: var(--charcoal);
}

.product-detail-info input,
.product-detail-info textarea,
.product-detail-info select {
    background: white;
    color: var(--charcoal);
    border: 1px solid var(--border);
}

.product-detail-info input::placeholder,
.product-detail-info textarea::placeholder {
    color: #999;
}

.product-detail-info .style-option {
    color: var(--charcoal);
    border-color: var(--border);
}

.product-detail-info .style-option.active {
    border-color: var(--forest);
    background: rgba(38, 56, 45, 0.08);
}

.product-detail-price {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-family: var(--serif);
    font-size: 40px;
}

.product-detail-add-button {
    margin-top: 20px;
}

@media (max-width: 800px) {
    .product-detail {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
}


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

.site-footer {

    padding:
        60px 0 25px;

    background-image:
        linear-gradient(
            rgba(0,0,0,0.18),
            rgba(0,0,0,0.18)
        ),
        url("../assets/images/hunter-camo.jpg");

    background-size:
        cover;

    background-position:
        center;

    background-repeat:
        repeat;

    color:
        white;

    border-top:
        2px solid #000;
}

.footer-inner {

    width:
        min(1200px,92%);

    margin:
        auto;

    display:
        grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap:
        40px;
}

.footer-brand {

    display:
        inline-block;

    background:
        #000;

    color:
        white;

    padding:
        12px 18px;

    font-family:
        var(--serif);

    font-size:
        32px;

    letter-spacing:
        2px;
}

.footer-inner p {

    display:
        table;

    margin-top:
        10px;

    padding:
        7px 10px;

    background:
        #000;

    color:
        white;

    font-size:
        11px;
}

.footer-inner h3 {

    display:
        table;

    margin-bottom:
        12px;

    padding:
        7px 12px;

    background:
        #000;

    color:
        white;

    font-size:
        10px;

    text-transform:
        uppercase;

    letter-spacing:
        1.5px;
}

.footer-inner a {

    display:
        table;

    margin-bottom:
        7px;

    padding:
        7px 12px;

    background:
        #000;

    color:
        white;

    font-size:
        11px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.footer-inner a:hover {

    background:
        #222;

    transform:
        translateX(3px);
}

.footer-bottom {

    width:
        min(1200px,92%);

    margin:
        45px auto 0;

    padding-top:
        20px;

    border-top:
        1px solid rgba(255,255,255,0.35);

    display:
        flex;

    justify-content:
        space-between;

    color:
        white;

    font-size:
        9px;
}

.footer-bottom span {

    background:
        #000;

    padding:
        7px 10px;
}


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

@media (max-width: 850px) {

    .main-nav {
        display: none;
    }

    .header-inner {
        min-height: 82px;
    }

    .shop-category-nav {
        top: 82px;
        grid-template-columns:
            repeat(2, 1fr);
    }

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

    .collection-heading {
        grid-template-columns:
            1fr;
    }

    .custom-container,
    .about-inner {
        grid-template-columns:
            1fr;

        gap:
            60px;
    }

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

    .footer-inner > div:first-child {
        grid-column:
            1 / -1;
    }
}


@media (max-width: 560px) {

    html {
        scroll-padding-top:
            80px;
    }

    .header-inner {
        min-height:
            75px;
    }

    .brand {
        padding:
            7px 10px;
    }

    .brand-name {
        font-size:
            21px;
    }

    .brand-tagline {
        font-size:
            7px;
    }

    .brand-mark {
        width:
            35px;

        height:
            35px;
    }

    .cart-button {
        padding:
            10px 11px;
    }

    .hero {
        min-height:
            590px;
    }

    .hero h1 {
        font-size:
            60px;
    }

    .shop-section,
    .custom-section,
    .about-section {
        padding-top:
            75px;

        padding-bottom:
            75px;
    }

    .shop-category-nav {
        position:
            static;

        grid-template-columns:
            1fr;

        margin-bottom:
            60px;
    }

    .shop-category-link {
        min-height:
            60px;
    }

    .shop-collection {
        scroll-margin-top:
            25px;

        padding-bottom:
            80px;
    }

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

    .custom-builder {
        padding:
            22px;
    }

    .builder-total {
        flex-direction:
            column;

        align-items:
            stretch;
    }

    .preview-wood {
        width:
            95%;

        height:
            250px;
    }

    .about-card {
        min-height:
            330px;
    }

    .about-card-content strong {
        font-size:
            45px;
    }

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

    .footer-inner > div:first-child {
        grid-column:
            auto;
    }

    .footer-bottom {
        flex-direction:
            column;

        gap:
            8px;
    }

    .checkout-modal {
        padding:
            30px 22px;
    }
}


/* =========================================
   HEADER SEARCH
   (new — search bar added to header.html)
========================================= */

.header-search {
    position: relative;
    flex: 1;
    max-width: 340px;
}

.header-search-input {
    width: 100%;
    height: 44px;
    padding: 0 40px 0 16px;
    border: none;
    background: #000;
    color: white;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.header-search-input:focus {
    outline: 2px solid var(--wood-light);
    outline-offset: -2px;
}

.header-search-clear {
    position: absolute;
    top: 0;
    right: 0;
    height: 44px;
    width: 36px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    line-height: 1;
}

.header-search-clear:hover {
    color: white;
}

.header-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 150;
    max-height: 420px;
    overflow-y: auto;
    background: white;
    box-shadow: var(--shadow);
}

.search-result-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}

.search-result-row:last-child {
    border-bottom: none;
}

.search-result-row:hover {
    background: var(--cream-dark);
}

.search-result-thumb,
.search-result-thumb-placeholder {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: var(--cream-dark);
    overflow: hidden;
}

.search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--charcoal);
}

.search-result-price {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.search-no-results {
    padding: 20px 16px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 850px) {
    .header-search {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .header-search-input,
    .header-search-clear,
    .notification-bell-button {
        height: 40px;
    }

    .header-search-input {
        font-size: 11px;
    }
}


/* =========================================
   NOTIFICATIONS
   (new — bell icon added to header.html)
========================================= */

.notification-bell-button {
    position: relative;
    border: none;
    background: #000;
    color: #fff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.notification-bell-button:hover {
    background: #222;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    background: #8d4c40;
    color: white;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 150;
    width: min(360px, 90vw);
    height: 460px;
    display: none;
    flex-direction: column;
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.notification-panel.open {
    display: flex;
}

.notification-panel-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--charcoal);
}

.notification-mark-all {
    border: none;
    background: none;
    color: var(--forest);
    font-size: 10px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    text-decoration: underline;
}

.notification-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.notification-row {
    position: relative;
    padding: 12px 40px 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
}

.notification-row.unread {
    background: rgba(38, 56, 45, 0.06);
}

.notification-row-title {
    font-weight: 700;
    color: var(--charcoal);
}

.notification-row-body {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.notification-row-time {
    margin-top: 5px;
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notification-row-link {
    display: block;
    color: inherit;
}

.notification-dismiss {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    color: var(--muted);
    font-size: 16px;
    line-height: 1;
    width: 22px;
    height: 22px;
}

.notification-dismiss:hover {
    color: #8d4c40;
}


/* =========================================
   STOCK STATUS
   (new — shop grid cards + product detail page)
========================================= */

.stock-status {
    display: inline-block;
    padding: 3px 10px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
    white-space: nowrap;
}

.stock-status-in {
    background: rgba(38, 56, 45, 0.12);
    color: var(--forest);
}

.stock-status-low {
    background: rgba(138, 92, 57, 0.15);
    color: var(--wood);
}

.stock-status-out {
    background: rgba(141, 76, 64, 0.12);
    color: #8d4c40;
}

.product-card-out-of-stock .product-image {
    opacity: 0.55;
}

.product-stock-status {
    margin-top: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: none;
    padding: 0;
}

.product-stock-status.stock-status-in {
    color: var(--forest);
}

.product-stock-status.stock-status-low {
    color: var(--wood);
}

.product-stock-status.stock-status-out {
    color: #8d4c40;
}


/* =========================================
   REVIEWS
   (new — product detail page)
========================================= */

.product-reviews-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.product-reviews-section h2 {
    margin-top: 8px;
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1;
}

.review-summary {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-summary-average {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-summary-average strong {
    font-family: var(--serif);
    font-size: 26px;
}

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

.star-display {
    color: var(--wood);
    font-size: 16px;
    letter-spacing: 1px;
}

.rating-distribution {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 320px;
}

.rating-distribution-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--muted);
}

.rating-distribution-bar {
    flex: 1;
    height: 6px;
    background: var(--cream-dark);
}

.rating-distribution-fill {
    height: 100%;
    background: var(--wood);
}

.rating-distribution-count {
    min-width: 20px;
    text-align: right;
}

.review-photos-gallery {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.review-photos-gallery img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.review-form {
    margin-top: 30px;
    padding: 25px;
    background: var(--cream-dark);
    max-width: 460px;
}

.review-form h3 {
    font-family: var(--serif);
    font-size: 22px;
    margin-bottom: 14px;
}

.review-star-input {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.review-star-button {
    border: none;
    background: none;
    font-size: 26px;
    line-height: 1;
    color: var(--border);
}

.review-star-button.active {
    color: var(--wood);
}

.review-form textarea {
    margin-bottom: 14px;
    color: var(--charcoal);
    background: white;
    border: 1px solid var(--border);
}

.review-form .admin-drop-zone {
    margin-bottom: 14px;
}

.reviews-list {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 640px;
}

.review-row {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.review-row-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-row-name {
    font-weight: 700;
    font-size: 13px;
}

.review-row-text {
    margin-top: 8px;
    color: var(--charcoal);
    font-size: 13px;
    line-height: 1.7;
}

.review-row-photo {
    margin-top: 10px;
    width: 110px;
    height: 110px;
    object-fit: cover;
}

.review-row [data-delete-review] {
    margin-top: 10px;
}


/* =========================================
   RECOMMENDATIONS
   (new — "You May Also Like" + "Recommended For You")
========================================= */

.similar-products-section,
.recommended-for-you-section {
    margin-top: 60px;
}

.similar-products-section {
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.similar-products-section .eyebrow,
.recommended-for-you-section .eyebrow {
    display: block;
    margin-bottom: 15px;
}

.similar-products-grid,
.recommended-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.recommended-for-you-section {
    width: min(1200px, 92%);
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
}

@media (max-width: 850px) {
    .similar-products-grid,
    .recommended-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .similar-products-grid,
    .recommended-products-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   TRACK YOUR ORDER BUTTON
   (new — customer order history)
========================================= */

.track-order-button {
    display: inline-flex;
    margin-top: 10px;
    min-height: 38px;
    padding: 0 16px;
    font-size: 10px;
}


/* =========================================
   CHECKOUT ADDRESS FIELDS
   (new — City/State/ZIP sit in a row on wider screens)
========================================= */

.checkout-modal .form-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 12px;
}

.checkout-modal .form-row .form-group {
    margin-top: 25px;
}

@media (max-width: 560px) {
    .checkout-modal .form-row {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   FIX: admin form help text on a light background
   (.input-help further up was written for the dark
   custom-builder section on the homepage; the admin
   modal and shipping form have light backgrounds, so
   they need their own readable color here.)
========================================= */

.admin-form-panel .input-help,
.admin-shipping-method-form .input-help {
    color: var(--muted);
}

/* Manage Shop: bigger window, one scroll bar for the orders list */
#adminModal .admin-modal {
    width: min(1150px, 94vw);
    max-width: 94vw;
    max-height: 92vh;
    overflow-y: auto;
}

#adminModal #adminOrdersList,
#adminModal .admin-orders-section {
    max-height: none;
    overflow: visible;
}

/* Help notes under form fields: readable, not faint */
.input-help {
    color: #5f5a52 !important;
}

/* Manage Shop > Orders: shipping label options dropdown */
#adminModal select.label-rate-select {
    flex: 1 1 300px;
    min-width: 260px;
    height: 44px !important;
    padding: 0 40px 0 14px !important;
    font-family: inherit;
    font-size: 14px !important;
    line-height: 44px;
    color: #2b2b2b !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232b2b2b' stroke-width='2'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    border: 1px solid #b9b2a6 !important;
    border-radius: 4px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

#adminModal select.label-rate-select:focus {
    outline: 2px solid #2f4a36;
    outline-offset: 1px;
}


/* Product page: reviews and "You may also like" sit below the product,
   full width, so product cards have room and all text shows */
#productReviewsSection,
#similarProductsSection {
    width: 100%;
    max-width: 1100px;
    margin: 48px auto 0;
    padding: 0 16px;
    box-sizing: border-box;
}

#similarProductsSection .similar-products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 24px;
    width: 100%;
}

#similarProductsSection .similar-products-grid > * {
    width: auto !important;
    min-width: 0;
    max-width: none !important;
}


/* Shop category menu: one column per category on desktop (set by shop.js) */
@media (min-width: 851px) {
    .shop-category-nav {
        grid-template-columns: repeat(var(--shop-category-count, 5), 1fr);
    }
}


/* Home page: decorative background photos in the side margins.
   Wide screens only (1500px+), so they never cover text. */
.home-main {
    position: relative;
}

.home-bg-photos {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.home-main .hero-content,
.home-main .about-inner {
    position: relative;
    z-index: 2;
}

.home-bg-photo {
    position: absolute;
    width: clamp(110px, calc((100vw - 1200px) / 2 - 36px), 230px);
    height: auto;
    opacity: 0.5;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.hbp-left-1  { left: 18px;  top: 8%; }
.hbp-left-2  { left: 18px;  top: 38%; }
.hbp-left-3  { left: 18px;  top: 70%; }
.hbp-right-1 { right: 18px; top: 14%; }
.hbp-right-2 { right: 18px; top: 51%; }
.hbp-right-3 { right: 18px; top: 82%; }

@media (min-width: 1500px) {
    .home-bg-photos {
        display: block;
    }
}


/* =========================================
   PHONES & SMALL TABLETS (850px and narrower)
   Everything below only applies to narrow screens.
   Computer screens are not affected.
========================================= */

@media (max-width: 850px) {

    /* Never allow sideways scrolling */
    html,
    body {
        overflow-x: hidden;
    }

    /* Header: not pinned on phones (it is taller here) */
    .site-header {
        position: relative;
    }

    html {
        scroll-padding-top: 20px;
    }

    .shop-category-nav {
        top: 0;
    }

    /* Header rows: [logo ... Account Cart] then [Shop Our Story Search] */
    .header-inner {
        position: relative;
        width: 94%;
        min-height: 0;
        padding: 10px 0;
        flex-wrap: wrap;
        gap: 8px;
    }

    .header-actions {
        display: contents;
    }

    .brand {
        order: 1;
        flex-shrink: 0;
        margin-right: auto;
    }

    #accountButton            { order: 2; }
    .cart-button              { order: 3; }

    /* Invisible line break: everything after it starts a new row */
    .header-inner::after {
        content: "";
        order: 4;
        flex-basis: 100%;
        height: 0;
        margin-top: -8px;
    }

    .notification-bell-button { order: 5; }
    #manageShopButton         { order: 6; }

    .main-nav {
        display: flex;
        order: 7;
        gap: 8px;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .main-nav a {
        display: flex;
        align-items: center;
        height: 40px;
        padding: 0 12px;
        white-space: nowrap;
    }

    .header-search {
        order: 8;
        flex: 1 1 150px;
        min-width: 150px;
        max-width: none;
    }

    .header-search-input,
    .header-search-clear,
    .notification-bell-button {
        height: 40px;
    }

    .notification-bell-button {
        width: 40px;
        flex-shrink: 0;
    }

    #accountButton,
    #manageShopButton,
    .cart-button {
        height: 40px;
        padding: 0 11px;
        font-size: 11px;
        letter-spacing: 1px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    #manageShopButton {
        display: flex;
        align-items: center;
    }

    .cart-button {
        gap: 7px;
    }

    .cart-count {
        width: 22px;
        height: 22px;
    }

    /* Owner's notification list: full width under the header */
    .notification-panel {
        top: 100%;
        right: 0;
        width: 100%;
        max-width: 380px;
    }

    /* Home page photos: faded (50%) in the background on the sides,
       same idea as the computer version. Text stays on top. */
    .home-bg-photos {
        display: block;
    }

    .home-bg-photo {
        width: clamp(90px, 27vw, 170px);
        border-radius: 5px;
        box-shadow: none;
    }

    /* Kept in the top part of the page (hero + story text),
       so none hide behind the booth photo */
    .hbp-left-1  { left: 8px;  top: 3%; }
    .hbp-left-2  { left: 8px;  top: 17%; }
    .hbp-left-3  { left: 8px;  top: 31%; }
    .hbp-right-1 { right: 8px; top: 9%; }
    .hbp-right-2 { right: 8px; top: 24%; }
    .hbp-right-3 { right: 8px; top: 38%; }
}

@media (max-width: 560px) {

    .header-inner {
        width: 94%;
    }

    .brand {
        gap: 9px;
        padding: 7px 10px;
    }

    .brand-name {
        max-width: 95px;
        font-size: 18px;
        letter-spacing: 1.5px;
    }

    .brand-tagline {
        font-size: 6.5px;
        letter-spacing: 1.5px;
    }

    .brand-mark {
        width: 30px;
        height: 30px;
    }

    .brand-mark span {
        font-size: 20px;
    }

    #accountButton,
    #manageShopButton,
    .cart-button {
        padding: 0 9px;
        letter-spacing: 0.8px;
    }

    .main-nav a {
        padding: 0 10px;
    }
}

@media (max-width: 350px) {

    .brand {
        gap: 7px;
        padding: 6px 8px;
    }

    .brand-mark {
        width: 26px;
        height: 26px;
    }

    #accountButton,
    #manageShopButton,
    .cart-button {
        padding: 0 7px;
        font-size: 10px;
    }
}

@media (max-width: 350px) {

    .brand {
        gap: 7px;
        padding: 6px 8px;
    }

    .brand-mark {
        width: 26px;
        height: 26px;
    }

    #accountButton,
    #manageShopButton,
    .cart-button {
        padding: 0 7px;
        font-size: 10px;
    }
}


/* =========================================
   LAPTOP SCREENS (851px to 1499px wide)
   Home page faded photos, like the big-screen version.
   Phones (850px and under) and big screens (1500px and up)
   are not affected.
========================================= */

@media (min-width: 851px) and (max-width: 1499px) {

    .home-bg-photos {
        display: block;
    }

    .home-bg-photo {
        width: clamp(100px, 11vw, 160px);
    }

    /* Left side: same spots as the big-screen version */
    .hbp-left-1  { left: 12px; top: 8%; }
    .hbp-left-2  { left: 12px; top: 38%; }
    .hbp-left-3  { left: 12px; top: 70%; }

    /* Right side: kept clear of the booth photo so none are hidden */
    .hbp-right-1 { right: 12px; top: 10%; }
    .hbp-right-2 { right: 12px; top: 27%; }
    .hbp-right-3 { right: 12px; top: auto; bottom: 1.5%; }
}
