/**
 * Theme Name:     Storefront Child
 * Author:         Automattic
 * Template:       storefront
 * Text Domain:	   storefront-child
 * Description:    Storefront is the perfect theme for your next WooCommerce project. Designed and developed by WooCommerce Core developers, it features a bespoke integration with WooCommerce itself plus many of the most popular customer facing WooCommerce extensions. There are several layout &amp; color options to personalise your shop, multiple widget regions, a responsive design and much more. Developers will love its lean and extensible codebase making it a joy to customize and extend. Looking for a WooCommerce theme? Look no further!
 */
/*
Theme Name: The Gioi Hoa Hong
Theme URI: https://www.thegioihoahong.com/
Description: Child Theme dành riêng cho Thế Giới Hoa Hồng
Author: The Gioi Hoa Hong
Template: storefront
Version: 1.0.0
Text Domain: thegioihoahong
*/

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

:root {
    --tgh-green: #19392A;
    --tgh-green-dark: #10271D;
    --tgh-green-light: #315542;

    --tgh-cream: #F8F6F1;
    --tgh-beige: #E8E0D4;
    --tgh-gold: #B99A72;

    --tgh-text: #252525;
    --tgh-muted: #777777;

    --tgh-white: #ffffff;

    --tgh-radius: 4px;
    --tgh-container: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--tgh-text);
    background: #fff;
    font-family:
        "Inter",
        "Helvetica Neue",
        Arial,
        sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--tgh-green);
}

a:hover {
    color: var(--tgh-green-dark);
}

/* =========================================================
   CONTAINER
========================================================= */

.tgh-container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================================
   TOP BAR
========================================================= */

.tgh-topbar {
    background: var(--tgh-green);
    color: #fff;
    font-size: 13px;
}

.tgh-topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.tgh-topbar a {
    color: #fff;
    text-decoration: none;
}

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

.tgh-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.tgh-header-main {
    min-height: 92px;
    display: grid;
    grid-template-columns: 220px 1fr 260px;
    align-items: center;
    gap: 30px;
}

.tgh-logo img {
    max-height: 62px;
    width: auto;
}

.tgh-search {
    position: relative;
}

.tgh-search input {
    width: 100%;
    height: 46px;
    border: 1px solid #ddd;
    padding: 0 50px 0 18px;
    border-radius: 3px;
    box-sizing: border-box;
}

.tgh-search button {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 46px;
    border: 0;
    background: var(--tgh-green);
    color: #fff;
    cursor: pointer;
}

.tgh-header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
}

.tgh-action {
    text-align: center;
    text-decoration: none;
    color: var(--tgh-text);
    font-size: 12px;
}

.tgh-action-icon {
    display: block;
    font-size: 22px;
    margin-bottom: 4px;
}

/* =========================================================
   NAVIGATION
========================================================= */

.tgh-nav {
    border-top: 1px solid #f1f1f1;
}

.tgh-nav-inner {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tgh-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 34px;
}

