﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8f6f1;
    color: #2f2f2f;
}

.auth-box {
    width: 350px;
    margin: 100px auto;
    padding: 35px;
    background: white;
    border: 1px solid #ddd6c8;
    border-radius: 10px;
    text-align: center;
}

    .auth-box h1 {
        font-family: Georgia, serif;
        font-size: 36px;
        margin-bottom: 10px;
    }

    .auth-box h2 {
        font-weight: normal;
        margin-bottom: 25px;
    }

    .auth-box input {
        width: 90%;
        padding: 12px;
        margin: 8px 0;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .auth-box button {
        width: 97%;
        padding: 12px;
        margin-top: 15px;
        border: none;
        border-radius: 5px;
        background: #333;
        color: white;
        cursor: pointer;
    }

        .auth-box button:hover {
            background: #555;
        }

    .auth-box a {
        color: #8b6f47;
        text-decoration: none;
    }
.error {
    display: block;
    color: #c0392b;
    font-size: 14px;
    text-align: left;
    margin: 2px 0 8px 5%;
}

/* =========================
   TOP OFFER BAR
========================= */

.top-offer {
    height: 28px;
    background: #222;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}


/* =========================
   MAIN HEADER
========================= */

.main-header {
    height: 105px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 5%;
    gap: 45px;
    border-bottom: 1px solid #e5e5e5;
}


/* Logo */

.logo-area {
    min-width: 180px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #222;
}

    .logo-link span {
        font-family: Georgia, serif;
        font-size: 32px;
        letter-spacing: 1px;
    }


/* Simple TimeCraft logo symbol */

.logo-symbol {
    width: 40px;
    height: 40px;
    border: 2px solid #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: 14px;
}


/* =========================
   SEARCH
========================= */

.search-box {
    flex: 1;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: #fafafa;
}

    .search-box svg {
        width: 22px;
        height: 22px;
        stroke: #222;
        fill: none;
        stroke-width: 1.8;
    }

    .search-box input {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        padding-left: 12px;
        font-size: 15px;
    }


/* =========================
   HEADER ICONS
========================= */

.header-icons {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-icon {
    text-decoration: none;
    color: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
}

    .header-icon svg {
        width: 27px;
        height: 27px;
        fill: none;
        stroke: #222;
        stroke-width: 1.5;
    }

    .header-icon:hover {
        color: #8b6f47;
    }

        .header-icon:hover svg {
            stroke: #8b6f47;
        }


/* =========================
   NAVIGATION
========================= */

.main-nav {
    height: 62px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

    .main-nav a {
        text-decoration: none;
        color: #222;
        font-size: 14px;
        font-weight: 500;
    }

        .main-nav a:hover {
            color: #8b6f47;
        }


/* =========================
   FOOTER
========================= */

.main-footer {
    background: #222;
    color: white;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 50px 8%;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .footer-section h3 {
        font-family: Georgia, serif;
        font-size: 25px;
        margin: 0 0 10px;
    }

    .footer-section h4 {
        margin: 0 0 10px;
    }

    .footer-section p {
        color: #ccc;
        max-width: 250px;
    }

    .footer-section a {
        color: #ccc;
        text-decoration: none;
    }

        .footer-section a:hover {
            color: white;
        }

.footer-bottom {
    border-top: 1px solid #444;
    text-align: center;
    padding: 20px;
    color: #aaa;
}
/* =================================
   SIMPLE HOME PAGE
================================= */

.simple-home-hero {
    height: 520px;
    background-image: linear-gradient( rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.40) ), url("https://images.unsplash.com/photo-1523170335258-f5ed11844a49?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 9%;
    color: white;
}

.simple-home-content {
    max-width: 550px;
}

    .simple-home-content p,
    .simple-section-title p,
    .simple-about-content p {
        font-size: 11px;
        letter-spacing: 3px;
        color: #777;
    }

    .simple-home-content p {
        color: white;
    }

    .simple-home-content h1 {
        font-family: Georgia, serif;
        font-size: 52px;
        font-weight: 400;
        line-height: 1.1;
        margin: 15px 0;
    }

    .simple-home-content span {
        display: block;
        font-size: 15px;
        margin-bottom: 28px;
        line-height: 1.6;
    }

    .simple-home-content a {
        display: inline-block;
        padding: 13px 25px;
        background: white;
        color: #222;
        text-decoration: none;
        font-size: 13px;
    }


/* COLLECTIONS */

.simple-collections {
    padding: 70px 9%;
}

.simple-section-title {
    text-align: center;
    margin-bottom: 35px;
}

    .simple-section-title h2 {
        font-family: Georgia, serif;
        font-size: 34px;
        font-weight: 400;
        margin: 8px 0 0;
    }

.simple-collection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.simple-collection {
    height: 300px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: white;
}

    .simple-collection img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.4s ease;
    }

    .simple-collection:hover img {
        transform: scale(1.03);
    }

    .simple-collection div {
        position: absolute;
        left: 25px;
        bottom: 22px;
    }

    .simple-collection h3 {
        font-family: Georgia, serif;
        font-size: 25px;
        font-weight: 400;
        margin: 0 0 6px;
    }

    .simple-collection span {
        font-size: 12px;
    }


/* FEATURED */

.simple-featured {
    padding: 70px 9%;
    background: #faf9f7;
}

.simple-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.home-product-card {
    background: white;
}

.home-product-image {
    display: block;
    height: 330px;
    overflow: hidden;
}

    .home-product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.home-product-details {
    padding: 17px;
}

    .home-product-details p {
        color: #888;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .home-product-details h3 {
        font-family: Georgia, serif;
        font-size: 18px;
        font-weight: 400;
    }

    .home-product-details span {
        font-size: 14px;
    }

.simple-view-all {
    text-align: center;
    margin-top: 35px;
}

    .simple-view-all a {
        color: #222;
        border-bottom: 1px solid #222;
        padding-bottom: 5px;
        text-decoration: none;
        font-size: 13px;
    }


/* ABOUT */

.simple-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: #f3f1ed;
}

.simple-about-image {
    height: 450px;
}

    .simple-about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.simple-about-content {
    padding: 50px 10%;
}

    .simple-about-content h2 {
        font-family: Georgia, serif;
        font-size: 38px;
        font-weight: 400;
        line-height: 1.15;
        margin: 12px 0 20px;
    }

    .simple-about-content span {
        display: block;
        color: #666;
        line-height: 1.7;
        font-size: 14px;
        max-width: 450px;
        margin-bottom: 25px;
    }

    .simple-about-content a {
        display: inline-block;
        background: #222;
        color: white;
        padding: 12px 23px;
        text-decoration: none;
        font-size: 13px;
    }


/* FINAL BANNER */

.simple-home-banner {
    height: 320px;
    background-image: linear-gradient( rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45) ), url("https://images.unsplash.com/photo-1533139502658-0198f920d8e8?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

    .simple-home-banner p {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .simple-home-banner h2 {
        font-family: Georgia, serif;
        font-size: 35px;
        font-weight: 400;
        margin: 12px 0 22px;
    }

    .simple-home-banner a {
        display: inline-block;
        border: 1px solid white;
        padding: 12px 25px;
        color: white;
        text-decoration: none;
        font-size: 13px;
    }


/* MOBILE */

@media (max-width: 700px) {

    .simple-home-hero {
        height: 480px;
        padding: 0 7%;
    }

    .simple-home-content h1 {
        font-size: 40px;
    }

    .simple-collections {
        padding: 55px 7%;
    }

    .simple-collection-grid {
        grid-template-columns: 1fr;
    }

    .simple-collection {
        height: 280px;
    }

    .simple-featured {
        padding: 55px 7%;
    }

    .simple-products {
        grid-template-columns: 1fr;
    }

    .simple-about {
        grid-template-columns: 1fr;
    }

    .simple-about-image {
        height: 350px;
    }

    .simple-about-content {
        padding: 50px 8%;
    }
}

/* =========================
   PRODUCTS PAGE
========================= */

.products-page {
    padding: 70px 6% 90px;
    background: #f8f6f1;
    min-height: 600px;
}


.products-heading {
    text-align: center;
    margin-bottom: 55px;
}


    .products-heading h1 {
        font-family: Georgia, serif;
        font-size: 46px;
        font-weight: normal;
        margin: 10px 0 15px;
    }


    .products-heading p:not(.page-label) {
        color: #666;
        font-size: 17px;
    }


.page-label {
    color: #8b6f47;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: bold;
}


/* Product Grid */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1400px;
    margin: auto;
}


/* Product Card */

.product-card {
    background: white;
    border: 1px solid #e7e2d9;
    transition: 0.3s;
    overflow: hidden;
}


    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }


/* Image */

.product-image-container {
    height: 300px;
    background: #f4f2ed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.4s;
}


.product-card:hover .product-image {
    transform: scale(1.04);
}


/* Details */

.product-details {
    padding: 22px;
}


.product-brand {
    color: #8b6f47;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}


.product-details h2 {
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: normal;
    margin: 0 0 8px;
}


.product-category {
    color: #777;
    font-size: 13px;
}


.product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    min-height: 42px;
}


.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}


.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #222;
}


.add-cart-button {
    background: #222;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}


    .add-cart-button:hover {
        background: #8b6f47;
    }


/* Empty */

.empty-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px;
}

/* =========================
   ADMIN PRODUCTS
========================= */

.admin-products-page {
    background: #f8f6f1;
    min-height: 700px;
    padding: 60px 7%;
}


.admin-products-header {
    margin-bottom: 35px;
}


    .admin-products-header h1 {
        font-family: Georgia, serif;
        font-size: 42px;
        font-weight: normal;
        margin: 8px 0;
    }


.product-form-card {
    background: white;
    padding: 35px;
    border: 1px solid #e4ded4;
    margin-bottom: 55px;
}


    .product-form-card h2 {
        font-family: Georgia, serif;
        font-weight: normal;
        margin-top: 0;
        font-size: 27px;
    }


.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


    .form-group label {
        font-size: 14px;
        font-weight: 600;
    }


    .form-group input,
    .form-group select,
    .form-group textarea {
        border: 1px solid #d8d2c8;
        padding: 13px;
        font-size: 14px;
        outline: none;
        background: white;
        box-sizing: border-box;
    }


    .form-group textarea {
        min-height: 110px;
        resize: vertical;
    }


        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: #8b6f47;
        }


