/* ============================================================
   GODAVARI HOME FOODS
   MODERN WOOCOMMERCE STORE UI
   Complete Frontend Stylesheet
   ============================================================ */


/* ============================================================
   01. DESIGN TOKENS
   ============================================================ */

:root {

    /* Brand */
    --ghf-green: #315c3b;
    --ghf-green-dark: #21472c;
    --ghf-green-soft: #e8f0e8;

    /* Accent */
    --ghf-gold: #b8893c;
    --ghf-gold-soft: #f6eedc;

    /* Base */
    --ghf-text: #171914;
    --ghf-text-soft: #474a42;
    --ghf-muted: #777a72;

    /* Surfaces */
    --ghf-white: #ffffff;
    --ghf-cream: #faf8f3;
    --ghf-cream-light: #f5f2ea;
    --ghf-surface: #f7f6f1;

    /* Borders */
    --ghf-border: #e7e4db;
    --ghf-border-dark: #d3d0c6;

    /* Status */
    --ghf-danger: #b33a32;
    --ghf-success: #315c3b;

    /* Shadows */
    --ghf-shadow-xs: 0 2px 8px rgba(25, 30, 20, .04);
    --ghf-shadow-sm: 0 6px 24px rgba(25, 30, 20, .06);
    --ghf-shadow-md: 0 14px 40px rgba(25, 30, 20, .09);
    --ghf-shadow-lg: 0 24px 70px rgba(25, 30, 20, .12);

    /* Radius */
    --ghf-radius-sm: 8px;
    --ghf-radius-md: 14px;
    --ghf-radius-lg: 20px;
    --ghf-radius-xl: 28px;

    /* Layout */
    --ghf-container: 1240px;

    /* Transition */
    --ghf-transition: 180ms ease;
}


/* ============================================================
   02. GLOBAL RESET / BASE
   ============================================================ */

.ghf-wrap {
    width: min(
        var(--ghf-container),
        calc(100% - 48px)
    );
    margin: 0 auto;
}

.ghf-wrap *,
.ghf-wrap *::before,
.ghf-wrap *::after {
    box-sizing: border-box;
}

.ghf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--ghf-green);

    font-size: 11px;
    font-weight: 800;
    line-height: 1;

    letter-spacing: .16em;
    text-transform: uppercase;
}

.ghf-eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--ghf-green);
}

.ghf-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    padding: 22px 0 8px;

    color: var(--ghf-muted);
    font-size: 12px;
}

.ghf-breadcrumb a {
    color: inherit;
    text-decoration: none;

    transition:
        color var(--ghf-transition);
}

.ghf-breadcrumb a:hover {
    color: var(--ghf-green);
}

.ghf-page-heading {
    padding: 54px 0 36px;
}

.ghf-page-heading h1 {
    margin: 8px 0 10px;

    color: var(--ghf-text);

    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.ghf-page-heading p {
    max-width: 620px;

    margin: 0;

    color: var(--ghf-muted);

    font-size: 15px;
    line-height: 1.7;
}


/* ============================================================
   03. BUTTON SYSTEM
   ============================================================ */

.ghf-wrap .button,
.ghf-wrap button,
.ghf-wrap input[type="submit"] {
    font-family: inherit;
}

.ghf-wrap button,
.ghf-wrap .button {
    transition:
        background-color var(--ghf-transition),
        border-color var(--ghf-transition),
        color var(--ghf-transition),
        transform var(--ghf-transition),
        box-shadow var(--ghf-transition);
}

.ghf-wrap button:focus-visible,
.ghf-wrap .button:focus-visible,
.ghf-wrap a:focus-visible,
.ghf-wrap input:focus-visible,
.ghf-wrap select:focus-visible,
.ghf-wrap textarea:focus-visible {
    outline: 2px solid var(--ghf-green);
    outline-offset: 3px;
}


/* ============================================================
   04. SINGLE PRODUCT
   ============================================================ */

.ghf-product-hero {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(380px, .92fr);

    gap: clamp(45px, 6vw, 90px);

    align-items: start;

    padding-bottom: 55px;
}


/* ---------- Gallery ---------- */

.ghf-main-image {
    position: relative;

    overflow: hidden;

    border-radius: var(--ghf-radius-lg);

    background:
        radial-gradient(
            circle at 50% 35%,
            #fff 0,
            var(--ghf-cream-light) 72%
        );

    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

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

.ghf-main-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 500ms cubic-bezier(.2,.7,.2,1);
}

.ghf-main-image:hover img {
    transform: scale(1.025);
}

.ghf-thumbs {
    display: grid;

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

    gap: 10px;

    margin-top: 12px;
}

.ghf-thumb {
    overflow: hidden;

    padding: 0;

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

    border-radius: var(--ghf-radius-sm);

    background: var(--ghf-white);

    cursor: pointer;

    transition:
        border-color var(--ghf-transition),
        transform var(--ghf-transition);
}

.ghf-thumb:hover {
    transform: translateY(-2px);

    border-color: var(--ghf-border-dark);
}

.ghf-thumb.is-active {
    border: 2px solid var(--ghf-green);
}

.ghf-thumb img {
    display: block;

    width: 100%;
    aspect-ratio: 1;

    object-fit: cover;
}


/* ---------- Product information ---------- */

.ghf-product-info {
    position: sticky;
    top: 30px;
}

.ghf-badge {
    display: inline-flex;
    align-items: center;

    padding: 7px 12px;

    border: 1px solid #eadcb8;
    border-radius: 999px;

    background: var(--ghf-gold-soft);
    color: #76561d;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .07em;
    text-transform: uppercase;
}

.ghf-product-title {
    margin: 16px 0 8px;

    color: var(--ghf-text);

    font-size: clamp(34px, 4vw, 54px);
    font-weight: 700;

    line-height: 1.02;

    letter-spacing: -.045em;
}

.ghf-product-subtitle {
    max-width: 580px;

    margin: 0;

    color: var(--ghf-muted);

    font-size: 14px;
    line-height: 1.65;
}

.ghf-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 18px;

    font-size: 12px;
}

