/* ==========================================================================
   Gayan Gold House — Storefront theme (Bootstrap 5.3)
   ========================================================================== */

:root {
    --ggh-gold: #c9a227;
    --ggh-gold-light: #e8c96a;
    --ggh-gold-pale: #f6e7b8;
    --ggh-gold-dark: #9a7413;
    --ggh-gold-gradient: linear-gradient(135deg, #f3d77e 0%, #c9a227 38%, #a37a17 62%, #e8c96a 100%);
    --ggh-black: #0d0d0d;
    --ggh-charcoal: #181818;
    --ggh-graphite: #262626;
    --ggh-cream: #fbf7ef;
    --ggh-ivory: #f4ecdc;
    --ggh-text: #2a2722;
    --ggh-muted: #6f695d;
    --ggh-border: #e9dfca;
    --ggh-radius: 14px;
    --ggh-shadow: 0 18px 40px -18px rgba(70, 50, 10, .28);
    --ggh-font-serif: "Playfair Display", Georgia, serif;
    --ggh-font-sans: "Jost", "Segoe UI", system-ui, sans-serif;

    --bs-primary: #c9a227;
    --bs-primary-rgb: 201, 162, 39;
    --bs-link-color: #9a7413;
    --bs-link-color-rgb: 154, 116, 19;
    --bs-link-hover-color: #6f530c;
    --bs-body-font-family: var(--ggh-font-sans);
    --bs-body-color: var(--ggh-text);
    --bs-body-bg: #fff;
    --bs-border-color: var(--ggh-border);
    --bs-focus-ring-color: rgba(201, 162, 39, .3);
}

body { font-weight: 400; letter-spacing: .01em; }
h1, h2, h3, h4, .font-serif { font-family: var(--ggh-font-serif); font-weight: 600; letter-spacing: -.01em; }
.text-gold { color: var(--ggh-gold) !important; }
.text-gold-dark { color: var(--ggh-gold-dark) !important; }
.text-muted-2 { color: var(--ggh-muted) !important; }
.bg-black { background: var(--ggh-black) !important; }
.bg-cream { background: var(--ggh-cream) !important; }
.bg-ivory { background: var(--ggh-ivory) !important; }
.text-gold-gradient {
    background: var(--ggh-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
::selection { background: var(--ggh-gold-pale); }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 500; letter-spacing: .04em; padding: .7rem 1.6rem; transition: all .25s ease; }
.btn-sm { padding: .4rem 1rem; }
.btn-gold {
    background: var(--ggh-gold-gradient);
    background-size: 160% 160%;
    color: #1a1407;
    border: 0;
    box-shadow: 0 10px 24px -12px rgba(201, 162, 39, .8);
}
.btn-gold:hover, .btn-gold:focus { background-position: 100% 0; color: #000; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(201, 162, 39, .95); }
.btn-outline-gold { border: 1.5px solid var(--ggh-gold); color: var(--ggh-gold-dark); background: transparent; }
.btn-outline-gold:hover { background: var(--ggh-gold); color: #111; }
.btn-outline-light-gold { border: 1.5px solid rgba(232, 201, 106, .6); color: var(--ggh-gold-light); }
.btn-outline-light-gold:hover { background: var(--ggh-gold-light); color: #111; }
.btn-dark { background: var(--ggh-black); border-color: var(--ggh-black); }
.btn-dark:hover { background: var(--ggh-graphite); }
.btn-primary { --bs-btn-bg: var(--ggh-gold); --bs-btn-border-color: var(--ggh-gold); --bs-btn-hover-bg: var(--ggh-gold-dark); --bs-btn-hover-border-color: var(--ggh-gold-dark); --bs-btn-color: #111; --bs-btn-hover-color: #fff; }

.form-control, .form-select { border-radius: 10px; padding: .7rem 1rem; border-color: var(--ggh-border); }
.form-control:focus, .form-select:focus { border-color: var(--ggh-gold); box-shadow: 0 0 0 .2rem rgba(201, 162, 39, .18); }
.form-check-input:checked { background-color: var(--ggh-gold); border-color: var(--ggh-gold); }
.form-label { font-weight: 500; font-size: .9rem; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ggh-black); color: #cfc6b2; font-size: .82rem; }
.topbar a { color: #cfc6b2; text-decoration: none; }
.topbar a:hover { color: var(--ggh-gold-light); }
.topbar .rate-pill { background: rgba(201, 162, 39, .12); border: 1px solid rgba(201, 162, 39, .35); color: var(--ggh-gold-light); border-radius: 999px; padding: .15rem .75rem; }

.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ggh-border); z-index: 1030; transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .35); }
.site-header .navbar-brand img { height: 64px; width: auto; transition: height .3s; }
.site-header.scrolled .navbar-brand img { height: 52px; }
.brand-name { font-family: var(--ggh-font-serif); font-size: 1.25rem; line-height: 1; color: var(--ggh-black); }
.brand-name small { display: block; font-family: var(--ggh-font-sans); font-size: .62rem; letter-spacing: .35em; color: var(--ggh-gold-dark); text-transform: uppercase; margin-top: 4px; }
.site-header .nav-link { color: var(--ggh-text); font-weight: 500; text-transform: uppercase; font-size: .84rem; letter-spacing: .12em; padding: .6rem 1rem !important; position: relative; }
.site-header .nav-link::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .25rem; height: 2px; background: var(--ggh-gold-gradient); transform: scaleX(0); transition: transform .3s; }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .nav-link.active, .site-header .nav-link:hover { color: var(--ggh-gold-dark); }
.header-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--ggh-text); font-size: 1.2rem; position: relative; transition: background .2s; }
.header-icon:hover { background: var(--ggh-ivory); color: var(--ggh-gold-dark); }
.cart-badge { position: absolute; top: 2px; right: 0; background: var(--ggh-gold); color: #111; font-size: .65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.cart-badge.bump { animation: bump .5s ease; }
@keyframes bump { 50% { transform: scale(1.4); } }

.mega-menu { min-width: 520px; border: 0; border-top: 3px solid var(--ggh-gold); border-radius: 0 0 var(--ggh-radius) var(--ggh-radius); box-shadow: var(--ggh-shadow); padding: 1.5rem; }
.mega-menu h6 { font-family: var(--ggh-font-sans); text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; color: var(--ggh-gold-dark); margin-bottom: .75rem; }
.mega-menu .dropdown-item { border-radius: 8px; padding: .45rem .75rem; font-size: .92rem; }
.mega-menu .dropdown-item:hover { background: var(--ggh-cream); color: var(--ggh-gold-dark); }
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
@media (max-width: 991.98px) {
    .mega-menu { min-width: 0; box-shadow: none; border-top: 0; padding: .5rem 1rem; }
    .site-header .navbar-brand img { height: 50px; }
}

.search-overlay .modal-content { background: rgba(13, 13, 13, .96); border: 0; }
.search-overlay input { background: transparent; border: 0; border-bottom: 2px solid var(--ggh-gold); color: #fff; font-size: 2rem; border-radius: 0; font-family: var(--ggh-font-serif); }
.search-overlay input:focus { background: transparent; color: #fff; box-shadow: none; }

/* ---------- Section helpers ---------- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; text-transform: uppercase; letter-spacing: .3em; font-size: .74rem; font-weight: 600; color: var(--ggh-gold-dark); }
.eyebrow::before, .eyebrow.both::after { content: ""; width: 28px; height: 1px; background: var(--ggh-gold); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: .6rem 0 1rem; }
.section-lead { color: var(--ggh-muted); max-width: 620px; }
.divider-ornament { display: flex; align-items: center; justify-content: center; gap: .75rem; color: var(--ggh-gold); }
.divider-ornament::before, .divider-ornament::after { content: ""; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, var(--ggh-gold)); }
.divider-ornament::after { transform: scaleX(-1); }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 75% 40%, rgba(201, 162, 39, .22), transparent 60%), radial-gradient(800px 500px at 10% 100%, rgba(201, 162, 39, .12), transparent 60%), var(--ggh-black); color: #f1ead9; overflow: hidden; padding: 90px 0 110px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0l40 40-40 40L0 40z' fill='none' stroke='%23c9a227' stroke-opacity='.06'/%3E%3C/svg%3E"); opacity: .9; pointer-events: none; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.05; color: #fff; }
.hero .lead { color: #c9c0ad; font-weight: 300; max-width: 520px; }
.hero-visual { position: relative; max-width: 480px; margin-inline: auto; }
.hero-arch { position: relative; border-radius: 240px 240px 24px 24px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid rgba(232, 201, 106, .45); padding: 14px; background: linear-gradient(180deg, rgba(201, 162, 39, .25), rgba(201, 162, 39, .02)); }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 226px 226px 14px 14px; }
.hero-ring { position: absolute; inset: -30px; border: 1px dashed rgba(232, 201, 106, .25); border-radius: 260px 260px 40px 40px; animation: float 8s ease-in-out infinite; pointer-events: none; }
.hero-badge { position: absolute; background: rgba(20, 18, 14, .85); backdrop-filter: blur(8px); border: 1px solid rgba(232, 201, 106, .35); border-radius: 14px; padding: .8rem 1rem; display: flex; gap: .75rem; align-items: center; color: #fff; box-shadow: 0 20px 40px -20px #000; animation: float 6s ease-in-out infinite; }
.hero-badge i { font-size: 1.5rem; color: var(--ggh-gold-light); }
.hero-badge small { color: #b9b09c; display: block; font-size: .72rem; }
.hero-badge.b1 { left: -40px; top: 22%; }
.hero-badge.b2 { right: -30px; bottom: 16%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-12px); } }
@media (max-width: 991.98px) { .hero-badge.b1 { left: 0; } .hero-badge.b2 { right: 0; } .hero { padding: 60px 0 80px; } }
.hero-stats { border-top: 1px solid rgba(232, 201, 106, .2); padding-top: 1.5rem; margin-top: 2.5rem; }
.hero-stats strong { font-family: var(--ggh-font-serif); font-size: 1.8rem; color: var(--ggh-gold-light); display: block; line-height: 1.1; }
.hero-stats span { font-size: .8rem; color: #a59d8b; text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Gold rate ---------- */
.gold-rate-bar { margin-top: -50px; position: relative; z-index: 3; }
.gold-rate-card { background: #fff; border-radius: 20px; box-shadow: var(--ggh-shadow); border: 1px solid var(--ggh-border); overflow: hidden; }
.gold-rate-card .rate-title { background: var(--ggh-gold-gradient); color: #1a1407; padding: 1.25rem 1.5rem; }
.gold-rate-card .rate { padding: 1.1rem 1.25rem; border-left: 1px solid var(--ggh-border); }
.gold-rate-card .rate .karat { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ggh-muted); }
.gold-rate-card .rate .value { font-family: var(--ggh-font-serif); font-size: 1.35rem; font-weight: 600; color: var(--ggh-black); }
@media (max-width: 767.98px) { .gold-rate-card .rate { border-left: 0; border-top: 1px solid var(--ggh-border); } }

/* ---------- Category tiles ---------- */
.category-tile { display: block; text-align: center; text-decoration: none; color: var(--ggh-text); }
.category-tile .img-wrap { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; padding: 6px; background: var(--ggh-gold-gradient); transition: transform .35s ease, box-shadow .35s; }
.category-tile .img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; transition: transform .6s; }
.category-tile:hover .img-wrap { transform: translateY(-6px); box-shadow: var(--ggh-shadow); }
.category-tile:hover img { transform: scale(1.06); }
.category-tile h3 { font-size: 1.15rem; margin: 1rem 0 .2rem; }
.category-tile small { color: var(--ggh-muted); }

/* ---------- Feature boxes ---------- */
.feature-box { text-align: center; padding: 2rem 1.25rem; border-radius: var(--ggh-radius); transition: background .3s, transform .3s; height: 100%; }
.feature-box:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--ggh-shadow); }
.feature-icon { width: 76px; height: 76px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.9rem; color: var(--ggh-gold-dark); background: #fff; border: 1px solid var(--ggh-gold-pale); box-shadow: inset 0 0 0 6px var(--ggh-cream); margin-bottom: 1rem; }
.feature-box h3 { font-size: 1.2rem; }
.feature-box p { color: var(--ggh-muted); font-size: .92rem; margin: 0; }

/* ---------- Product card ---------- */
.product-card { position: relative; background: #fff; border-radius: var(--ggh-radius); border: 1px solid var(--ggh-border); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease, border-color .35s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--ggh-shadow); border-color: var(--ggh-gold-pale); }
.product-card .thumb { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ggh-cream); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.product-card:hover .thumb img { transform: scale(1.07); }
.product-card .badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge-gold { background: var(--ggh-gold-gradient); color: #1a1407; font-weight: 600; letter-spacing: .05em; border-radius: 999px; padding: .35em .8em; font-size: .7rem; }
.badge-dark { background: var(--ggh-black); color: var(--ggh-gold-light); border-radius: 999px; padding: .35em .8em; font-size: .7rem; font-weight: 500; }
.product-card .quick-actions { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; opacity: 0; transform: translateY(12px); transition: all .35s ease; z-index: 2; }
.product-card:hover .quick-actions { opacity: 1; transform: translateY(0); }
@media (hover: none) { .product-card .quick-actions { opacity: 1; transform: none; } }
.product-card .quick-actions .btn { flex: 1; padding: .55rem .5rem; font-size: .8rem; }
.product-card .quick-actions .btn-icon { flex: 0 0 42px; background: #fff; color: var(--ggh-text); border: 1px solid var(--ggh-border); }
.product-card .body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product-card .meta { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ggh-gold-dark); }
.product-card h3 { font-size: 1.05rem; margin: .35rem 0 .6rem; line-height: 1.35; }
.product-card h3 a { color: var(--ggh-black); text-decoration: none; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card .price { margin-top: auto; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.price-now { font-weight: 600; font-size: 1.08rem; color: var(--ggh-black); }
.price-old { color: #a39b8a; text-decoration: line-through; font-size: .88rem; }

/* ---------- Collections ---------- */
.collection-card { position: relative; display: block; border-radius: 20px; overflow: hidden; min-height: 420px; color: #fff; text-decoration: none; background: var(--ggh-black); isolation: isolate; }
.collection-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s ease; opacity: .9; }
.collection-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .85)); z-index: -1; }
.collection-card:hover img { transform: scale(1.07); }
.collection-card .content { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem; }
.collection-card h3 { font-size: 1.9rem; color: #fff; }
.collection-card .link { color: var(--ggh-gold-light); letter-spacing: .15em; text-transform: uppercase; font-size: .78rem; }
.collection-card .frame { position: absolute; inset: 14px; border: 1px solid rgba(232, 201, 106, .35); border-radius: 14px; pointer-events: none; }

/* ---------- Dark section & services ---------- */
.section-dark { background: radial-gradient(900px 400px at 85% 0%, rgba(201, 162, 39, .16), transparent 60%), var(--ggh-black); color: #ddd5c3; }
.section-dark .section-title { color: #fff; }
.section-dark .section-lead { color: #a8a090; }
.service-card { background: var(--ggh-charcoal); border: 1px solid rgba(232, 201, 106, .14); border-radius: 18px; padding: 2rem; height: 100%; transition: border-color .3s, transform .3s; }
.service-card:hover { border-color: rgba(232, 201, 106, .55); transform: translateY(-4px); }
.service-card .icon { width: 58px; height: 58px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(201, 162, 39, .12); color: var(--ggh-gold-light); font-size: 1.6rem; margin-bottom: 1.25rem; }
.service-card h3 { color: #fff; font-size: 1.3rem; }
.service-card p { color: #a8a090; }

.customize-card { position: relative; border-radius: 20px; overflow: hidden; background: var(--ggh-cream); border: 1px solid var(--ggh-border); padding: 2.5rem; height: 100%; display: flex; gap: 1.5rem; align-items: center; }
.customize-card img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 6px solid #fff; box-shadow: var(--ggh-shadow); }
@media (max-width: 575.98px) { .customize-card { flex-direction: column; text-align: center; padding: 2rem 1.5rem; } }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border-radius: 18px; padding: 2rem; border: 1px solid var(--ggh-border); height: 100%; }
.testimonial .stars { color: var(--ggh-gold); }
.testimonial blockquote { font-family: var(--ggh-font-serif); font-size: 1.1rem; font-style: italic; color: var(--ggh-text); }

/* ---------- CTA ---------- */
.cta-band { background: var(--ggh-gold-gradient); border-radius: 24px; padding: 3rem; position: relative; overflow: hidden; color: #1a1407; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .18); }
.cta-band h2 { color: #110d04; }

/* ---------- Page hero ---------- */
.page-hero { background: radial-gradient(700px 300px at 80% 0%, rgba(201, 162, 39, .25), transparent 60%), var(--ggh-black); color: #fff; padding: 70px 0 60px; text-align: center; position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .breadcrumb { justify-content: center; margin: 0; --bs-breadcrumb-divider-color: #8c8574; --bs-breadcrumb-item-active-color: var(--ggh-gold-light); }
.page-hero .breadcrumb a { color: #c9c0ad; text-decoration: none; }

/* ---------- Shop ---------- */
.filter-card { background: #fff; border: 1px solid var(--ggh-border); border-radius: var(--ggh-radius); padding: 1.5rem; }
.filter-card h6 { font-family: var(--ggh-font-sans); text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; color: var(--ggh-gold-dark); margin-bottom: .9rem; }
.filter-list a { display: flex; justify-content: space-between; padding: .45rem 0; color: var(--ggh-text); text-decoration: none; border-bottom: 1px dashed var(--ggh-border); font-size: .95rem; }
.filter-list a:hover, .filter-list a.active { color: var(--ggh-gold-dark); }
.filter-list a.active { font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: .3rem; border: 1px solid var(--ggh-border); border-radius: 999px; padding: .3rem .85rem; font-size: .85rem; color: var(--ggh-text); text-decoration: none; background: #fff; }
.chip.active, .chip:hover { background: var(--ggh-black); color: var(--ggh-gold-light); border-color: var(--ggh-black); }
.pagination { --bs-pagination-active-bg: var(--ggh-gold); --bs-pagination-active-border-color: var(--ggh-gold); --bs-pagination-color: var(--ggh-text); --bs-pagination-hover-color: var(--ggh-gold-dark); --bs-pagination-active-color: #111; --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(201, 162, 39, .25); }

/* ---------- Product page ---------- */
.product-gallery .main { border-radius: 20px; overflow: hidden; background: var(--ggh-cream); border: 1px solid var(--ggh-border); aspect-ratio: 1; }
.product-gallery .main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; cursor: zoom-in; }
.product-gallery .main:hover img { transform: scale(1.15); }
.product-gallery .thumbs button { width: 82px; height: 82px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--ggh-cream); }
.product-gallery .thumbs button.active { border-color: var(--ggh-gold); }
.product-gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.spec-table td { padding: .6rem 0; border-bottom: 1px dashed var(--ggh-border); }
.spec-table td:first-child { color: var(--ggh-muted); width: 40%; }
.qty-input { display: inline-flex; align-items: center; border: 1px solid var(--ggh-border); border-radius: 999px; overflow: hidden; background: #fff; }
.qty-input button { border: 0; background: transparent; width: 42px; height: 46px; font-size: 1.1rem; }
.qty-input button:hover { background: var(--ggh-cream); }
.qty-input input { width: 50px; text-align: center; border: 0; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty-input input::-webkit-outer-spin-button, .qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.assurance { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; }
.assurance i { color: var(--ggh-gold-dark); font-size: 1.3rem; }
.product-description ul { padding-left: 1.2rem; }

/* ---------- Cart & checkout ---------- */
.cart-table img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--ggh-cream); }
.summary-card { background: var(--ggh-cream); border: 1px solid var(--ggh-border); border-radius: 18px; padding: 1.75rem; position: sticky; top: 110px; }
.summary-card .row-line { display: flex; justify-content: space-between; padding: .5rem 0; }
.summary-card .total { border-top: 1px solid var(--ggh-border); margin-top: .5rem; padding-top: 1rem; font-size: 1.2rem; font-weight: 600; }
.checkout-step { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.checkout-step span { width: 30px; height: 30px; border-radius: 50%; background: var(--ggh-black); color: var(--ggh-gold-light); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.payment-option { border: 1.5px solid var(--ggh-border); border-radius: 14px; padding: 1rem 1.15rem; cursor: pointer; transition: border-color .2s, background .2s; display: block; }
.payment-option:has(input:checked) { border-color: var(--ggh-gold); background: #fffaf0; }
.payhere-logos img { height: 26px; }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state .icon { width: 110px; height: 110px; border-radius: 50%; background: var(--ggh-cream); display: inline-flex; align-items: center; justify-content: center; font-size: 2.8rem; color: var(--ggh-gold); margin-bottom: 1.5rem; }

/* ---------- Account / auth ---------- */
.auth-card { background: #fff; border: 1px solid var(--ggh-border); border-radius: 22px; box-shadow: var(--ggh-shadow); overflow: hidden; }
.auth-side { background: radial-gradient(500px 300px at 50% 0%, rgba(201, 162, 39, .35), transparent 70%), var(--ggh-black); color: #ddd5c3; padding: 3rem; }
.account-nav .list-group-item { border: 0; border-radius: 10px !important; margin-bottom: 4px; }
.account-nav .list-group-item.active { background: var(--ggh-black); color: var(--ggh-gold-light); }

/* ---------- Contact ---------- */
.contact-info-card { background: var(--ggh-black); color: #ddd5c3; border-radius: 20px; padding: 2.25rem; height: 100%; }
.contact-info-card .item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-card .item i { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: rgba(201, 162, 39, .14); color: var(--ggh-gold-light); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.contact-info-card a { color: #fff; text-decoration: none; }
.contact-info-card a:hover { color: var(--ggh-gold-light); }
.map-frame { border-radius: 20px; overflow: hidden; border: 1px solid var(--ggh-border); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.3) sepia(.15); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ggh-black); color: #a8a090; padding-top: 80px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--ggh-gold-gradient); }
.site-footer h5 { color: #fff; font-family: var(--ggh-font-serif); font-size: 1.15rem; margin-bottom: 1.25rem; }
.site-footer a { color: #a8a090; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--ggh-gold-light); }
.site-footer ul li { margin-bottom: .6rem; }
.footer-logo { width: 110px; height: 110px; border-radius: 50%; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(232, 201, 106, .3); display: inline-flex; align-items: center; justify-content: center; color: var(--ggh-gold-light); margin-right: .4rem; }
.social-links a:hover { background: var(--ggh-gold); color: #111; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.25rem 0; margin-top: 60px; font-size: .85rem; }
.pay-badges span { display: inline-flex; align-items: center; height: 30px; padding: 0 .65rem; border-radius: 6px; background: #1d1d1d; border: 1px solid #2c2c2c; color: #ddd; font-size: .72rem; font-weight: 600; letter-spacing: .05em; margin-left: .35rem; }

/* ---------- Floating widgets ---------- */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; z-index: 1040; box-shadow: 0 10px 25px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2s infinite; }
@keyframes pulse { to { transform: scale(1.6); opacity: 0; } }
.back-to-top { position: fixed; right: 30px; bottom: 92px; width: 42px; height: 42px; border-radius: 50%; background: var(--ggh-black); color: var(--ggh-gold-light); border: 1px solid rgba(232, 201, 106, .4); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s; z-index: 1040; }
.back-to-top.show { opacity: 1; visibility: visible; }
.toast-container { z-index: 1090; }
.toast.ggh-toast { background: var(--ggh-black); color: #fff; border: 1px solid rgba(232, 201, 106, .4); border-radius: 14px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation: none !important; }
}

@media (max-width: 575.98px) {
    .product-card .quick-actions { left: 8px; right: 8px; bottom: 8px; gap: 6px; }
    .product-card .quick-actions .btn { padding: .45rem; font-size: .9rem; }
    .product-card .quick-actions .btn-icon { flex: 0 0 38px; }
    .product-card .body { padding: .85rem .9rem 1rem; }
    .product-card h3 { font-size: .95rem; }
    .price-now { font-size: .98rem; }
    .section { padding: 64px 0; }
}