.full-width {
    margin-top: 22px;
}


.primary-button {
    margin-top: 25px;
    padding: 13px 30px;
    background: #222;
    color: white;
    border: none;
    cursor: pointer;
}


    .primary-button:hover {
        background: #8b6f47;
    }


#productMessage {
    margin-top: 15px;
    color: #8b6f47;
}


/* Admin Product Cards */

.admin-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}


.admin-product-card {
    background: white;
    border: 1px solid #e4ded4;
    overflow: hidden;
}


    .admin-product-card img {
        width: 100%;
        height: 240px;
        object-fit: contain;
        background: #f4f2ed;
    }


.admin-product-info {
    padding: 20px;
}


    .admin-product-info h3 {
        font-family: Georgia, serif;
        font-weight: normal;
        margin: 5px 0;
    }




/* =========================
   EDIT / DELETE BUTTON
========================= */

.admin-product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}


.edit-button {
    padding: 9px 18px;
    background: #222;
    color: white;
    border: none;
    cursor: pointer;
}


    .edit-button:hover {
        background: #8b6f47;
    }


.delete-button {
    padding: 9px 18px;
    background: #a33a2b;
    color: white;
    border: none;
    cursor: pointer;
}


    .delete-button:hover {
        background: #84281e;
    }


/* =========================
   CART PAGE
========================= */