.tgh-menu > li > a {
    display: block;
    padding: 17px 0;
    color: var(--tgh-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.tgh-menu > li > a:hover {
    color: var(--tgh-green);
}

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

.tgh-hero {
    min-height: 620px;
    background:
        linear-gradient(
            90deg,
            rgba(20, 42, 31, .82),
            rgba(20, 42, 31, .18)
        ),
        url('/wp-content/uploads/hero-hoa-kho.jpg')
        center center / cover no-repeat;

    display: flex;
    align-items: center;
}

.tgh-hero-content {
    max-width: 620px;
    color: #fff;
}

.tgh-hero-eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.tgh-hero h1 {
    color: #fff;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    margin: 0 0 25px;
    font-weight: 500;
}

.tgh-hero p {
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.tgh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
    transition: .25s ease;
}

.tgh-btn-primary {
    background: #fff;
    color: var(--tgh-green);
}

.tgh-btn-primary:hover {
    background: var(--tgh-beige);
    color: var(--tgh-green-dark);
}

/* =========================================================
   USP
========================================================= */

.tgh-usp {
    border-bottom: 1px solid #eee;
}

.tgh-usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.tgh-usp-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid #eee;
}

.tgh-usp-item:last-child {
    border-right: 0;
}

.tgh-usp-icon {
    font-size: 26px;
    margin-bottom: 10px;
}

.tgh-usp-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.tgh-usp-text {
    color: var(--tgh-muted);
    font-size: 13px;
}

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

.tgh-section {
    padding: 85px 0;
}

.tgh-section-cream {
    background: var(--tgh-cream);
}

.tgh-section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.tgh-section-heading span {
    display: block;
    color: var(--tgh-gold);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.tgh-section-heading h2 {
    margin: 0;
    font-size: 36px;
    font-weight: 500;
}

/* =========================================================
   GIFT OCCASIONS
========================================================= */

.tgh-occasion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.tgh-occasion {
    min-height: 150px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--tgh-text);
    border: 1px solid #eee;
    transition: .25s ease;
}

.tgh-occasion:hover {
    transform: translateY(-4px);
    border-color: var(--tgh-green);
}

.tgh-occasion-icon {
    display: block;
    font-size: 30px;
    margin-bottom: 12px;
}

.tgh-occasion-title {
    font-weight: 600;
}

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

.tgh-collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tgh-collection {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.tgh-collection img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.tgh-collection:hover img {
    transform: scale(1.04);
}

.tgh-collection-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 35px;
    color: #fff;
    background: linear-gradient(
        transparent,
        rgba(0,0,0,.75)
    );
}

.tgh-collection-overlay h3 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 27px;
}

.tgh-collection-overlay a {
    color: #fff;
    text-decoration: underline;
}

/* =========================================================
   BUDGET
========================================================= */

.tgh-budget-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.tgh-budget {
    padding: 30px 15px;
    text-align: center;
    background: #fff;
    border: 1px solid #ddd;
    text-decoration: none;
    color: var(--tgh-text);
}

.tgh-budget:hover {
    background: var(--tgh-green);
    color: #fff;
}

/* =========================================================
   SERVICES
========================================================= */

.tgh-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tgh-service {
    padding: 40px;
    background: var(--tgh-cream);
}

.tgh-service-icon {
    font-size: 35px;
    margin-bottom: 20px;
}

.tgh-service h3 {
    margin: 0 0 12px;
}

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

.tgh-footer {
    background: var(--tgh-green-dark);
    color: rgba(255,255,255,.8);
    padding: 70px 0 25px;
}

.tgh-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}

.tgh-footer h3 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 20px;
}

.tgh-footer a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
}

.tgh-footer a:hover {
    color: #fff;
}

.tgh-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tgh-footer li {
    margin-bottom: 10px;
    font-size: 14px;
}

.tgh-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 50px;
    padding-top: 20px;
    font-size: 13px;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .tgh-header-main {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 18px 0;
    }

    .tgh-logo {
        text-align: center;
    }

    .tgh-header-actions {
        justify-content: center;
    }

    .tgh-menu {
        gap: 18px;
        overflow-x: auto;
        width: 100%;
        justify-content: flex-start;
    }

    .tgh-menu > li > a {
        white-space: nowrap;
        font-size: 12px;
    }

    .tgh-hero {
        min-height: 560px;
    }

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

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

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

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

    .tgh-service-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 600px) {

    .tgh-container {
        width: min(100% - 28px, 1240px);
    }

    .tgh-topbar-inner {
        font-size: 11px;
        gap: 10px;
    }

    .tgh-topbar-inner span:nth-child(n+2) {
        display: none;
    }

    .tgh-hero {
        min-height: 520px;
    }

    .tgh-hero h1 {
        font-size: 40px;
    }

    .tgh-hero p {
        font-size: 16px;
    }

    .tgh-section {
        padding: 55px 0;
    }

    .tgh-section-heading h2 {
        font-size: 28px;
    }

    .tgh-usp-item {
        padding: 22px 10px;
    }

    .tgh-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}