/* ------------------------------
   Grace Designs General Styling
------------------------------ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #1b1b1b;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* ------------------------------
   Navigation
------------------------------ */

.main-header {
    background-color: #080808;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: auto;
    max-width: 1200px;
    min-height: 84px;
    padding: 10px 24px;
}

.logo-link {
    align-items: center;
    display: flex;
}

.brand-area {
    align-items: center;
    display: flex;
    gap: 14px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    color: #ffffff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.agent-location {
    color: #bdbdbd;
    font-size: 12px;
    margin-top: 4px;
}
.logo {
    border-radius: 50%;
    height: 62px;
    object-fit: cover;
    width: 62px;
}

.navigation-links {
    align-items: center;
    display: flex;
    gap: 30px;
}

.navigation-links a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
}

.navigation-links a::after {
    background-color: #f2a894;
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    width: 100%;
}

.navigation-links a:hover::after,
.navigation-links .active-link::after {
    transform: scaleX(1);
}

.cart-link {
    align-items: center;
    display: flex;
    gap: 8px;
}

.cart-count {
    align-items: center;
    background-color: #f2a894;
    border-radius: 50%;
    color: #080808;
    display: inline-flex;
    font-size: 12px;
    height: 22px;
    justify-content: center;
    min-width: 22px;
    padding: 2px;
}

.menu-button {
    background: transparent;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    display: none;
    font-size: 28px;
}


/* ------------------------------
   Hero Section
------------------------------ */

.hero-section {
    align-items: center;
    background-color: #f4f1ed;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 610px;
    overflow: hidden;
}

.hero-content {
    margin-left: auto;
    max-width: 720px;
    padding: 80px 60px 80px 24px;
}

.hero-label,
.section-label {
    color: #b36f5d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(42px, 6vw, 76px);
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 24px;
    max-width: 800px;
}

.hero-description {
    color: #585858;
    font-size: 18px;
    margin-bottom: 34px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-image-area {
    align-items: center;
    background-color: #080808;
    display: flex;
    height: 100%;
    justify-content: center;
    min-height: 610px;
    padding: 50px;
}

.hero-logo {
    border: 1px solid #2e2e2e;
    border-radius: 50%;
    max-width: 340px;
    width: 100%;
}


/* ------------------------------
   Buttons
------------------------------ */

.primary-button,
.secondary-button,
.product-button {
    border: 1px solid #080808;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 15px 25px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.primary-button {
    background-color: #080808;
    color: #ffffff;
}

.primary-button:hover {
    background-color: #f2a894;
    border-color: #f2a894;
    color: #080808;
}

.secondary-button {
    background-color: transparent;
    color: #080808;
}

.secondary-button:hover {
    background-color: #080808;
    color: #ffffff;
}


/* ------------------------------
   General Sections
------------------------------ */

.section-container {
    margin: auto;
    max-width: 1200px;
    padding: 100px 24px;
}

.section-heading {
    margin-bottom: 45px;
    max-width: 650px;
}

.section-heading h2,
.about-content h2,
.delivery-section h2,
.contact-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-heading p,
.about-content p,
.contact-content p {
    color: #626262;
}


/* ------------------------------
   Product Cards
------------------------------ */

.product-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #dedede;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-7px);
}

.product-image-placeholder {
    align-items: center;
    background-color: #efefef;
    color: #777777;
    display: flex;
    height: 320px;
    justify-content: center;
}

.product-information {
    padding: 24px;
}

.product-information h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.product-price {
    color: #b36f5d;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 18px;
}

.product-button {
    background-color: transparent;
    width: 100%;
}

.product-button:hover {
    background-color: #080808;
    color: #ffffff;
}

.center-button {
    margin-top: 45px;
    text-align: center;
}


/* ------------------------------
   About Section
------------------------------ */

.about-section {
    background-color: #f4f1ed;
    display: grid;
    gap: 70px;
    grid-template-columns: 1fr 1fr;
    padding: 100px max(24px, calc((100% - 1152px) / 2));
}

.about-content p {
    margin-bottom: 20px;
}

.about-content .primary-button {
    margin-top: 10px;
}

.about-details {
    display: grid;
    gap: 18px;
}

.benefit-card {
    background-color: #ffffff;
    border-left: 4px solid #f2a894;
    padding: 26px;
}