.cart-page {
    background: #f8f6f1;
    min-height: 650px;
    padding: 65px 7% 90px;
}


.cart-heading {
    text-align: center;
    margin-bottom: 50px;
}


    .cart-heading h1 {
        font-family: Georgia, serif;
        font-size: 46px;
        font-weight: normal;
        margin: 10px 0;
    }


    .cart-heading p:not(.page-label) {
        color: #666;
        font-size: 17px;
    }


/* Cart Layout */

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 35px;
    max-width: 1250px;
    margin: auto;
}


/* Cart Item */

.cart-item {
    background: white;
    border: 1px solid #e3ddd3;
    display: flex;
    margin-bottom: 22px;
    padding: 20px;
}


.cart-image {
    width: 230px;
    height: 230px;
    background: #f4f2ed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


    .cart-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }


.cart-item-details {
    padding: 10px 25px;
    flex: 1;
}


    .cart-item-details h2 {
        font-family: Georgia, serif;
        font-weight: normal;
        margin: 5px 0 10px;
    }


.cart-category {
    color: #777;
}


.cart-price {
    font-size: 18px;
    font-weight: bold;
}


.quantity-area {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}


.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #d5cec3;
}


    .quantity-control button {
        width: 35px;
        height: 35px;
        border: none;
        background: white;
        cursor: pointer;
        font-size: 20px;
    }


        .quantity-control button:hover {
            background: #f2eee7;
        }


    .quantity-control span {
        width: 40px;
        text-align: center;
    }


.item-total {
    margin-top: 18px;
}


.remove-cart-button {
    margin-top: 10px;
    background: transparent;
    border: none;
    color: #a33a2b;
    cursor: pointer;
    padding: 0;
}


/* Summary */

.cart-summary {
    background: white;
    border: 1px solid #e3ddd3;
    padding: 30px;
    height: fit-content;
}


    .cart-summary h2 {
        font-family: Georgia, serif;
        font-weight: normal;
        margin-top: 0;
    }