.ghf-stars {
    color: var(--ghf-gold);

    font-size: 14px;

    letter-spacing: 1px;
}

.ghf-rating a {
    color: var(--ghf-text-soft);

    text-decoration: underline;
    text-decoration-color: var(--ghf-border-dark);
    text-underline-offset: 3px;
}

.ghf-dot {
    color: #c3c1b9;
}

.ghf-short-description {
    max-width: 620px;

    margin-top: 20px;

    color: var(--ghf-text-soft);

    font-size: 14px;
    line-height: 1.8;
}


/* ---------- Price ---------- */

.ghf-price {
    margin-top: 24px;

    padding-top: 20px;

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

.ghf-price .price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;

    gap: 10px;

    margin: 0;
}

.ghf-price .price .amount {
    color: var(--ghf-text);

    font-size: 34px;
    font-weight: 800;

    letter-spacing: -.035em;
}

.ghf-price .price del {
    color: #999;

    font-size: 14px;
}

.ghf-price .price ins {
    color: var(--ghf-green);

    text-decoration: none;
}


/* ============================================================
   05. ADD TO CART
   ============================================================ */

.ghf-add-to-cart {
    margin-top: 22px;
}

.ghf-add-to-cart form.cart {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;

    gap: 10px;

    margin: 0;
}

.ghf-add-to-cart .quantity {
    display: flex;
}

.ghf-add-to-cart .quantity .qty {
    width: 92px;
    height: 52px;

    border: 1px solid var(--ghf-border-dark);
    border-radius: var(--ghf-radius-sm);

    background: var(--ghf-white);

    color: var(--ghf-text);

    text-align: center;

    font-size: 14px;
    font-weight: 700;
}

.ghf-add-to-cart .single_add_to_cart_button {
    min-height: 52px;

    flex: 1;

    padding: 0 28px !important;

    border: 1px solid var(--ghf-green) !important;
    border-radius: var(--ghf-radius-sm);

    background: var(--ghf-green) !important;
    color: #fff !important;

    font-size: 13px !important;
    font-weight: 800 !important;

    letter-spacing: .02em;

    cursor: pointer;
}

.ghf-add-to-cart .single_add_to_cart_button:hover {
    background: var(--ghf-green-dark) !important;

    border-color: var(--ghf-green-dark) !important;

    transform: translateY(-1px);

    box-shadow: 0 8px 20px rgba(49, 92, 59, .16);
}

.ghf-add-to-cart .variations {
    width: 100%;

    margin: 0 0 17px !important;
}

.ghf-add-to-cart .variations td,
.ghf-add-to-cart .variations th {
    padding: 6px 0 !important;

    border: 0 !important;

    text-align: left;
}

.ghf-add-to-cart .variations label {
    color: var(--ghf-text);

    font-size: 12px;
    font-weight: 800;
}