.benefit-number {
    color: #b36f5d;
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.benefit-card h3 {
    margin-bottom: 5px;
}

.benefit-card p {
    color: #626262;
}


/* ------------------------------
   Delivery
------------------------------ */

.delivery-section {
    align-items: center;
    background-color: #080808;
    color: #ffffff;
    display: grid;
    gap: 60px;
    grid-template-columns: 1fr 1fr;
    padding: 90px max(24px, calc((100% - 1152px) / 2));
}

.delivery-section > div:first-child p:last-child {
    color: #c9c9c9;
    max-width: 550px;
}

.light-label {
    color: #f2a894;
}

.delivery-options {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, 1fr);
}

.delivery-card {
    border: 1px solid #3a3a3a;
    padding: 32px;
    text-align: center;
}

.delivery-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.delivery-price {
    color: #f2a894;
    font-size: 30px;
    font-weight: 700;
}


/* ------------------------------
   Contact Section
------------------------------ */

.contact-section {
    display: grid;
    gap: 70px;
    grid-template-columns: 1fr 1fr;
    margin: auto;
    max-width: 1200px;
    padding: 100px 24px;
}

.contact-details {
    border-left: 1px solid #dedede;
    display: grid;
    gap: 30px;
    padding-left: 50px;
}

.contact-title {
    color: #b36f5d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}


/* ------------------------------
   Footer
------------------------------ */

.main-footer {
    background-color: #080808;
    color: #ffffff;
}

.footer-content {
    display: grid;
    gap: 60px;
    grid-template-columns: 2fr 1fr 1fr;
    margin: auto;
    max-width: 1200px;
    padding: 70px 24px;
}

.footer-logo {
    border-radius: 50%;
    height: 75px;
    margin-bottom: 20px;
    object-fit: cover;
    width: 75px;
}

.footer-content p {
    color: #bdbdbd;
    max-width: 400px;
}

.footer-content h3 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-content a {
    color: #bdbdbd;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #f2a894;
}

.footer-bottom {
    border-top: 1px solid #282828;
    color: #9c9c9c;
    font-size: 13px;
    padding: 20px 24px;
    text-align: center;
}


/* ------------------------------
   Tablet
------------------------------ */

@media (max-width: 900px) {

    .hero-section {
        grid-template-columns: 1fr;
    }

    .hero-content {
        margin: auto;
        max-width: 100%;
        padding: 70px 24px;
    }

    .hero-image-area {
        min-height: 430px;
    }

    .hero-logo {
        max-width: 280px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section,
    .delivery-section,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .contact-details {
        border-left: 0;
        border-top: 1px solid #dedede;
        padding-left: 0;
        padding-top: 35px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

}


/* ------------------------------
   Mobile
------------------------------ */

@media (max-width: 700px) {
    .brand-name {
    font-size: 15px;
}

.agent-location {
    font-size: 11px;
}

    .navbar {
        min-height: 76px;
    }

    .logo {
        height: 54px;
        width: 54px;
    }

    .menu-button {
        display: block;
    }

    .navigation-links {
        align-items: flex-start;
        background-color: #080808;
        display: none;
        flex-direction: column;
        gap: 8px;
        left: 0;
        padding: 20px 24px 30px;
        position: absolute;
        top: 76px;
        width: 100%;
    }

    .navigation-links.show-menu {
        display: flex;
    }

    .navigation-links a {
        padding: 11px 0;
        width: 100%;
    }

    .hero-content h1 {
        letter-spacing: -1px;
    }

    .hero-image-area {
        min-height: 340px;
    }

    .hero-logo {
        max-width: 230px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image-placeholder {
        height: 300px;
    }

    .about-section,
    .delivery-section,
    .contact-section,
    .section-container {
        padding-bottom: 75px;
        padding-top: 75px;
    }

    .delivery-options {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

}


/* ------------------------------
   Small Mobile Devices
------------------------------ */

@media (max-width: 450px) {

    .hero-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-image-area {
        padding: 30px;
    }

}
/* ------------------------------
   Products Page
------------------------------ */

.products-hero {
    background-color: #f5f2ee;
    padding: 90px 24px;
    text-align: center;
}

.products-hero div {
    margin: auto;
    max-width: 760px;
}

.products-hero h1 {
    color: #111111;
    font-size: clamp(40px, 6vw, 68px);
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.products-hero p:last-child {
    color: #646464;
    font-size: 17px;
}

.product-controls {
    align-items: flex-end;
    display: grid;
    gap: 24px;
    grid-template-columns: 2fr 1fr;
    margin: auto;
    max-width: 1200px;
    padding: 55px 24px 25px;
}

.search-container,
.filter-container {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.search-container label,
.filter-container label {
    color: #333333;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.search-container input,
.filter-container select {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 0;
    color: #171717;
    min-height: 52px;
    outline: none;
    padding: 13px 16px;
    width: 100%;
}

.search-container input:focus,
.filter-container select:focus {
    border-color: #a9604f;
    box-shadow: 0 0 0 3px rgba(169, 96, 79, 0.12);
}

.products-section {
    margin: auto;
    max-width: 1200px;
    padding: 30px 24px 100px;
}

.products-page-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}

.shop-product-card {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    overflow: hidden;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.shop-product-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
    transform: translateY(-6px);
}

.shop-product-image {
    align-items: center;
    background-color: #eeeeee;
    color: #777777;
    display: flex;
    height: 330px;
    justify-content: center;
    overflow: hidden;
}

.shop-product-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    width: 100%;
}

.shop-product-card:hover .shop-product-image img {
    transform: scale(1.04);
}

.shop-product-details {
    padding: 25px;
}

.product-category {
    color: #a9604f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 9px;
    text-transform: uppercase;
}

.shop-product-details h2 {
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.shop-product-price {
    color: #111111;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stock-status {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 23px;
    text-transform: uppercase;
}

.in-stock {
    color: #27773e;
}

.out-of-stock {
    color: #a02c2c;
}

.quantity-section {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.quantity-section > span {
    color: #555555;
    font-size: 13px;
    font-weight: 600;
}

.quantity-selector {
    align-items: center;
    border: 1px solid #cccccc;
    display: flex;
    height: 42px;
}

.quantity-button {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    font-size: 20px;
    height: 40px;
    transition: background-color 0.2s ease;
    width: 40px;
}

.quantity-button:hover:not(:disabled) {
    background-color: #f1eee9;
}

.quantity-button:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.quantity-number {
    font-size: 14px;
    font-weight: 700;
    min-width: 35px;
    text-align: center;
}

.disabled-quantity {
    opacity: 0.5;
}

.add-cart-button {
    background-color: #111111;
    border: 1px solid #111111;
    color: #ffffff;
    cursor: pointer;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    min-height: 50px;
    padding: 13px 18px;
    text-transform: uppercase;
    transition: 0.3s ease;
    width: 100%;
}

.add-cart-button:hover:not(:disabled) {
    background-color: #efa28e;
    border-color: #efa28e;
    color: #111111;
}

.sold-out-button {
    background-color: #dddddd;
    border-color: #dddddd;
    color: #777777;
    cursor: not-allowed;
}

.no-products-message {
    color: #666666;
    display: none;
    padding: 80px 20px;
    text-align: center;
}

.cart-message {
    background-color: #111111;
    bottom: 25px;
    color: #ffffff;
    font-size: 14px;
    left: 50%;
    opacity: 0;
    padding: 15px 24px;
    pointer-events: none;
    position: fixed;
    transform: translate(-50%, 30px);
    transition: 0.3s ease;
    z-index: 2000;
}

.cart-message.show-message {
    opacity: 1;
    transform: translate(-50%, 0);
}


/* Products Tablet */

@media (max-width: 900px) {

    .products-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* Products Mobile */

@media (max-width: 650px) {

    .products-hero {
        padding: 70px 24px;
    }

    .products-hero h1 {
        font-size: 42px;
    }

    .product-controls {
        grid-template-columns: 1fr;
    }

    .products-page-grid {
        grid-template-columns: 1fr;
    }

    .shop-product-image {
        height: 360px;
    }

}
/* ------------------------------
   Cart Page
------------------------------ */

.cart-page-header {
    background-color: #f5f2ee;
    padding: 80px 24px;
    text-align: center;
}

.cart-page-header h1 {
    font-size: clamp(40px, 6vw, 64px);
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 15px;
}

.cart-page-header p:last-child {
    color: #626262;
}

.cart-page {
    align-items: start;
    display: grid;
    gap: 50px;
    grid-template-columns: 1.7fr 0.8fr;
    margin: auto;
    max-width: 1200px;
    padding: 80px 24px 110px;
}

.cart-title-row {
    align-items: center;
    border-bottom: 1px solid #dddddd;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 20px;
}

.cart-title-row h2 {
    font-size: 25px;
}

.continue-shopping-link {
    color: #a9604f;
    font-size: 13px;
    font-weight: 700;
}

.continue-shopping-link:hover {
    text-decoration: underline;
}

.cart-items {
    display: grid;
}

.cart-item {
    align-items: center;
    border-bottom: 1px solid #dddddd;
    display: grid;
    gap: 22px;
    grid-template-columns: 105px 1fr auto auto;
    padding: 24px 0;
}

.cart-item-image {
    align-items: center;
    background-color: #eeeeee;
    color: #777777;
    display: flex;
    height: 105px;
    justify-content: center;
    overflow: hidden;
    width: 105px;
}

.cart-item-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.cart-item-details h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.cart-item-details p {
    color: #666666;
    font-size: 14px;
}

.cart-item-price {
    color: #111111;
    font-weight: 700;
}

.cart-item-actions {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-quantity {
    align-items: center;
    border: 1px solid #cccccc;
    display: flex;
    height: 40px;
}

.cart-quantity button {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    font-size: 19px;
    height: 38px;
    width: 38px;
}

.cart-quantity button:hover {
    background-color: #f1eee9;
}

.cart-quantity span {
    font-size: 14px;
    font-weight: 700;
    min-width: 35px;
    text-align: center;
}

.remove-cart-item {
    background-color: transparent;
    border: 0;
    color: #a02c2c;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.remove-cart-item:hover {
    text-decoration: underline;
}

.empty-cart {
    display: none;
    padding: 80px 20px;
    text-align: center;
}

.empty-cart h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.empty-cart p {
    color: #666666;
    margin: 0 auto 28px;
    max-width: 500px;
}

.order-summary {
    background-color: #f5f2ee;
    padding: 32px;
    position: sticky;
    top: 110px;
}

.order-summary h2 {
    border-bottom: 1px solid #d7d1cb;
    font-size: 23px;
    margin-bottom: 25px;
    padding-bottom: 18px;
}

.summary-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 13px;
    text-transform: uppercase;
}

.delivery-choice {
    border-bottom: 1px solid #d7d1cb;
    margin-bottom: 24px;
    padding-bottom: 24px;
}

.delivery-radio {
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #d5d5d5;
    cursor: pointer;
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    padding: 15px;
}

.delivery-radio:has(input:checked) {
    border-color: #a9604f;
}

.delivery-radio input {
    accent-color: #111111;
}

.delivery-radio span {
    display: flex;
    flex-direction: column;
}

.delivery-radio strong {
    font-size: 14px;
}

.delivery-radio small {
    color: #666666;
}

.summary-calculations {
    display: grid;
    gap: 14px;
    margin-bottom: 25px;
}

.summary-calculations > div {
    display: flex;
    justify-content: space-between;
}

.summary-total {
    border-top: 1px solid #d7d1cb;
    font-size: 20px;
    font-weight: 700;
    margin-top: 5px;
    padding-top: 18px;
}

.checkout-button {
    background-color: #111111;
    border: 1px solid #111111;
    color: #ffffff;
    display: block;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 16px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.checkout-button:hover {
    background-color: #efa28e;
    border-color: #efa28e;
    color: #111111;
}

.checkout-button.disabled-button {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.payment-note {
    color: #777777;
    font-size: 11px;
    margin-top: 13px;
    text-align: center;
}


/* Cart Tablet */

@media (max-width: 950px) {

    .cart-page {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

}


/* Cart Mobile */

@media (max-width: 650px) {

    .cart-page {
        padding-bottom: 80px;
        padding-top: 55px;
    }

    .cart-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .cart-item {
        grid-template-columns: 85px 1fr;
    }

    .cart-item-image {
        height: 85px;
        width: 85px;
    }

    .cart-item-price {
        grid-column: 2;
    }

    .cart-item-actions {
        align-items: flex-start;
        grid-column: 2;
    }

    .order-summary {
        padding: 25px;
    }

}
/* ------------------------------
   Checkout Page
------------------------------ */

.checkout-header {
    background-color: #f5f2ee;
    padding: 80px 24px;
    text-align: center;
}

.checkout-header h1 {
    font-size: clamp(40px, 6vw, 64px);
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 15px;
}

.checkout-header p:last-child {
    color: #626262;
    margin: auto;
    max-width: 650px;
}

.checkout-page {
    align-items: start;
    display: grid;
    gap: 55px;
    grid-template-columns: 1.5fr 0.7fr;
    margin: auto;
    max-width: 1200px;
    padding: 80px 24px 110px;
}

.checkout-section-heading {
    align-items: flex-start;
    border-bottom: 1px solid #dddddd;
    display: flex;
    gap: 18px;
    margin-bottom: 30px;
    padding-bottom: 22px;
}

.checkout-section-heading > span {
    color: #a9604f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    padding-top: 5px;
}

.checkout-section-heading h2 {
    font-size: 25px;
    margin-bottom: 4px;
}

.checkout-section-heading p {
    color: #666666;
    font-size: 14px;
}

.second-heading {
    margin-top: 55px;
}

.form-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #292929;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group label span {
    color: #a02c2c;
}

.form-group input,
.form-group textarea {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 0;
    color: #171717;
    outline: none;
    padding: 14px 15px;
    width: 100%;
}

.form-group input {
    min-height: 52px;
}

.form-group textarea {
    line-height: 1.6;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #a9604f;
    box-shadow: 0 0 0 3px rgba(169, 96, 79, 0.12);
}

.form-group input.invalid-field,
.form-group textarea.invalid-field {
    border-color: #a02c2c;
}

.form-error,
.confirmation-error {
    color: #a02c2c;
    font-size: 11px;
    margin-top: 6px;
    min-height: 16px;
}

.full-width-group {
    margin-bottom: 24px;
}

.checkout-confirmation {
    align-items: flex-start;
    cursor: pointer;
    display: flex;
    gap: 11px;
    margin-top: 25px;
}

.checkout-confirmation input {
    accent-color: #111111;
    margin-top: 5px;
}

.checkout-confirmation span {
    color: #555555;
    font-size: 13px;
}

.place-order-button {
    background-color: #111111;
    border: 1px solid #111111;
    color: #ffffff;
    cursor: pointer;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 15px;
    min-height: 54px;
    padding: 15px 24px;
    text-transform: uppercase;
    transition: 0.3s ease;
    width: 100%;
}

.place-order-button:hover {
    background-color: #efa28e;
    border-color: #efa28e;
    color: #111111;
}

.checkout-payment-note {
    color: #777777;
    font-size: 11px;
    margin-top: 13px;
    text-align: center;
}

.checkout-summary {
    background-color: #f5f2ee;
    padding: 32px;
    position: sticky;
    top: 110px;
}

.checkout-summary h2 {
    border-bottom: 1px solid #d7d1cb;
    font-size: 23px;
    margin-bottom: 18px;
    padding-bottom: 18px;
}

.checkout-agent {
    color: #666666;
    font-size: 13px;
    margin-bottom: 24px;
}

.checkout-agent strong {
    color: #111111;
    display: block;
    margin-top: 3px;
}

.checkout-summary-products {
    border-bottom: 1px solid #d7d1cb;
    display: grid;
    gap: 18px;
    margin-bottom: 23px;
    padding-bottom: 23px;
}

.checkout-summary-item {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.checkout-summary-item div {
    flex: 1;
}

.checkout-summary-item h3 {
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 3px;
}

.checkout-summary-item p {
    color: #666666;
    font-size: 12px;
}

.checkout-summary-item > span {
    font-size: 14px;
    font-weight: 700;
}

.checkout-summary-totals {
    display: grid;
    gap: 14px;
}

.checkout-summary-totals > div {
    display: flex;
    justify-content: space-between;
}

.checkout-total {
    border-top: 1px solid #d7d1cb;
    font-size: 20px;
    font-weight: 700;
    margin-top: 5px;
    padding-top: 18px;
}

.edit-cart-link {
    border: 1px solid #111111;
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-top: 25px;
    padding: 13px;
    text-align: center;
    text-transform: uppercase;
}

.edit-cart-link:hover {
    background-color: #111111;
    color: #ffffff;
}


/* Checkout Tablet */

@media (max-width: 950px) {

    .checkout-page {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

}


/* Checkout Mobile */

@media (max-width: 650px) {

    .checkout-page {
        padding-bottom: 80px;
        padding-top: 55px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        padding: 25px;
    }

}
/* ------------------------------
   Order Confirmation Page
------------------------------ */

.confirmation-page {
    background-color: #f5f2ee;
    min-height: 80vh;
    padding: 90px 24px;
}

.confirmation-card {
    background-color: #ffffff;
    border: 1px solid #dedede;
    margin: auto;
    max-width: 850px;
    padding: 60px;
    text-align: center;
}

.confirmation-icon {
    align-items: center;
    background-color: #111111;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    font-size: 34px;
    height: 75px;
    justify-content: center;
    margin: 0 auto 25px;
    width: 75px;
}

.confirmation-card h1 {
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.confirmation-introduction {
    color: #4f4f4f;
    font-size: 17px;
    margin-bottom: 8px;
}

.confirmation-contact-message {
    color: #777777;
    font-size: 14px;
    margin: 0 auto 35px;
    max-width: 600px;
}

.confirmation-number-box {
    background-color: #111111;
    color: #ffffff;
    margin-bottom: 35px;
    padding: 25px;
}

.confirmation-number-box span {
    color: #c8c8c8;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.confirmation-number-box strong {
    color: #efa28e;
    font-size: 24px;
}

.confirmation-details {
    border-bottom: 1px solid #dddddd;
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 35px;
    text-align: left;
}

.confirmation-details div {
    display: flex;
    flex-direction: column;
}

.confirmation-details span {
    color: #888888;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.confirmation-details strong {
    color: #222222;
    font-size: 15px;
}

.confirmation-order-section {
    border-bottom: 1px solid #dddddd;
    padding: 35px 0;
    text-align: left;
}

.confirmation-order-section h2,
.confirmation-address h2 {
    font-size: 23px;
    margin-bottom: 22px;
}

.confirmation-products {
    display: grid;
    gap: 17px;
}

.confirmation-product-item {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.confirmation-product-item div {
    text-align: left;
}

.confirmation-product-item h3 {
    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;
    margin-bottom: 3px;
}

.confirmation-product-item p {
    color: #777777;
    font-size: 12px;
}

.confirmation-product-item strong {
    font-size: 14px;
}

.confirmation-totals {
    border-top: 1px solid #dddddd;
    display: grid;
    gap: 12px;
    margin-top: 25px;
    padding-top: 22px;
}

.confirmation-totals > div {
    display: flex;
    justify-content: space-between;
}

.confirmation-total {
    border-top: 1px solid #dddddd;
    font-size: 20px;
    font-weight: 700;
    margin-top: 6px;
    padding-top: 16px;
}

.confirmation-address {
    padding: 35px 0;
    text-align: left;
}

.confirmation-address > p {
    color: #555555;
    white-space: pre-line;
}

.confirmation-address h3 {
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 5px;
    margin-top: 22px;
}

.confirmation-address div p {
    color: #666666;
}

.confirmation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 10px;
}


/* Confirmation Mobile */

@media (max-width: 650px) {

    .confirmation-page {
        padding: 55px 15px;
    }

    .confirmation-card {
        padding: 40px 22px;
    }

    .confirmation-details {
        grid-template-columns: 1fr;
    }

    .confirmation-buttons {
        flex-direction: column;
    }

    .confirmation-buttons a {
        width: 100%;
    }

}
/* ------------------------------
   Staff Portal
------------------------------ */

.portal-body {
    background-color: #f4f1ed;
    min-height: 100vh;
}

.portal-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.portal-brand-panel {
    align-items: center;
    background-color: #090909;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px;
    text-align: center;
}

.portal-logo {
    border: 1px solid #333333;
    border-radius: 50%;
    margin-bottom: 30px;
    max-width: 190px;
    width: 100%;
}

.portal-label {
    color: #efa28e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.portal-brand-panel h1 {
    font-size: clamp(38px, 5vw, 64px);
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 20px;
    max-width: 650px;
}

.portal-brand-panel > p:last-child {
    color: #bbbbbb;
    max-width: 500px;
}

.portal-login-panel {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 60px 30px;
}

.portal-login-container {
    max-width: 480px;
    width: 100%;
}

.portal-login-container h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.portal-instructions {
    color: #666666;
    margin-bottom: 35px;
}

.portal-password-group {
    margin-top: 20px;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 80px;
}

.toggle-password-button {
    background-color: transparent;
    border: 0;
    color: #a9604f;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.portal-error {
    color: #a02c2c;
    font-size: 13px;
    margin-top: 15px;
    min-height: 22px;
}

.portal-login-button {
    background-color: #111111;
    border: 1px solid #111111;
    color: #ffffff;
    cursor: pointer;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    min-height: 54px;
    text-transform: uppercase;
    transition: 0.3s ease;
    width: 100%;
}

.portal-login-button:hover:not(:disabled) {
    background-color: #efa28e;
    border-color: #efa28e;
    color: #111111;
}

.portal-login-button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.portal-home-link {
    color: #666666;
    display: block;
    font-size: 13px;
    margin-top: 22px;
    text-align: center;
}

.portal-home-link:hover {
    color: #a9604f;
}


@media (max-width: 850px) {

    .portal-page {
        grid-template-columns: 1fr;
    }

    .portal-brand-panel {
        min-height: 430px;
        padding: 55px 24px;
    }

    .portal-logo {
        max-width: 140px;
    }

    .portal-login-panel {
        padding: 65px 24px;
    }

}
/* =========================================
   GRACE DESIGNS MANAGEMENT DASHBOARD
========================================= */

.dashboard-body {
    margin: 0;
    background: #f5f2ee;
    color: #111111;
    font-family: "Inter", sans-serif;
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
}


/* SIDEBAR */

.dashboard-sidebar {
    width: 260px;
    min-height: 100vh;
    background: #111111;
    color: #ffffff;
    padding: 28px 20px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 12px;

    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dashboard-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    background: #ffffff;
}

.dashboard-brand h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    margin: 0 0 4px;
}

.dashboard-brand p {
    margin: 0;
    font-size: 11px;
    color: #bcbcbc;
}


/* SIDEBAR NAVIGATION */

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;

    margin-top: 35px;
}

.dashboard-link {
    display: block;

    padding: 13px 15px;

    color: #d6d6d6;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    border-radius: 7px;

    transition: 0.2s ease;
}

.dashboard-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.dashboard-link.active {
    background: #ffffff;
    color: #111111;
    font-weight: 600;
}


/* LOGOUT */

.dashboard-sidebar-bottom {
    margin-top: auto;
}

.dashboard-logout {
    width: 100%;

    padding: 12px;

    background: transparent;
    color: #ffffff;

    border: 1px solid #444444;
    border-radius: 7px;

    font-family: "Inter", sans-serif;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}

.dashboard-logout:hover {
    background: #ffffff;
    color: #111111;
}


/* MAIN DASHBOARD */

.dashboard-main {
    flex: 1;

    margin-left: 260px;

    padding: 40px;

    box-sizing: border-box;
}


/* HEADER */

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 35px;
}

.dashboard-label {
    margin: 0 0 7px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    color: #a9604f;
}

.dashboard-header h1 {
    margin: 0;

    font-family: "Montserrat", sans-serif;

    font-size: 32px;
}

.dashboard-welcome {
    margin: 7px 0 0;

    color: #777777;

    font-size: 14px;
}


/* USER INFORMATION */

.dashboard-user {
    display: flex;
    align-items: center;

    gap: 12px;

    background: #ffffff;

    padding: 10px 16px;

    border-radius: 10px;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.dashboard-user-icon {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: #111111;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 700;
}

.dashboard-user strong {
    font-size: 13px;
}

.dashboard-user p {
    margin: 3px 0 0;

    font-size: 11px;

    color: #777777;
}


/* SUMMARY CARDS */

.dashboard-cards {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-bottom: 30px;
}

.dashboard-card {
    background: #ffffff;

    padding: 22px;

    border-radius: 12px;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);

    border: 1px solid #eeeeee;
}

.dashboard-card p {
    margin: 0;

    color: #666666;

    font-size: 13px;

    font-weight: 500;
}

.dashboard-card h2 {
    margin: 12px 0;

    font-family: "Montserrat", sans-serif;

    font-size: 30px;
}

.dashboard-card span {
    color: #999999;

    font-size: 11px;
}


/* DASHBOARD SECTIONS */

.dashboard-section {
    background: #ffffff;

    padding: 25px;

    border-radius: 12px;

    border: 1px solid #eeeeee;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.dashboard-section-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;
}

.dashboard-section-header h2 {
    margin: 0 0 5px;

    font-family: "Montserrat", sans-serif;

    font-size: 19px;
}

.dashboard-section-header p {
    margin: 0;

    color: #888888;

    font-size: 12px;
}


/* BUTTON */

.dashboard-action-button {
    background: #111111;

    color: #ffffff;

    border: none;

    border-radius: 7px;

    padding: 11px 16px;

    font-family: "Inter", sans-serif;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;
}

.dashboard-action-button:hover {
    opacity: 0.85;
}


/* TABLE */

.dashboard-table-wrapper {
    width: 100%;

    overflow-x: auto;
}

.dashboard-table {
    width: 100%;

    border-collapse: collapse;
}

.dashboard-table th {
    text-align: left;

    padding: 13px;

    border-bottom: 1px solid #e6e6e6;

    color: #777777;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}

.dashboard-table td {
    padding: 15px 13px;

    border-bottom: 1px solid #eeeeee;

    font-size: 13px;
}

.empty-table-row td {
    text-align: center;

    padding: 40px;

    color: #999999;
}


/* RESPONSIVE DASHBOARD */

@media (max-width: 1100px) {

    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 750px) {

    .dashboard-sidebar {
        width: 100%;
        min-height: auto;

        position: relative;

        padding: 20px;
    }

    .dashboard-layout {
        display: block;
    }

    .dashboard-main {
        margin-left: 0;

        padding: 25px 18px;
    }

    .dashboard-nav {
        margin-top: 20px;
    }

    .dashboard-sidebar-bottom {
        margin-top: 20px;
    }

    .dashboard-header {
        align-items: flex-start;
        flex-direction: column;

        gap: 20px;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .dashboard-user {
        width: 100%;

        box-sizing: border-box;
    }

    .dashboard-section-header {
        align-items: flex-start;
        flex-direction: column;

        gap: 15px;
    }

}
/* =========================================
   ORDER MANAGEMENT
========================================= */

.orders-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.orders-search,
.orders-filter-select {
    padding: 11px 13px;

    border: 1px solid #dddddd;
    border-radius: 7px;

    background: #ffffff;
    color: #111111;

    font-family: "Inter", sans-serif;
    font-size: 12px;

    outline: none;
}

.orders-search {
    flex: 1;
    min-width: 220px;
}

.orders-search:focus,
.orders-filter-select:focus {
    border-color: #111111;
}

.orders-filter-select {
    min-width: 150px;
    cursor: pointer;
}

@media (max-width: 750px) {

    .orders-filters {
        flex-direction: column;
    }

    .orders-search,
    .orders-filter-select {
        width: 100%;
        box-sizing: border-box;
    }

}
/* =========================================
   MANAGEMENT MODAL / FORMS
========================================= */

.management-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;

    background: rgba(0, 0, 0, 0.55);

    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;
}

.management-modal-content {
    width: 100%;
    max-width: 600px;
    max-height: 90vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 12px;

    padding: 28px;

    box-sizing: border-box;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.management-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.management-modal-header h2 {
    margin: 0 0 6px;

    font-family: "Montserrat", sans-serif;
    font-size: 21px;
}

.management-modal-header p {
    margin: 0;

    color: #777777;
    font-size: 12px;
}

.modal-close-button {
    border: none;
    background: transparent;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    color: #555555;
}

.management-form-group {
    display: flex;
    flex-direction: column;

    gap: 7px;

    margin-bottom: 18px;
}

.management-form-group label {
    font-size: 12px;
    font-weight: 600;

    color: #333333;
}

.management-form-group input,
.management-form-group textarea,
.management-form-group select {
    width: 100%;

    box-sizing: border-box;

    padding: 11px 12px;

    border: 1px solid #dddddd;
    border-radius: 7px;

    background: #ffffff;

    color: #111111;

    font-family: "Inter", sans-serif;
    font-size: 13px;

    outline: none;
}

.management-form-group input:focus,
.management-form-group textarea:focus,
.management-form-group select:focus {
    border-color: #111111;
}

.management-form-group textarea {
    resize: vertical;
}

.management-form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.management-form-actions {
    display: flex;
    justify-content: flex-end;

    gap: 10px;

    margin-top: 25px;
}

.secondary-management-button {
    padding: 11px 17px;

    background: #ffffff;

    border: 1px solid #cccccc;
    border-radius: 7px;

    color: #333333;

    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}

.secondary-management-button:hover {
    background: #f5f5f5;
}

@media (max-width: 600px) {

    .management-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .management-modal-content {
        padding: 22px 18px;
    }

}
/* Dashboard link buttons */

.dashboard-button-link {
    display: inline-block;
    text-decoration: none;
    box-sizing: border-box;
}
.product-delete-button {
    border: 1px solid #b42318;
    background: transparent;
    color: #b42318;
    padding: 10px 16px;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    margin-left: 6px;
}

.product-delete-button:hover {
    background: #b42318;
    color: white;
}

.product-delete-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.management-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.management-product-image {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}
.customer-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.products-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
}

.product-description {
    margin: 8px 0;
    line-height: 1.5;
    color: #666;
}