.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}


.total-row {
    font-size: 20px;
    font-weight: bold;
    border-bottom: none;
}


.checkout-button {
    width: 100%;
    padding: 14px;
    border: none;
    background: #222;
    color: white;
    cursor: pointer;
    font-size: 15px;
    margin-top: 15px;
}


    .checkout-button:hover {
        background: #8b6f47;
    }


/* Empty Cart */

.empty-cart {
    background: white;
    border: 1px solid #e3ddd3;
    padding: 80px 30px;
    text-align: center;
}


    .empty-cart h2 {
        font-family: Georgia, serif;
        font-weight: normal;
    }


    .empty-cart button {
        margin-top: 20px;
        padding: 12px 25px;
        background: #222;
        color: white;
        border: none;
        cursor: pointer;
    }


/* ==============================
   CHECKOUT PAGE
   ============================== */

.checkout-page {
    background: #f8f6f1;
    min-height: 100vh;
    padding: 70px 7%;
}


/* Heading */

.checkout-heading {
    text-align: center;
    margin-bottom: 55px;
}

    .checkout-heading .page-label {
        font-size: 12px;
        letter-spacing: 4px;
        font-weight: 600;
        color: #9a7445;
        margin-bottom: 12px;
    }

    .checkout-heading h1 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 48px;
        font-weight: 500;
        color: #222;
        margin: 0 0 15px;
    }

    .checkout-heading p {
        color: #555;
        font-size: 16px;
    }


/* Main layout */

.checkout-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 35px;
    align-items: start;
}


/* Left form */

.checkout-form {
    background: #fff;
    border: 1px solid #e2ded6;
    padding: 40px;
}

    .checkout-form h2 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 28px;
        font-weight: 500;
        color: #222;
        margin: 0 0 28px;
    }


/* Form fields */

.form-group {
    margin-bottom: 22px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
        border: 1px solid #d8d3ca;
        background: #fff;
        padding: 13px 14px;
        font-size: 15px;
        font-family: Arial, sans-serif;
        outline: none;
    }

    .form-group input {
        height: 46px;
    }

    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #9a7445;
        }


/* Payment */

.payment-box {
    background: #f8f6f1;
    border: 1px solid #e2ded6;
    padding: 22px;
    margin-bottom: 28px;
}

    .payment-box p:first-child {
        font-weight: 600;
        margin-top: 0;
        color: #222;
    }

    .payment-box p:last-child {
        margin-bottom: 0;
        color: #666;
        font-size: 14px;
    }


/* Pay button */

.checkout-form .checkout-button {
    width: 100%;
    border: none;
    background: #222;
    color: #fff;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

    .checkout-form .checkout-button:hover {
        background: #9a7445;
    }


/* Right summary */

.checkout-summary {
    background: #fff;
    border: 1px solid #e2ded6;
    padding: 35px;
    position: sticky;
    top: 25px;
}

    .checkout-summary h2 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 28px;
        font-weight: 500;
        margin: 0 0 28px;
        color: #222;
    }


/* Checkout items */

.checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #e8e4dc;
    font-size: 15px;
}

    .checkout-item span {
        color: #444;
    }

    .checkout-item strong {
        color: #222;
        white-space: nowrap;
    }


/* Total */

.checkout-summary .total-row {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 20px;
    font-weight: 700;
}

    .checkout-summary .total-row span:last-child {
        font-size: 22px;
    }


/* Responsive */

@media (max-width: 900px) {

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }
}


@media (max-width: 600px) {

    .checkout-page {
        padding: 45px 20px;
    }

    .checkout-heading h1 {
        font-size: 38px;
    }

    .checkout-form,
    .checkout-summary {
        padding: 25px;
    }
}

/* ==============================
   PAYMENT SUCCESS
   ============================== */

.payment-success-page {
    min-height: 70vh;
    background: #f8f6f1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px 20px;
}

.payment-success-card {
    background: #fff;
    border: 1px solid #e2ded6;
    width: 600px;
    max-width: 100%;
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border: 2px solid #9a7445;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: #9a7445;
}

.payment-success-card .page-label {
    font-size: 12px;
    letter-spacing: 4px;
    color: #9a7445;
    font-weight: 600;
}

.payment-success-card h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 500;
    margin: 15px 0;
}

.payment-success-card p {
    color: #555;
}