.ghf-add-to-cart .variations select {
    width: 100%;

    min-height: 48px;

    padding: 0 42px 0 14px;

    border: 1px solid var(--ghf-border);
    border-radius: var(--ghf-radius-sm);

    background-color: var(--ghf-white);

    color: var(--ghf-text);

    font-size: 13px;

    cursor: pointer;
}

.ghf-add-to-cart .variations select:hover {
    border-color: var(--ghf-border-dark);
}

.ghf-add-to-cart .woocommerce-variation-add-to-cart {
    display: flex;

    align-items: stretch;

    gap: 10px;

    flex-wrap: wrap;
}


/* ============================================================
   06. SECONDARY ACTIONS
   ============================================================ */

.ghf-secondary-actions {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 11px;
}

.ghf-buy-now,
.ghf-wishlist {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 15px;

    border: 1px solid var(--ghf-border);
    border-radius: var(--ghf-radius-sm);

    background: var(--ghf-white);

    color: var(--ghf-text);

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;

    cursor: pointer;
}

.ghf-buy-now {
    border-color: var(--ghf-green-soft);

    background: var(--ghf-green-soft);

    color: var(--ghf-green-dark);
}

.ghf-buy-now:hover {
    background: #dce9dc;

    border-color: #dce9dc;
}

.ghf-wishlist:hover {
    border-color: var(--ghf-border-dark);
    background: var(--ghf-surface);
}

.ghf-wishlist.is-added span {
    color: #a23831;
}


/* ============================================================
   07. PRODUCT BENEFITS
   ============================================================ */

.ghf-benefits {
    display: grid;

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

    margin-top: 22px;

    overflow: hidden;

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

    border-radius: var(--ghf-radius-md);

    background: var(--ghf-white);
}

.ghf-benefits > div {
    min-height: 100px;

    padding: 15px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

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

.ghf-benefits > div:last-child {
    border-right: 0;
}

.ghf-benefits b {
    display: block;

    margin-bottom: 5px;

    color: var(--ghf-green);

    font-size: 23px;
}

.ghf-benefits strong {
    color: var(--ghf-text);

    font-size: 11px;
}

.ghf-benefits small {
    margin-top: 3px;

    color: var(--ghf-muted);

    font-size: 10px;
}


/* ============================================================
   08. DELIVERY / PINCODE
   ============================================================ */

.ghf-delivery {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-top: 12px;

    padding: 14px 16px;

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

    border-radius: var(--ghf-radius-md);

    background: var(--ghf-surface);
}

.ghf-delivery-title {
    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--ghf-text);

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}

.ghf-delivery-title span {
    color: var(--ghf-green);

    font-size: 20px;
}

.ghf-pincode-form {
    display: flex;

    gap: 7px;

    margin-left: auto;
}

.ghf-pincode-form input {
    width: 150px;

    height: 40px;

    padding: 0 11px;

    border: 1px solid var(--ghf-border);
    border-radius: var(--ghf-radius-sm);

    background: var(--ghf-white);

    font-size: 12px;
}

.ghf-pincode-form input:focus {
    border-color: var(--ghf-green);
}

.ghf-pincode-form button {
    height: 40px;

    padding: 0 16px;

    border: 1px solid var(--ghf-green-soft);

    border-radius: var(--ghf-radius-sm);

    background: var(--ghf-green-soft);

    color: var(--ghf-green-dark);

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
}

.ghf-pincode-form button:hover {
    background: #dce9dc;
}

.ghf-pincode-result {
    color: var(--ghf-green);

    font-size: 11px;
    font-weight: 700;
}

.ghf-pincode-result.is-error {
    color: var(--ghf-danger);
}


/* ============================================================
   09. TRUST STRIP
   ============================================================ */

.ghf-trust {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(25px, 8vw, 100px);

    padding: 18px 0;

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

    color: var(--ghf-text-soft);

    font-size: 11px;
    font-weight: 600;
}


/* ============================================================
   10. PRODUCT TABS
   ============================================================ */

.ghf-tabs {
    display: flex;

    overflow-x: auto;

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

    scrollbar-width: none;
}

.ghf-tabs::-webkit-scrollbar {
    display: none;
}

.ghf-tabs button {
    position: relative;

    flex: 0 0 auto;

    padding: 18px 20px 15px;

    border: 0;

    background: transparent;

    color: var(--ghf-muted);

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}

.ghf-tabs button:hover {
    color: var(--ghf-text);
}

.ghf-tabs button.is-active {
    color: var(--ghf-text);

    font-weight: 800;
}