.payment-success-actions {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

    .payment-success-actions button {
        border: none;
        background: #222;
        color: #fff;
        padding: 14px 25px;
        cursor: pointer;
        font-weight: 600;
    }

        .payment-success-actions button:hover {
            background: #9a7445;
        }


/* ==============================
   MY ORDERS PAGE
   ============================== */

.orders-page {
    background: #f8f6f1;
    min-height: 100vh;
    padding: 70px 7%;
}


/* Heading */

.orders-heading {
    text-align: center;
    margin-bottom: 55px;
}

    .orders-heading .page-label {
        font-size: 12px;
        letter-spacing: 4px;
        color: #9a7445;
        font-weight: 600;
        margin-bottom: 12px;
    }

    .orders-heading h1 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 48px;
        font-weight: 500;
        margin: 0 0 15px;
        color: #222;
    }

    .orders-heading p {
        color: #555;
        font-size: 16px;
    }


/* Container */

.orders-container {
    max-width: 1100px;
    margin: 0 auto;
}


/* Order card */

.order-card {
    background: #fff;
    border: 1px solid #e2ded6;
    margin-bottom: 30px;
    padding: 30px;
}


/* Header */

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #e5e1da;
    padding-bottom: 20px;
}

.order-label {
    font-size: 11px;
    letter-spacing: 3px;
    color: #9a7445;
    margin: 0 0 5px;
}

.order-card-header h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 500;
    margin: 0;
}


/* Status */

.order-status {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .order-status span {
        border: 1px solid #9a7445;
        padding: 7px 12px;
        font-size: 12px;
        color: #7c5c36;
    }


/* Date */

.order-date {
    color: #666;
    font-size: 14px;
    padding: 18px 0;
}


/* Order item */

.order-item {
    display: flex;
    gap: 25px;
    padding: 20px 0;
    border-top: 1px solid #eeeae3;
}

.order-item-image {
    width: 140px;
    height: 140px;
    background: #f5f3ef;
    flex-shrink: 0;
}

    .order-item-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }


.order-item-details {
    flex: 1;
}

    .order-item-details .product-brand {
        color: #9a7445;
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 7px;
    }

    .order-item-details h3 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 23px;
        font-weight: 500;
        margin: 0 0 8px;
    }

    .order-item-details p {
        margin: 5px 0;
        color: #555;
    }


/* Bottom */

.order-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border-top: 1px solid #e5e1da;
    margin-top: 15px;
    padding-top: 25px;
}


.shipping-info h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 500;
    margin-top: 0;
}

.shipping-info p {
    margin: 5px 0;
    color: #555;
}


/* Total */

.order-total {
    text-align: right;
}

    .order-total span {
        display: block;
        color: #555;
        margin-bottom: 5px;
    }

    .order-total strong {
        display: block;
        font-size: 25px;
        margin-bottom: 20px;
    }


    .order-total button,
    .empty-orders button {
        border: none;
        background: #222;
        color: #fff;
        padding: 13px 20px;
        cursor: pointer;
        font-weight: 600;
    }

        .order-total button:hover,
        .empty-orders button:hover {
            background: #9a7445;
        }


/* Empty orders */

.empty-orders {
    background: #fff;
    border: 1px solid #e2ded6;
    text-align: center;
    padding: 70px 30px;
}

    .empty-orders h2 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 30px;
        font-weight: 500;
    }

    .empty-orders p {
        color: #666;
        margin-bottom: 25px;
    }


/* Responsive */

@media (max-width: 700px) {

    .orders-page {
        padding: 45px 20px;
    }

    .orders-heading h1 {
        font-size: 38px;
    }

    .order-card {
        padding: 20px;
    }

    .order-card-header {
        flex-direction: column;
        gap: 15px;
    }

    .order-bottom {
        grid-template-columns: 1fr;
    }

    .order-total {
        text-align: left;
    }

    .order-item {
        flex-direction: column;
    }

    .order-item-image {
        width: 120px;
        height: 120px;
    }
}

/* ==============================
   ADMIN ORDERS
   ============================== */

.admin-orders-page {
    background: #f8f6f1;
    min-height: 100vh;
    padding: 70px 7%;
}

.admin-orders-heading {
    text-align: center;
    margin-bottom: 55px;
}

    .admin-orders-heading .page-label {
        font-size: 12px;
        letter-spacing: 4px;
        color: #9a7445;
        font-weight: 600;
    }

    .admin-orders-heading h1 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 48px;
        font-weight: 500;
        color: #222;
        margin: 10px 0 15px;
    }

    .admin-orders-heading p {
        color: #555;
    }

.admin-orders-container {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-order-card {
    background: #fff;
    border: 1px solid #e2ded6;
    padding: 30px;
    margin-bottom: 30px;
}

.admin-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e1da;
}

    .admin-order-header h2 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 28px;
        font-weight: 500;
        margin: 5px 0;
    }

    .admin-order-header p {
        color: #666;
        font-size: 14px;
    }