.ghf-tabs button.is-active::after {
    content: "";

    position: absolute;

    left: 20px;
    right: 20px;

    bottom: -1px;

    height: 2px;

    background: var(--ghf-green);
}

.ghf-tab-panel {
    display: none;

    max-width: 900px;

    padding: 30px 3px;

    color: var(--ghf-text-soft);

    font-size: 14px;

    line-height: 1.85;
}

.ghf-tab-panel.is-active {
    display: block;
}


/* ============================================================
   11. OCCASION SECTION
   ============================================================ */

.ghf-occasion {
    margin-top: 15px;

    padding: clamp(25px, 4vw, 40px);

    border-radius: var(--ghf-radius-lg);

    background:
        linear-gradient(
            180deg,
            #f8f3e8 0%,
            #f4eddd 100%
        );

    text-align: center;
}

.ghf-occasion h2 {
    margin: 0;

    color: var(--ghf-text);

    font-size: clamp(22px, 3vw, 30px);

    letter-spacing: -.025em;
}

.ghf-occasion p {
    margin: 7px auto 25px;

    max-width: 550px;

    color: var(--ghf-muted);

    font-size: 13px;
}

.ghf-occasion > div {
    display: grid;

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

    gap: 14px;
}

.ghf-occasion span {
    display: flex;
    flex-direction: column;

    gap: 7px;

    color: var(--ghf-gold);

    font-size: 25px;
}

.ghf-occasion b {
    color: var(--ghf-text);

    font-size: 11px;
}


/* ============================================================
   12. RELATED PRODUCTS
   ============================================================ */

.ghf-related {
    padding: 45px 0 70px;
}

.ghf-related h2 {
    margin: 0 0 22px;

    color: var(--ghf-text);

    font-size: 27px;

    letter-spacing: -.03em;
}


/* ============================================================
   13. SHOP PAGE
   ============================================================ */

.ghf-shop-page {
    padding-bottom: 80px;
}

.ghf-shop-head {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    padding: 50px 0 30px;
}

.ghf-shop-head h1 {
    margin: 8px 0 0;

    color: var(--ghf-text);

    font-size: clamp(34px, 4vw, 56px);

    line-height: 1;

    letter-spacing: -.045em;
}

.ghf-shop-tools {
    display: flex;
    align-items: center;

    gap: 18px;
}

.ghf-shop-tools .woocommerce-result-count {
    margin: 0;

    color: var(--ghf-muted);

    font-size: 11px;
}

.ghf-shop-tools .woocommerce-ordering {
    margin: 0;
}

.ghf-shop-tools select {
    min-height: 43px;

    padding: 0 38px 0 13px;

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

    border-radius: var(--ghf-radius-sm);

    background: var(--ghf-white);

    color: var(--ghf-text);

    font-size: 12px;

    cursor: pointer;
}


/* ============================================================
   14. PRODUCT GRID
   ============================================================ */

.ghf-product-grid {
    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 38px 22px;

    margin: 0 !important;
}

.ghf-product-grid::before,
.ghf-product-grid::after {
    display: none !important;
}

.ghf-card {
    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    float: none !important;

    list-style: none;
}


/* ---------- Product image ---------- */

.ghf-card-image {
    position: relative;

    overflow: hidden;

    display: block;

    border-radius: var(--ghf-radius-md);

    background:
        radial-gradient(
            circle at center,
            #fff,
            var(--ghf-cream-light)
        );
}

.ghf-card-image img {
    display: block;

    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    transition:
        transform 450ms cubic-bezier(.2,.7,.2,1);
}

.ghf-card:hover .ghf-card-image img {
    transform: scale(1.035);
}

.ghf-card-sale {
    position: absolute;

    z-index: 2;

    top: 12px;
    left: 12px;

    padding: 6px 9px;

    border: 1px solid #eadcb8;

    border-radius: 999px;

    background: rgba(246, 238, 220, .96);

    color: #76561d;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .07em;

    text-transform: uppercase;
}


/* ---------- Product body ---------- */

.ghf-card-body {
    padding: 14px 2px 0;
}

.ghf-card-category {
    color: var(--ghf-green);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .11em;

    text-transform: uppercase;
}

.ghf-card-title {
    margin: 6px 0 5px !important;

    color: var(--ghf-text);

    font-size: 16px !important;
    font-weight: 700;

    line-height: 1.25;

    letter-spacing: -.015em;
}

.ghf-card-title a {
    color: inherit;

    text-decoration: none;

    transition:
        color var(--ghf-transition);
}

.ghf-card-title a:hover {
    color: var(--ghf-green);
}

.ghf-card-rating {
    color: var(--ghf-muted);

    font-size: 10px;
}

.ghf-card-rating span {
    color: var(--ghf-gold);

    letter-spacing: 1px;
}

.ghf-card-price {
    margin: 8px 0 11px;

    color: var(--ghf-text);

    font-size: 15px;

    font-weight: 800;
}

.ghf-card-price del {
    margin-right: 5px;

    color: #999;

    font-size: 12px;

    font-weight: 400;
}

.ghf-card-price ins {
    color: var(--ghf-green);

    text-decoration: none;
}

.ghf-card-action .button {
    width: 100%;

    min-height: 42px;

    margin: 0 !important;

    padding: 0 12px !important;

    border: 1px solid var(--ghf-border-dark) !important;

    border-radius: var(--ghf-radius-sm);

    background: var(--ghf-white) !important;

    color: var(--ghf-text) !important;

    font-size: 11px !important;
    font-weight: 800 !important;
}

.ghf-card-action .button:hover {
    border-color: var(--ghf-green) !important;

    background: var(--ghf-green) !important;

    color: #fff !important;

    transform: translateY(-1px);

    box-shadow: 0 7px 18px rgba(49, 92, 59, .12);
}


/* ============================================================
   15. PAGINATION
   ============================================================ */

.woocommerce nav.woocommerce-pagination {
    margin-top: 50px;
}

.woocommerce nav.woocommerce-pagination ul {
    display: flex;

    justify-content: center;

    gap: 6px;

    margin: 0;

    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    min-width: 40px;

    padding: 10px 13px;

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

    border-radius: var(--ghf-radius-sm);

    color: var(--ghf-text);

    background: var(--ghf-white);

    font-size: 11px;

    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    border-color: var(--ghf-green);

    background: var(--ghf-green);

    color: #fff;
}


/* ============================================================
   16. CART
   ============================================================ */

.ghf-cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(320px, .7fr);

    gap: 45px;

    align-items: start;
}

.ghf-cart-items {
    border-top: 1px solid var(--ghf-border);
}