.admin-payment-status span {
    border: 1px solid #9a7445;
    color: #7c5c36;
    padding: 8px 13px;
    font-size: 13px;
}

.admin-customer-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 25px 0;
    border-bottom: 1px solid #e5e1da;
}

    .admin-customer-section h3,
    .admin-order-products > h3 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 20px;
        font-weight: 500;
        margin-top: 0;
    }

    .admin-customer-section p {
        margin: 6px 0;
        color: #555;
    }

.admin-order-products {
    padding: 25px 0;
}

.admin-order-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #eeeae3;
}

.admin-order-image {
    width: 120px;
    height: 120px;
    background: #f5f3ef;
    flex-shrink: 0;
}

    .admin-order-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.admin-order-product {
    flex: 1;
}

    .admin-order-product .product-brand {
        color: #9a7445;
        font-size: 12px;
        letter-spacing: 2px;
    }

    .admin-order-product h3 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 22px;
        font-weight: 500;
        margin: 6px 0;
    }

    .admin-order-product p {
        margin: 5px 0;
        color: #555;
    }

.admin-order-footer {
    border-top: 1px solid #e5e1da;
    padding-top: 25px;
    display: flex;
    align-items: end;
    gap: 25px;
}

    .admin-order-footer > div:first-child {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .admin-order-footer select {
        min-width: 180px;
        padding: 11px;
        border: 1px solid #d8d3ca;
        background: #fff;
        font-size: 14px;
    }

.admin-order-total {
    margin-left: auto;
    text-align: right;
}

    .admin-order-total span {
        display: block;
        color: #666;
        font-size: 14px;
    }

    .admin-order-total strong {
        font-size: 24px;
    }

.admin-slip-button {
    border: none;
    background: #222;
    color: #fff;
    padding: 13px 18px;
    cursor: pointer;
    font-weight: 600;
}

    .admin-slip-button:hover {
        background: #9a7445;
    }

.empty-admin-orders {
    background: #fff;
    border: 1px solid #e2ded6;
    text-align: center;
    padding: 70px 30px;
}

    .empty-admin-orders h2 {
        font-family: Georgia, "Times New Roman", serif;
        font-weight: 500;
    }


/* Responsive */

@media (max-width: 800px) {

    .admin-orders-page {
        padding: 45px 20px;
    }

    .admin-orders-heading h1 {
        font-size: 38px;
    }

    .admin-customer-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .admin-order-footer {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .admin-order-total {
        margin-left: 0;
        text-align: left;
    }
}

/* ==============================
   WISHLIST
   ============================== */

.product-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wishlist-button {
    width: 35px;
    height: 35px;
    border: 1px solid #c9c4bb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    
}

    .wishlist-button:hover {
        background: #222;
        color: #fff;
        border-color: #222;
       
    }

/* Active state: when item is added to wishlist */
.product-actions .wishlist-button.active {
    border-color: #fff; /* change border to white when clicked */
    background: #fff;
    color: #222;
}

.product-actions .wishlist-button.active svg {
    fill: #222; /* keep heart visible on white background */
    stroke: none;
}

.product-actions .wishlist-button.active:hover {
    background: #000;
border-color: #fff;
color: #fff;

}

.product-actions .wishlist-button.active:hover svg {
    fill: #fff; /* ensure heart stays visible on dark hover */
    stroke: none;
}

/* Ensure SVG stroke/fill change on hover so icon stays visible */
.product-actions .wishlist-button svg {
    transition: stroke .12s ease, fill .12s ease, transform .12s ease;
}

.product-actions .wishlist-button:hover svg {
    /* when hovering non-active button, stroke should be white to remain visible on dark background */
    stroke: #fff !important;
    fill: none !important;
}

.product-actions .wishlist-button.active svg {
    /* active button shows filled heart on white background */
    stroke: none !important;
    fill: #222 !important;
}

.product-actions .wishlist-button.active:hover svg {
    /* on hover when active, heart becomes white on dark background */
    stroke: none !important;
    fill: #fff !important;
}

/* Style wishlist SVG to match header and show filled state when active */
.product-actions .wishlist-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #222;
    stroke-width: 1.2;
}

.product-actions .wishlist-button.active svg {
    fill: #222;
    stroke: none;
}

/* Add to cart icon style */
.product-actions .add-cart-icon {
    width: 42px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #222;
    border: none;
    cursor: pointer;
}

.product-actions .add-cart-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.2;
}

.product-actions .add-cart-icon:hover {
    background: #8b6f47;
}