.ghf-cart-item {
    display: grid;

    grid-template-columns:
        110px
        minmax(0, 1fr)
        100px
        110px
        35px;

    gap: 18px;

    align-items: center;

    padding: 20px 0;

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

.ghf-cart-thumb img {
    display: block;

    width: 110px;
    height: 110px;

    object-fit: cover;

    border-radius: var(--ghf-radius-md);
}

.ghf-cart-main h2 {
    margin: 0 0 6px;

    color: var(--ghf-text);

    font-size: 16px;

    letter-spacing: -.015em;
}

.ghf-cart-main h2 a {
    color: inherit;

    text-decoration: none;
}

.ghf-cart-meta {
    color: var(--ghf-muted);

    font-size: 11px;
}

.ghf-cart-unit {
    margin-top: 9px;

    color: var(--ghf-text-soft);

    font-size: 12px;
}

.ghf-cart-qty .quantity .qty {
    width: 78px;

    height: 42px;

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

    border-radius: var(--ghf-radius-sm);

    background: #fff;

    text-align: center;

    font-size: 12px;
}

.ghf-cart-subtotal {
    color: var(--ghf-text);

    font-size: 13px;

    font-weight: 800;
}

.ghf-cart-remove .remove {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border-radius: 50%;

    color: var(--ghf-muted);

    font-size: 22px;

    text-decoration: none;

    transition:
        background-color var(--ghf-transition),
        color var(--ghf-transition);
}

.ghf-cart-remove .remove:hover {
    background: #f5e9e7;

    color: var(--ghf-danger);
}


/* ============================================================
   17. CART SUMMARY
   ============================================================ */

.ghf-cart-summary {
    position: sticky;

    top: 25px;

    padding: 25px;

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

    border-radius: var(--ghf-radius-lg);

    background: var(--ghf-surface);

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

.ghf-cart-summary > h2 {
    display: none;
}

.ghf-totals h3 {
    margin: 0 0 18px;

    color: var(--ghf-text);

    font-size: 21px;

    letter-spacing: -.025em;
}

.ghf-total-row {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 11px 0;

    border-bottom: 1px solid #e5e1d7;

    color: var(--ghf-text-soft);

    font-size: 12px;
}

.ghf-total-row strong {
    color: var(--ghf-text);

    text-align: right;
}

.ghf-grand-total {
    padding-top: 17px;

    border-bottom: 0;

    color: var(--ghf-text);

    font-size: 18px;

    font-weight: 800;
}

.ghf-totals .checkout-button {
    width: 100%;

    min-height: 49px;

    margin: 10px 0 0 !important;

    border-radius: var(--ghf-radius-sm);

    background: var(--ghf-green) !important;

    color: #fff !important;

    font-size: 12px;

    font-weight: 800;
}

.ghf-totals .checkout-button:hover {
    background: var(--ghf-green-dark) !important;

    transform: translateY(-1px);

    box-shadow: 0 8px 22px rgba(49, 92, 59, .14);
}

.ghf-coupon {
    margin-top: 14px;
}

.ghf-coupon form {
    display: flex;

    gap: 7px;
}

.ghf-coupon input {
    min-width: 0;

    flex: 1;

    padding: 10px 11px;

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

    border-radius: var(--ghf-radius-sm);

    background: #fff;
}

.ghf-coupon button {
    padding: 0 13px;

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

    border-radius: var(--ghf-radius-sm);

    background: #fff;

    color: var(--ghf-text);

    font-size: 11px;

    font-weight: 700;
}

.ghf-coupon button:hover {
    border-color: var(--ghf-green);
}

.ghf-cart-update {
    margin-top: 12px;
}

.ghf-cart-update .button {
    width: 100%;

    min-height: 42px;

    border: 1px solid var(--ghf-border-dark) !important;

    border-radius: var(--ghf-radius-sm);

    background: #fff !important;

    color: var(--ghf-text) !important;

    font-size: 11px;
    font-weight: 700;
}


/* ============================================================
   18. CHECKOUT
   ============================================================ */

.ghf-checkout-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(350px, .75fr);

    gap: 35px;

    align-items: start;

    padding-bottom: 80px;
}

.ghf-checkout-section {
    margin-bottom: 18px;

    padding: 25px;

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

    border-radius: var(--ghf-radius-lg);

    background: var(--ghf-white);
}

.ghf-checkout-section h2 {
    margin: 0 0 20px;

    color: var(--ghf-text);

    font-size: 20px;

    letter-spacing: -.025em;
}

.ghf-checkout-section .form-row {
    margin-bottom: 15px;
}

.ghf-checkout-section label {
    display: block;

    margin-bottom: 7px;

    color: var(--ghf-text);

    font-size: 11px;

    font-weight: 800;
}

.ghf-checkout-section input,
.ghf-checkout-section select,
.ghf-checkout-section textarea {
    min-height: 46px;

    width: 100%;

    padding: 0 12px;

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

    border-radius: var(--ghf-radius-sm);

    background: #fff;

    color: var(--ghf-text);

    font-size: 13px;

    transition:
        border-color var(--ghf-transition),
        box-shadow var(--ghf-transition);
}

.ghf-checkout-section textarea {
    min-height: 110px;

    padding: 12px;
}

.ghf-checkout-section input:focus,
.ghf-checkout-section select:focus,
.ghf-checkout-section textarea:focus {
    border-color: var(--ghf-green);

    box-shadow:
        0 0 0 3px rgba(49, 92, 59, .08);

    outline: none;
}


/* ============================================================
   19. ORDER REVIEW
   ============================================================ */

.ghf-review-section {
    position: sticky;

    top: 20px;

    background: var(--ghf-surface);
}

.ghf-review-table {
    border: 0 !important;

    margin: 0 !important;
}

.ghf-review-table th,
.ghf-review-table td {
    padding: 13px 0 !important;

    border: 0 !important;

    border-bottom: 1px solid #e4e0d5 !important;

    background: transparent !important;

    color: var(--ghf-text-soft);

    font-size: 12px;
}

.ghf-review-table tfoot .order-total th,
.ghf-review-table tfoot .order-total td {
    padding-top: 18px !important;

    border-bottom: 0 !important;

    color: var(--ghf-text);

    font-size: 18px;

    font-weight: 800;
}


/* ============================================================
   20. PAYMENT
   ============================================================ */

.ghf-payment {
    margin-top: 18px;
}

.ghf-payment ul {
    list-style: none;

    margin: 0;
    padding: 0;
}

.ghf-payment .wc_payment_method {
    padding: 13px 0;

    border-bottom: 1px solid #e4e0d5;
}

.ghf-payment .payment_box {
    margin: 10px 0 0;

    padding: 13px;

    border-radius: var(--ghf-radius-sm);

    background: #fff;

    color: var(--ghf-muted);

    font-size: 11px;

    line-height: 1.6;
}

.ghf-payment #place_order {
    width: 100%;

    min-height: 52px;

    margin-top: 15px;

    border: 0;

    border-radius: var(--ghf-radius-sm);

    background: var(--ghf-green) !important;

    color: #fff !important;

    font-size: 12px;

    font-weight: 800;
}

.ghf-payment #place_order:hover {
    background: var(--ghf-green-dark) !important;

    transform: translateY(-1px);
}


/* ============================================================
   21. THANK YOU / ORDER RESULT
   ============================================================ */

.ghf-thankyou {
    max-width: 760px;

    margin: 60px auto 90px;

    padding: 55px 30px;

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

    border-radius: var(--ghf-radius-xl);

    background:
        radial-gradient(
            circle at top,
            #fff,
            var(--ghf-cream-light)
        );

    text-align: center;

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

.ghf-result-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--ghf-green);

    color: #fff;

    font-size: 28px;

    box-shadow:
        0 8px 24px rgba(49, 92, 59, .16);
}

.ghf-result-icon.ghf-failed {
    background: var(--ghf-danger);
}

.ghf-thankyou h2 {
    margin: 0 0 10px;

    color: var(--ghf-text);

    font-size: 32px;

    letter-spacing: -.035em;
}

.ghf-order-meta {
    display: grid;

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

    gap: 10px;

    margin: 28px 0 0;

    padding: 0;

    list-style: none;
}

.ghf-order-meta li {
    padding: 12px;

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

    border-radius: var(--ghf-radius-sm);

    background: rgba(255,255,255,.7);

    color: var(--ghf-muted);

    font-size: 10px;
}

.ghf-order-meta strong {
    display: block;

    margin-top: 5px;

    color: var(--ghf-text);

    font-size: 12px;
}


/* ============================================================
   22. MY ACCOUNT / LOGIN
   ============================================================ */

.ghf-account-auth {
    min-height: 60vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 60px 20px;
}

.ghf-auth-card {
    width: min(470px, 100%);

    padding: 35px;

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

    border-radius: var(--ghf-radius-xl);

    background: #fff;

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

.ghf-auth-card h2 {
    margin: 5px 0 24px;

    color: var(--ghf-text);

    font-size: 32px;

    letter-spacing: -.04em;
}

.ghf-auth-card input.input-text {
    width: 100%;

    min-height: 46px;

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

    border-radius: var(--ghf-radius-sm);
}

.ghf-auth-card .button {
    width: 100%;

    min-height: 48px;

    border: 0;

    border-radius: var(--ghf-radius-sm);

    background: var(--ghf-green) !important;

    color: #fff !important;

    font-weight: 800;
}

.ghf-auth-card .button:hover {
    background: var(--ghf-green-dark) !important;
}

.ghf-auth-card .lost_password {
    text-align: center;

    font-size: 11px;
}


/* ============================================================
   23. EMPTY STATES / MESSAGES
   ============================================================ */

.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    border: 1px solid var(--ghf-border) !important;

    border-radius: var(--ghf-radius-md) !important;

    background: var(--ghf-surface) !important;

    color: var(--ghf-text-soft) !important;

    font-size: 12px;
}

.woocommerce-error {
    border-color: #edd5d2 !important;

    background: #fff5f4 !important;

    color: var(--ghf-danger) !important;
}