.wishlist-page {
    padding: 70px 8%;
    min-height: 600px;
}

.wishlist-header {
    text-align: center;
    margin-bottom: 50px;
}



.wishlist-header h1 {
    font-family: Georgia, serif;
    font-size: 42px;
    margin: 10px 0;
    font-weight:normal;
}

p {
    color: #666;
}

.wishlist-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.wishlist-card {
    background: #fff;
    border: 1px solid #e0ddd7;
}

.wishlist-image {
    height: 300px;
    overflow: hidden;
}

    .wishlist-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.wishlist-details {
    padding: 25px;
}

    .wishlist-details h2 {
        font-family: Georgia, serif;
        font-size: 24px;
        margin: 8px 0;
    }

.wishlist-price {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0;
}

.wishlist-actions {
    display: flex;
    gap: 10px;
}

.wishlist-cart-button {
    flex: 1;
    padding: 12px;
    border: none;
    background: #222;
    color: white;
    cursor: pointer;
}

.wishlist-remove-button {
    padding: 12px 18px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
}

    .wishlist-remove-button:hover {
        background: #f5f5f5;
    }

.empty-wishlist {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.empty-heart {
    font-size: 60px;
    margin-bottom: 20px;
}

.empty-wishlist h2 {
    font-family: Georgia, serif;
    font-size: 28px;
}

.empty-wishlist a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #222;
    color: white;
    text-decoration: none;
}


/* =========================
   MY ACCOUNT
========================= */

.account-page {
    padding: 60px 8%;
    min-height: 70vh;
}

.account-header {
    text-align: center;
    margin-bottom: 45px;
}


.account-header h1 {
    font-family: Georgia, serif;
    font-size: 42px;
    margin-bottom: 10px;
    font-weight:normal;
}

.account-header p:last-child {
    color: #777;
}

.account-container {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.account-card {
    border: 1px solid #ddd8d0;
    background: #fff;
    padding: 32px;
}

    .account-card h2 {
        font-family: Georgia, serif;
        font-size: 24px;
        margin-bottom: 8px;
    }

.account-description {
    color: #777;
    font-size: 14px;
    margin-bottom: 28px;
}

.account-field {
    margin-bottom: 20px;
}

    .account-field label {
        display: block;
        font-size: 14px;
        margin-bottom: 8px;
        font-weight: 500;
    }

    .account-field input {
        width: 100%;
        padding: 13px 14px;
        border: 1px solid #ccc6bd;
        background: #faf9f7;
        font-size: 14px;
        box-sizing: border-box;
        outline: none;
    }

        .account-field input:focus {
            border-color: #333;
        }

.account-button {
    width: 100%;
    padding: 13px;
    border: none;
    background: #222;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease;
}

    .account-button:hover {
        background: #444;
    }


/* Mobile */

@media (max-width: 768px) {

    .account-page {
        padding: 40px 5%;
    }

    .account-header h1 {
        font-size: 34px;
    }

    .account-container {
        grid-template-columns: 1fr;
    }

    .account-card {
        padding: 25px;
    }
}


/* =========================================
   ABOUT PAGE
========================================= */

.about-hero {
    min-height: 600px;
    background-image: linear-gradient( rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45) ), url("https://images.unsplash.com/photo-1524805444758-089113d48a6d?auto=format&fit=crop&w=1800&q=85");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.about-hero-content {
    max-width: 650px;
    color: #fff;
}

.about-label,
.contact-label {
    font-size: 12px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.about-hero h1 {
    font-family: Georgia, serif;
    font-size: 64px;
    line-height: 1.05;
    font-weight: 400;
    margin-bottom: 25px;
}

.about-hero p:last-child {
    max-width: 500px;
    font-size: 17px;
    line-height: 1.8;
}


/* STORY */

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 100px 10%;
    align-items: center;
}

.about-story-image img,
.about-philosophy-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.about-story-content {
    max-width: 520px;
}

.about-small-title {
    font-size: 11px;
    letter-spacing: 3px;
    color: #777;
    margin-bottom: 18px;
}

.about-story h2,
.about-philosophy h2,
.about-values h2 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-story-content p:not(.about-small-title),
.about-philosophy-content p:not(.about-small-title) {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 18px;
}


/* PHILOSOPHY */

.about-philosophy {
    background: #f5f3ef;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.about-philosophy-content {
    padding: 80px 12%;
}

.about-philosophy-image img {
    height: 500px;
    display: block;
}


/* VALUES */

.about-values {
    padding: 100px 10%;
    background: #fff;
}

.about-values-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.about-value-card {
    border-top: 1px solid #d8d3cb;
    padding-top: 25px;
}

.about-value-number {
    font-size: 12px;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 30px;
}

.about-value-card h3 {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 15px;
}

.about-value-card p {
    color: #777;
    line-height: 1.7;
    font-size: 14px;
}


/* COLLECTION */

.about-collection {
    height: 500px;
    background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("https://images.unsplash.com/photo-1523275335684-37898b6baf30?auto=format&fit=crop&w=1800&q=85");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.about-collection-overlay p {
    letter-spacing: 4px;
    font-size: 11px;
}

.about-collection-overlay h2 {
    font-family: Georgia, serif;
    font-size: 48px;
    font-weight: 400;
    margin: 15px 0 30px;
}

.about-collection-overlay a,
.contact-bottom-content a {
    display: inline-block;
    padding: 14px 30px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s ease;
}

    .about-collection-overlay a:hover,
    .contact-bottom-content a:hover {
        background: #fff;
        color: #222;
    }


/* =========================================
   CONTACT PAGE
========================================= */

.contact-hero {
    min-height: 500px;
    background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("https://images.unsplash.com/photo-1508057198894-247b23fe5ade?auto=format&fit=crop&w=1800&q=85");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: #fff;
}

.contact-hero-content {
    max-width: 650px;
}

.contact-hero h1 {
    font-family: Georgia, serif;
    font-size: 60px;
    line-height: 1.05;
    font-weight: 400;
    margin-bottom: 25px;
}

.contact-hero p:last-child {
    max-width: 520px;
    line-height: 1.8;
    font-size: 16px;
}


/* CONTACT SECTION */

.contact-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    padding: 100px 10%;
    background: #faf9f7;
}

.contact-info {
    padding-top: 20px;
}

    .contact-info h2 {
        font-family: Georgia, serif;
        font-size: 42px;
        line-height: 1.2;
        font-weight: 400;
        margin-bottom: 25px;
    }

.contact-description {
    color: #777;
    line-height: 1.8;
    max-width: 480px;
}


/* CONTACT DETAILS */

.contact-details {
    margin-top: 45px;
}

.contact-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border: 1px solid #d5d0c8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-detail h3 {
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 400;
    margin: 0 0 5px;
}

.contact-detail p {
    color: #777;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}


/* FORM */

.contact-form-card {
    background: #fff;
    padding: 45px;
    border: 1px solid #e0dbd3;
}

    .contact-form-card h2 {
        font-family: Georgia, serif;
        font-size: 32px;
        font-weight: 400;
        margin-bottom: 35px;
    }

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-field {
    margin-bottom: 22px;
}

    .contact-field label {
        display: block;
        font-size: 13px;
        margin-bottom: 8px;
    }

    .contact-field input,
    .contact-field textarea {
        width: 100%;
        box-sizing: border-box;
        border: 1px solid #d3cec6;
        background: #faf9f7;
        padding: 14px;
        font-family: inherit;
        font-size: 14px;
        outline: none;
    }

    .contact-field textarea {
        resize: vertical;
    }

        .contact-field input:focus,
        .contact-field textarea:focus {
            border-color: #333;
        }

.contact-submit {
    width: 100%;
    padding: 15px;
    background: #222;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

    .contact-submit:hover {
        background: #444;
    }


/* CONTACT BOTTOM */

.contact-bottom {
    height: 450px;
    background-image: linear-gradient( rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55) ), url("https://images.unsplash.com/photo-1533139502658-0198f920d8e8?auto=format&fit=crop&w=1800&q=85");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.contact-bottom-content p {
    font-size: 11px;
    letter-spacing: 4px;
}

.contact-bottom-content h2 {
    font-family: Georgia, serif;
    font-size: 46px;
    line-height: 1.15;
    font-weight: 400;
    margin: 15px 0 30px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .about-hero h1,
    .contact-hero h1 {
        font-size: 48px;
    }

    .about-story,
    .about-philosophy,
    .contact-section {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-story-image img {
        height: 450px;
    }
}


@media (max-width: 600px) {

    .about-hero,
    .contact-hero {
        min-height: 500px;
        padding: 0 7%;
    }

        .about-hero h1,
        .contact-hero h1 {
            font-size: 40px;
        }

    .about-story,
    .about-values,
    .contact-section {
        padding: 65px 7%;
    }

    .about-philosophy-content {
        padding: 65px 7%;
    }

    .about-story h2,
    .about-philosophy h2,
    .about-values h2,
    .contact-info h2 {
        font-size: 34px;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 25px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .about-collection-overlay h2,
    .contact-bottom-content h2 {
        font-size: 36px;
    }
}