/* ============================================================
   24. RESPONSIVE — TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .ghf-wrap {
        width: min(
            var(--ghf-container),
            calc(100% - 36px)
        );
    }

    .ghf-product-hero {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(340px, .9fr);

        gap: 35px;
    }

    .ghf-product-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .ghf-cart-layout,
    .ghf-checkout-layout {
        grid-template-columns: 1fr;
    }

    .ghf-cart-summary,
    .ghf-review-section {
        position: static;
    }

}


/* ============================================================
   25. RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 760px) {

    .ghf-wrap {
        width: calc(100% - 24px);
    }

    .ghf-page-heading {
        padding: 35px 0 25px;
    }

    .ghf-page-heading h1 {
        font-size: 36px;
    }

    /* Product */

    .ghf-product-hero {
        grid-template-columns: 1fr;

        gap: 25px;

        padding-bottom: 35px;
    }

    .ghf-product-info {
        position: static;

        max-width: 720px;
    }

    .ghf-product-title {
        font-size: 36px;
    }

    .ghf-price .price .amount {
        font-size: 30px;
    }

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

    .ghf-benefits > div:nth-child(2) {
        border-right: 0;
    }

    .ghf-benefits > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--ghf-border);
    }

    .ghf-delivery {
        align-items: flex-start;

        flex-wrap: wrap;
    }

    .ghf-pincode-form {
        width: 100%;

        margin-left: 0;
    }

    .ghf-pincode-form input {
        flex: 1;

        width: auto;
    }

    /* Trust */

    .ghf-trust {
        justify-content: flex-start;

        overflow-x: auto;

        gap: 25px;

        white-space: nowrap;

        scrollbar-width: none;
    }

    .ghf-trust::-webkit-scrollbar {
        display: none;
    }

    /* Shop */

    .ghf-shop-head {
        flex-direction: column;

        align-items: flex-start;

        gap: 18px;

        padding: 38px 0 25px;
    }

    .ghf-shop-tools {
        width: 100%;

        justify-content: space-between;
    }

    .ghf-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 30px 12px;
    }

    .ghf-card-title {
        font-size: 14px !important;
    }

    /* Cart */

    .ghf-cart-item {
        grid-template-columns:
            82px
            minmax(0, 1fr)
            30px;

        gap: 12px;

        align-items: start;
    }

    .ghf-cart-thumb img {
        width: 82px;
        height: 82px;
    }

    .ghf-cart-qty {
        grid-column: 2;
    }

    .ghf-cart-subtotal {
        grid-column: 2;
    }

    .ghf-cart-remove {
        grid-column: 3;
        grid-row: 1;
    }

    .ghf-cart-main h2 {
        font-size: 14px;
    }

    .ghf-cart-summary {
        padding: 20px;
    }

    /* Checkout */

    .ghf-checkout-section {
        padding: 20px;
    }

    /* Occasion */

    .ghf-occasion > div {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Order */

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

}


/* ============================================================
   26. RESPONSIVE — SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .ghf-wrap {
        width: calc(100% - 20px);
    }

    .ghf-page-heading {
        padding: 28px 0 20px;
    }

    .ghf-product-title {
        font-size: 31px;
    }

    .ghf-price .price .amount {
        font-size: 27px;
    }

    /* Product actions */

    .ghf-secondary-actions {
        grid-template-columns: 1fr;
    }

    .ghf-add-to-cart form.cart,
    .ghf-add-to-cart .woocommerce-variation-add-to-cart {
        display: grid;

        grid-template-columns:
            86px
            minmax(0, 1fr);

        gap: 8px;
    }

    .ghf-add-to-cart .quantity,
    .ghf-add-to-cart .quantity .qty {
        width: 100%;
    }

    .ghf-add-to-cart .single_add_to_cart_button {
        width: 100%;

        padding-inline: 10px !important;
    }

    /* Gallery */

    .ghf-thumbs {
        grid-template-columns: repeat(4, 1fr);

        gap: 8px;
    }

    /* Benefits */

    .ghf-benefits {
        grid-template-columns: 1fr 1fr;
    }

    /* Shop */

    .ghf-shop-tools {
        align-items: flex-start;

        flex-direction: column;

        gap: 9px;
    }

    .ghf-shop-tools select {
        width: 100%;
    }

    .ghf-product-grid {
        gap: 26px 10px;
    }

    .ghf-card-title {
        font-size: 13px !important;
    }

    .ghf-card-price {
        font-size: 14px;
    }

    .ghf-card-action .button {
        min-height: 40px;

        font-size: 10px !important;
    }

    /* Cart */

    .ghf-cart-item {
        grid-template-columns:
            68px
            minmax(0, 1fr)
            24px;

        gap: 10px;
    }

    .ghf-cart-thumb img {
        width: 68px;
        height: 68px;
    }

    .ghf-cart-summary {
        padding: 16px;
    }

    /* Checkout */

    .ghf-checkout-section {
        padding: 16px;
    }

    .ghf-checkout-section h2 {
        font-size: 18px;
    }

    /* Thank you */

    .ghf-thankyou {
        margin: 35px auto 60px;

        padding: 40px 18px;

        border-radius: var(--ghf-radius-lg);
    }

    .ghf-thankyou h2 {
        font-size: 27px;
    }

    .ghf-order-meta {
        grid-template-columns: 1fr 1fr;
    }

    /* Login */

    .ghf-auth-card {
        padding: 25px 20px;

        border-radius: var(--ghf-radius-lg);
    }

}


/* ============================================================
   27. ACCESSIBILITY / MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .ghf-wrap *,
    .ghf-wrap *::before,
    .ghf-wrap *::after {
        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

}