
/*
 * 247gh storefront refresh
 * Presentation layer only: existing PHP routes, queries and form actions remain in place.
 */
:root {
    --gh-ink: #172033;
    --gh-muted: #687386;
    --gh-brand: #172f55;
    --gh-brand-dark: #102440;
    --gh-accent: #f0a43a;
    --gh-bg: #f7f8fa;
    --gh-line: #e7eaf0;
    --gh-card: #ffffff;
    --gh-radius: 16px;
    --gh-shadow: 0 10px 30px rgba(20, 35, 58, .07);
}
html { scroll-behavior: smooth; }
body {
    background: var(--gh-bg);
    color: var(--gh-ink);
    font-family: "Roboto", "Arial", sans-serif;
    font-size: 15px;
    line-height: 1.6;
}
a { transition: color .2s ease, background .2s ease, transform .2s ease; }
img { max-width: 100%; }
.container { max-width: 1200px; }

/* Slim utility bar */
.top {
    height: auto;
    min-height: 36px;
    background: var(--gh-brand-dark);
}
.top .left ul, .top .right ul { padding: 7px 0; margin: 0; }
.top .left ul li { font-size: 12px; color: #e9eef6; }
.top .right ul li a { color: #fff; opacity: .88; }
.top .right ul li a:hover { background: rgba(255,255,255,.16); opacity: 1; }

/* Header: logo, account links and search */
.header {
    background: #fff;
    border-bottom: 1px solid var(--gh-line);
    padding: 17px 0;
}
.header .inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}
.header .logo, .header .right, .header .search-area {
    display: block;
    float: none;
    height: auto;
    vertical-align: middle;
    padding: 8px 12px;
}
.header .logo { width: 25%; }
.header .logo img { height: auto; max-height: 76px; max-width: 210px; object-fit: contain; }
.header .right { width: 43%; }
.header .right ul {
    float: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0;
    margin: 0;
}
.header .right ul li {
    float: none;
    margin: 0;
    color: var(--gh-brand);
    font-size: 13px;
    white-space: nowrap;
}
.header .right ul li a { color: var(--gh-brand); font-weight: 600; }
.header .right ul li a:hover { color: #d98220; }
.header .search-area { width: 32%; }
.header .search-area form {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}
.header .search-area .form-group { width: auto; flex: 1; margin: 0; }
.header .search-area .form-control,
.header .navbar-form .search-top {
    width: 100%;
    height: 46px;
    border: 1px solid #e1e5eb;
    border-radius: 10px 0 0 10px;
    box-shadow: none;
    background: #f5f6f8;
    padding: 10px 15px;
}
.header .search-area button {
    width: auto;
    min-width: 82px;
    height: 46px;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: var(--gh-accent);
    color: #172033;
    font-weight: 700;
}
.header .search-area button:hover { background: #e89527; }

/* Navigation */
.nav, .menu-container { background: var(--gh-brand); }
.menu > ul > li > a {
    padding: 15px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .15px;
}
.menu > ul > li:hover { background: rgba(255,255,255,.12); }
.menu > ul > li > ul { border-radius: 0 0 12px 12px; box-shadow: var(--gh-shadow); }
.menu-mobile { padding: 13px 16px; font-weight: 600; }

/* Category strip added to homepage; category names still come from MySQL */
.gh-category-section { padding: 38px 0 24px; background: #fff; }
.gh-section-heading { margin-bottom: 20px; }
.gh-eyebrow {
    color: #d98220;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.gh-section-heading h2 {
    margin: 4px 0 3px;
    color: var(--gh-ink);
    font-size: 25px;
    font-weight: 800;
}
.gh-section-heading p { margin: 0; color: var(--gh-muted); }
.gh-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}
.gh-category-card {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    color: var(--gh-ink);
    background: #f7f8fa;
    border: 1px solid var(--gh-line);
    border-radius: 14px;
    font-weight: 700;
}
.gh-category-card:hover {
    color: var(--gh-brand);
    background: #fff8ed;
    border-color: #f3d6ad;
    transform: translateY(-2px);
}
.gh-category-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--gh-brand);
    background: #e7edf7;
    font-size: 19px;
}
.gh-category-arrow { margin-left: auto; color: #a0a8b5; }

/* Shared section headings and product cards */
.headline { margin-bottom: 28px; text-align: left; }
.headline h2 {
    margin: 0 0 5px;
    color: var(--gh-ink);
    font-size: 25px;
    font-weight: 800;
    text-transform: none;
}
.headline h3 { color: var(--gh-muted); font-size: 14px; }
.product { padding-top: 42px !important; padding-bottom: 42px !important; }
.product:nth-of-type(even) { background: #fff; }
.product .product-carousel { padding: 2px 1px 12px; }
.product .item {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--gh-line);
    border-radius: var(--gh-radius);
    background: var(--gh-card);
    box-shadow: 0 4px 16px rgba(20,35,58,.04);
    transition: transform .2s ease, box-shadow .2s ease;
}
.product .item:hover {
    transform: translateY(-4px);
    box-shadow: var(--gh-shadow);
}
.product .thumb { position: relative; overflow: hidden; background: #f1f2f4; }
.product .thumb .photo {
    height: 220px;
    background-color: #f1f2f4;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.product .thumb .overlay { display: none; }
.product .text {
    min-height: 145px;
    padding: 14px 15px 16px;
    background: #fff;
}
.product .text h3 {
    min-height: 42px;
    margin: 0 0 5px;
    text-align: left;
}
.product .text h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gh-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product .text h4 {
    margin: 5px 0;
    color: var(--gh-brand);
    text-align: left;
    font-size: 17px;
    font-weight: 800;
}
.product .text del { margin-left: 5px; color: #9aa2ae; font-size: 12px; font-weight: 400; }
.product .rating { color: #f2a52e; text-align: left; }
.product .text p { margin: 12px 0 0; text-align: left; }
.product .text p a {
    display: inline-block;
    border-radius: 8px;
    padding: 9px 13px;
    background: var(--gh-brand);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.product .text p a:hover { background: var(--gh-accent); color: #172033; }
.product .out-of-stock .inner { border-radius: 7px; background: #fff0f0; color: #b42318; }

/* Service / content / forms */
.service { padding: 42px 0; background: #fff; }
.service .item {
    height: 100%;
    padding: 24px 18px;
    border: 1px solid var(--gh-line);
    border-radius: 14px;
    background: #fff;
}
.service .item h3 { color: var(--gh-ink); font-size: 17px; font-weight: 700; }
.service .item p { color: var(--gh-muted); }
button, .btn { border-radius: 8px; }
.form-control, select.form-control, textarea.form-control {
    min-height: 43px;
    border: 1px solid #dce1e8;
    border-radius: 8px;
    box-shadow: none;
}
.form-control:focus {
    border-color: #91a8c8;
    box-shadow: 0 0 0 3px rgba(23,47,85,.08);
}
.btn-primary, .btn-danger, .btn-success, .btn-info {
    border: 0;
    border-radius: 8px;
    padding: 9px 16px;
}
.footer-bottom { padding: 22px 0; background: var(--gh-brand-dark); color: #eaf0f7; }
.footer-bottom a { color: #fff; }
.scrollup { border-radius: 50%; background: var(--gh-accent); color: #172033; }

/* Product detail and content pages inherit the same visual system */
.page, .page .content, .cart, .checkout, .customer-sidebar, .customer-content {
    border-radius: 12px;
}
table { background: #fff; }
table th { color: var(--gh-ink); }

/* Responsive refinements */
@media (max-width: 991px) {
    .header .logo { width: 25%; }
    .header .right { width: 75%; }
    .header .search-area { width: 100%; padding-top: 5px; }
    .header .right ul { justify-content: flex-end; }
    #bootstrap-touch-slider .item { min-height: 330px; }
}
@media (max-width: 767px) {
    .top .left, .top .right { float: none; text-align: center; }
    .top .left ul, .top .right ul { display: flex; justify-content: center; flex-wrap: wrap; padding: 5px 0; }
    .top .left ul li { float: none; margin: 0 7px; font-size: 11px; }
    .top .right ul li { float: none; margin: 0 4px; }
    .header { padding: 10px 0 13px; }
    .header .inner { display: flex; align-items: center; }
    .header .logo { width: 40%; padding: 5px 10px; }
    .header .logo img { max-height: 54px; max-width: 150px; }
    .header .right { width: 60%; padding: 5px 8px; }
    .header .right ul { justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
    .header .right ul li { font-size: 11px; }
    .header .search-area { width: 100%; padding: 8px 10px 0; }
    .header .search-area .form-control, .header .search-area button { height: 44px; }
    .nav { padding: 0; }
    .menu-mobile { font-size: 14px; }
    #bootstrap-touch-slider .item { min-height: 270px; }
    #bootstrap-touch-slider .slide-text { padding: 35px 15px; }
    #bootstrap-touch-slider .slide-text h1 { font-size: 28px; }
    #bootstrap-touch-slider .slide-text p { font-size: 13px; }
    .gh-category-section { padding: 27px 0 18px; }
    .gh-section-heading h2, .headline h2 { font-size: 21px; }
    .gh-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .gh-category-card { min-height: 72px; gap: 8px; padding: 10px; font-size: 12px; }
    .gh-category-icon { width: 38px; height: 38px; flex-basis: 38px; font-size: 16px; }
    .product { padding-top: 30px !important; padding-bottom: 30px !important; }
    .product .thumb .photo { height: 155px; }
    .product .text { min-height: 136px; padding: 11px; }
    .product .text h3 { min-height: 39px; }
    .product .text h3 a { font-size: 12px; }
    .product .text h4 { font-size: 15px; }
    .product .text p a { padding: 8px 9px; font-size: 11px; }
    .product .owl-controls { top: -48px; }
}
@media (max-width: 380px) {
    .header .right ul { gap: 7px; }
    .header .right ul li { font-size: 10px; }
    .product .thumb .photo { height: 130px; }
    .gh-category-card { padding: 8px; }
}

/* ===== 247GH final homepage/header navigation ===== */
.gh-header { background:#fff; border-bottom:1px solid var(--gh-line); position:relative; z-index:30; }
.gh-mainbar { background:#fff; }
.gh-mainbar-inner { min-height:78px; display:flex; align-items:center; gap:18px; }
.gh-all-trigger { border:0; background:transparent; color:var(--gh-ink); display:inline-flex; align-items:center; gap:8px; padding:10px 8px; font-size:16px; font-weight:700; }
.gh-all-trigger i { font-size:21px; }
.gh-all-trigger:hover { color:#c87919; }
.gh-logo { display:flex; align-items:center; margin-right:auto; }
.gh-logo img { max-width:190px; max-height:58px; object-fit:contain; }
.gh-header-actions { display:flex; align-items:center; gap:24px; }
.gh-account-link,.gh-cart-link { display:inline-flex; align-items:center; gap:8px; color:var(--gh-ink); font-weight:700; white-space:nowrap; }
.gh-account-link i { font-size:19px; }
.gh-cart-link:hover,.gh-account-link:hover { color:#c87919; }
.gh-cart-icon { position:relative; display:inline-block; font-size:23px; line-height:1; }
.gh-cart-icon b { position:absolute; top:-10px; right:-11px; min-width:18px; height:18px; padding:0 4px; display:flex; align-items:center; justify-content:center; border-radius:20px; background:var(--gh-accent); color:#172033; font-size:11px; }
.gh-searchbar { padding:0 0 12px; }
.gh-search-form { display:flex; width:100%; max-width:850px; margin:0 auto; border:1px solid #cbd2dc; border-radius:9px; overflow:hidden; background:#f7f8fa; }
.gh-search-form input { flex:1; min-width:0; height:46px; border:0; outline:0; padding:0 15px; background:transparent; box-shadow:none; }
.gh-search-form button { width:56px; border:0; background:var(--gh-accent); color:#172033; font-size:18px; }
.gh-quicknav { border-top:1px solid #f0f1f3; }
.gh-quicknav .container { min-height:42px; display:flex; align-items:center; justify-content:flex-start; gap:28px; }
.gh-quicknav a { color:#26364e; font-size:13px; font-weight:700; padding:10px 0; }
.gh-quicknav a:hover { color:#c87919; }

.gh-drawer-backdrop { position:fixed; inset:0; z-index:1000; background:rgba(8,17,31,.58); opacity:0; visibility:hidden; transition:opacity .25s ease,visibility .25s ease; }
.gh-drawer { position:fixed; z-index:1001; top:0; bottom:0; left:0; width:min(365px,88vw); overflow-y:auto; background:#fff; transform:translateX(-102%); transition:transform .28s ease; box-shadow:12px 0 35px rgba(0,0,0,.18); }
body.gh-drawer-open { overflow:hidden; }
body.gh-drawer-open .gh-drawer-backdrop { opacity:1; visibility:visible; }
body.gh-drawer-open .gh-drawer { transform:translateX(0); }
.gh-drawer-top { min-height:62px; display:flex; align-items:center; justify-content:space-between; padding:14px 20px; background:var(--gh-brand); color:#fff; font-size:17px; }
.gh-drawer-close { border:0; background:transparent; color:#fff; font-size:22px; padding:3px 7px; }
.gh-drawer-content { padding:8px 0 28px; }
.gh-drawer-content h3 { margin:0; padding:17px 20px 10px; border-bottom:1px solid #edf0f3; color:#1d2b40; font-size:15px; font-weight:800; }
.gh-drawer-category { border-bottom:1px solid #f0f1f3; }
.gh-drawer-category summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 20px; cursor:pointer; list-style:none; font-weight:700; color:#27364b; }
.gh-drawer-category summary::-webkit-details-marker { display:none; }
.gh-drawer-category summary i { font-size:11px; color:#758196; }
.gh-drawer-category[open] summary { color:#bd741c; }
.gh-drawer-category summary a { color:inherit; flex:1; }
.gh-drawer-subcategory { padding:0 20px 10px 32px; display:flex; flex-direction:column; gap:8px; }
.gh-drawer-subcategory>a:first-child { font-weight:700; color:#526176; }
.gh-drawer-subcategory .gh-drawer-end { padding-left:12px; color:#687386; font-size:13px; }
.gh-drawer-link { display:block; padding:11px 20px; color:#344258; border-bottom:1px solid #f4f5f7; }
.gh-drawer-link:hover,.gh-drawer-subcategory a:hover { color:#bd741c; }

/* Compact category cards with four real product images in a 2x2 layout */
.gh-category-section { padding:24px 0 18px; background:#f7f8fa; }
.gh-category-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.gh-category-card { min-width:0; padding:16px; background:#fff; border:1px solid var(--gh-line); border-radius:14px; box-shadow:0 4px 15px rgba(20,35,58,.045); }
.gh-category-card h2 { margin:0 0 12px; color:var(--gh-ink); font-size:17px; font-weight:800; }
.gh-category-photos { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.gh-category-photos a { display:flex; align-items:center; justify-content:center; height:112px; overflow:hidden; border-radius:8px; background:#f5f6f8; }
.gh-category-photos img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
.gh-category-more { display:inline-block; margin-top:12px; color:#176b9b; font-size:13px; font-weight:700; }
.gh-category-empty { grid-column:1/-1; margin:0; padding:25px 5px; color:var(--gh-muted); text-align:center; }
.gh-footer { padding:22px 15px; background:#102440; color:#fff; text-align:center; font-size:13px; }
.gh-footer .container { width:auto; }
.footer-bottom { display:none; }

@media(max-width:991px) {
 .gh-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:767px) {
 .gh-mainbar-inner { min-height:66px; gap:8px; padding-left:10px; padding-right:10px; }
 .gh-all-trigger { gap:5px; padding:8px 3px; font-size:14px; }
 .gh-all-trigger i { font-size:19px; }
 .gh-logo img { max-width:125px; max-height:46px; }
 .gh-header-actions { gap:13px; }
 .gh-account-link,.gh-cart-link { gap:4px; font-size:12px; }
 .gh-account-link i { font-size:17px; }
 .gh-cart-icon { font-size:20px; }
 .gh-searchbar { padding:0 10px 10px; }
 .gh-search-form input { height:43px; font-size:14px; }
 .gh-search-form button { width:48px; }
 .gh-quicknav .container { min-height:39px; gap:24px; padding-left:15px; }
 .gh-quicknav a { font-size:12px; }
 .gh-category-section { padding:16px 0; }
 .gh-category-grid { gap:10px; }
 .gh-category-card { padding:11px; border-radius:11px; }
 .gh-category-card h2 { font-size:14px; margin-bottom:9px; }
 .gh-category-photos { gap:6px; }
 .gh-category-photos a { height:82px; }
 .gh-category-more { margin-top:9px; font-size:12px; }
}
@media(max-width:370px) {
 .gh-mainbar-inner { gap:4px; }
 .gh-logo img { max-width:105px; }
 .gh-header-actions { gap:8px; }
 .gh-account-link,.gh-cart-link { font-size:11px; }
 .gh-category-photos a { height:68px; }
}
.gh-category-card { display:block; min-height:0; }


/* ===== 247GH refinement v2: text brand, linked drawer greeting, multi-column footer ===== */
.gh-logo { display:inline-flex; align-items:center; gap:5px; color:#172f55; font-size:25px; line-height:1; font-weight:800; letter-spacing:-.8px; text-decoration:none !important; white-space:nowrap; }
.gh-logo span { color:#d88b26; font-weight:900; }
.gh-logo:hover { color:#172f55; }
.gh-drawer-greeting { display:block; flex:1; color:#fff !important; font-weight:800; text-decoration:none !important; }
.gh-drawer-greeting:hover { color:#ffd18a !important; }
.gh-footer { padding:0; background:#102440; color:#fff; text-align:left; font-size:14px; }
.gh-footer-inner { width:100%; }
.gh-footer-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px; max-width:1000px; margin:0 auto; padding:38px 20px 32px; }
.gh-footer-column { display:flex; flex-direction:column; align-items:flex-start; gap:11px; }
.gh-footer-column h3 { margin:0 0 5px; color:#fff; font-size:16px; font-weight:800; }
.gh-footer-column a { color:#d9e1ec; font-size:13px; line-height:1.5; text-decoration:none; }
.gh-footer-column a:hover { color:#fff; text-decoration:underline; }
.gh-footer-bottom { border-top:1px solid rgba(255,255,255,.2); padding:17px 15px; color:#d9e1ec; text-align:center; font-size:12px; }
@media(max-width:767px) {
 .gh-logo { font-size:19px; letter-spacing:-.5px; }
 .gh-footer-columns { grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 18px; padding:30px 22px 25px; }
 .gh-footer-column h3 { font-size:14px; }
 .gh-footer-column a { font-size:12px; }
}
@media(max-width:380px) {
 .gh-logo { font-size:16px; }
 .gh-mainbar-inner { gap:5px; }
 .gh-footer-columns { grid-template-columns:1fr 1fr; gap:22px 12px; padding-left:15px; padding-right:15px; }
}

/* ===== 247GH Amazon-inspired compact single-row header refinement ===== */
.gh-mainbar { background:#172f49; }
.gh-mainbar-inner { min-height:66px; display:flex; align-items:center; gap:18px; }
.gh-logo { flex:0 0 auto; margin:0; color:#fff !important; font-size:27px; letter-spacing:-1px; }
.gh-logo:hover { color:#fff !important; }
.gh-delivery { flex:0 0 auto; display:flex; align-items:center; gap:7px; color:#fff; white-space:nowrap; }
.gh-delivery > i { font-size:20px; }
.gh-delivery span,.gh-account-link span,.gh-orders-link span { display:flex; flex-direction:column; line-height:1.15; }
.gh-delivery small,.gh-account-link small,.gh-orders-link small { color:#dce5ef; font-size:10px; font-weight:500; }
.gh-delivery strong,.gh-account-link strong,.gh-orders-link strong { color:#fff; font-size:13px; font-weight:800; }
.gh-search-form { display:flex; flex:1 1 auto; width:auto; max-width:none; min-width:180px; margin:0; overflow:hidden; border:0; border-radius:7px; background:#fff; }
.gh-search-category { flex:0 0 75px; width:75px; height:42px; padding:0 8px; border:0; border-right:1px solid #d4d8de; outline:0; background:#e8e8e8; color:#263548; font-size:13px; }
.gh-search-form input { flex:1 1 auto; width:100%; min-width:0; height:42px; padding:0 12px; border:0; background:#fff; color:#172033; font-size:14px; }
.gh-search-form button { flex:0 0 48px; width:48px; height:42px; background:#f5a623; color:#172f49; font-size:19px; }
.gh-header-actions { flex:0 0 auto; display:flex; align-items:center; gap:19px; }
.gh-account-link,.gh-orders-link,.gh-cart-link { display:flex; align-items:center; gap:6px; color:#fff !important; white-space:nowrap; }
.gh-account-link i { color:#fff; font-size:19px; }
.gh-account-link:hover,.gh-orders-link:hover,.gh-cart-link:hover { color:#ffd28b !important; }
.gh-cart-link strong { color:#fff; font-size:13px; }
.gh-cart-icon { color:#fff; font-size:24px; }
.gh-quicknav { background:#f5a044; border:0; }
.gh-quicknav .container { min-height:40px; justify-content:flex-start; gap:27px; }
.gh-quicknav a { color:#172033; padding:10px 0; font-size:13px; }
.gh-all-trigger { color:#172033; padding:8px 0; font-size:14px; }
.gh-all-trigger:hover { color:#fff; }
.gh-drawer-top { min-height:62px; justify-content:space-between; padding:10px 20px; background:#232f3e; }
.gh-drawer-greeting { display:flex; align-items:center; gap:12px; font-size:18px; line-height:1.2; }
.gh-drawer-user-icon { width:27px; height:27px; flex:0 0 27px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#fff; color:#232f3e; font-size:17px; }
.gh-drawer-close { font-size:26px; }
@media(max-width:1100px) {
 .gh-mainbar-inner { gap:11px; }
 .gh-header-actions { gap:12px; }
 .gh-logo { font-size:24px; }
}
@media(max-width:767px) {
 .gh-mainbar-inner { min-height:unset; display:grid; grid-template-columns:auto auto minmax(110px,1fr); gap:9px; padding:10px 12px; }
 .gh-logo { grid-column:1; grid-row:1; font-size:22px; }
 .gh-delivery { grid-column:2; grid-row:1; gap:4px; }
 .gh-delivery > i { font-size:16px; }
 .gh-delivery small { font-size:9px; }
 .gh-delivery strong { font-size:11px; }
 .gh-header-actions { grid-column:3; grid-row:1; justify-content:flex-end; gap:10px; }
 .gh-account-link i { display:none; }
 .gh-account-link small,.gh-orders-link small { font-size:8px; }
 .gh-account-link strong,.gh-orders-link strong,.gh-cart-link strong { font-size:10px; }
 .gh-cart-icon { font-size:19px; }
 .gh-search-form { grid-column:1 / -1; grid-row:2; min-width:0; width:100%; }
 .gh-search-category { flex-basis:65px; width:65px; height:40px; font-size:12px; }
 .gh-search-form input,.gh-search-form button { height:40px; }
 .gh-quicknav .container { min-height:38px; gap:22px; padding:0 12px; }
 .gh-quicknav a,.gh-all-trigger { font-size:12px; }
 .gh-drawer-greeting { font-size:17px; }
}
@media(max-width:390px) {
 .gh-mainbar-inner { grid-template-columns:auto auto minmax(95px,1fr); gap:6px; padding-left:8px; padding-right:8px; }
 .gh-logo { font-size:19px; }
 .gh-header-actions { gap:7px; }
 .gh-orders-link { display:none; }
 .gh-account-link strong,.gh-cart-link strong { font-size:10px; }
 .gh-quicknav .container { gap:16px; }
}

/* Footer Manager additions */
.gh-footer-columns { grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); }
.gh-footer-about,.gh-footer-payment { max-width:1000px; margin:0 auto; padding:0 20px 18px; color:#d9e1ec; text-align:center; line-height:1.6; }
.gh-footer-social { display:flex; justify-content:center; flex-wrap:wrap; gap:18px; padding:0 15px 18px; }
.gh-footer-social a { color:#fff; text-decoration:none; }
.gh-footer-social a:hover { text-decoration:underline; }
.gh-footer-contact span { color:#d9e1ec; font-size:13px; line-height:1.5; }


/* =========================================================
   247GH V3.32 — screenshot-led storefront refinement
   Preserve the existing navy/orange identity and homepage
   structure; presentation-only overrides.
   ========================================================= */
:root {
    --gh-brand: #172f49;
    --gh-brand-dark: #142b43;
    --gh-accent: #f5a044;
    --gh-bg: #f5f6f8;
    --gh-radius: 10px;
    --gh-shadow: 0 3px 12px rgba(20,35,58,.055);
}
body {
    background: #f5f6f8;
    color: #172033;
    font-size: 14px;
    line-height: 1.5;
}
.container { width: min(100% - 30px, 990px); }

/* Match the supplied reference: navy main bar, orange slim nav. */
.gh-mainbar { background: #172f49; }
.gh-mainbar-inner { min-height: 58px; gap: 13px; }
.gh-logo { font-size: 24px; letter-spacing: -.8px; }
.gh-search-form { border-radius: 6px; }
.gh-search-category, .gh-search-form input { height: 38px; }
.gh-search-form button { height: 38px; flex-basis: 42px; width: 42px; }
.gh-header-actions { gap: 14px; }
.gh-quicknav { background: #f5a044; }
.gh-quicknav .container { min-height: 32px; gap: 22px; }
.gh-quicknav a, .gh-all-trigger { padding: 7px 0; font-size: 12px; font-weight: 700; }

/* Keep the promotional strip airy, image-led and manually navigable. */
.gh-promo-section, .gh-promotion-section { background: #fff; }
.gh-promo-section { padding-top: 12px; padding-bottom: 16px; }
.gh-promo-section .container, .gh-promotion-section .container { max-width: 990px; }
.gh-promo-section img, .gh-promotion-section img { object-fit: contain; }

/* Category cards retain their current content and category-manager data. */
.gh-category-section { padding: 18px 0 22px; background: #f5f6f8; }
.gh-category-grid { gap: 10px; }
.gh-category-card {
    min-height: 120px;
    padding: 12px;
    border-radius: 9px;
    background: #fff;
    border-color: #e9edf2;
    box-shadow: 0 2px 8px rgba(20,35,58,.045);
}
.gh-category-card:hover { transform: translateY(-2px); }

/* Product sections: compact, consistent cards like the reference. */
.product {
    padding-top: 26px !important;
    padding-bottom: 26px !important;
}
.product .headline { margin-bottom: 14px; }
.product .headline h2 {
    margin-bottom: 2px;
    color: #172033;
    font-size: 20px;
    font-weight: 800;
}
.product .headline p { color: #687386; font-size: 12px; }
.product .product-carousel { padding: 2px 1px 8px; }
.product .item {
    border-radius: 10px;
    border-color: #e8ebf0;
    box-shadow: 0 2px 8px rgba(20,35,58,.045);
}
.product .item:hover { transform: translateY(-2px); box-shadow: var(--gh-shadow); }
.product .thumb .photo { height: 190px; }
.product .text { padding: 10px 10px 12px; }
.product .text h3, .product .text h4 {
    color: #172033;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}
.product .text .price { color: #172f49; font-weight: 800; }
.product .text .button, .product .text button,
.product .text a.btn {
    border-radius: 5px;
    background: #172f49;
    border-color: #172f49;
    font-size: 11px;
    font-weight: 700;
}
.product .text .button:hover, .product .text button:hover,
.product .text a.btn:hover { background: #24466c; border-color: #24466c; }

/* Dark footer remains part of the 247GH visual identity. */
.footer { background: #102742; }
.footer, .footer a { color: #e7edf5; }
.footer a:hover { color: #f5a044; }
.footer .footer-bottom { border-color: rgba(255,255,255,.12); }

/* Responsive behaviour: retain the compact desktop hierarchy without overflow. */
@media (max-width: 991px) {
    .container { width: min(100% - 24px, 760px); }
    .gh-mainbar-inner { gap: 9px; }
    .gh-header-actions { gap: 9px; }
    .product .thumb .photo { height: 175px; }
}
@media (max-width: 767px) {
    .container { width: 100%; padding-left: 12px; padding-right: 12px; }
    .gh-mainbar-inner { padding-top: 8px; padding-bottom: 8px; }
    .gh-quicknav .container { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
    .gh-quicknav .container::-webkit-scrollbar { display: none; }
    .gh-category-section { padding: 14px 0 16px; }
    .gh-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .gh-category-card { min-height: 94px; padding: 9px; }
    .product { padding-top: 20px !important; padding-bottom: 20px !important; }
    .product .headline h2 { font-size: 18px; }
    .product .thumb .photo { height: 160px; }
    .product .text { padding: 8px; }
}
@media (max-width: 420px) {
    .product .thumb .photo { height: 138px; }
    .product .text h3, .product .text h4 { font-size: 11px; }
}

/* =========================================================
   247GH V3.33 — measured marketplace layout
   Full-bleed header/navigation; measured shopping content.
   ========================================================= */
:root { --gh-content-width: 1320px; }
body { overflow-x: hidden; }
.gh-header, .gh-mainbar, .gh-quicknav { width: 100%; }
.gh-mainbar-inner, .gh-quicknav > .container {
    width: 100% !important; max-width: none !important;
    margin-left: 0 !important; margin-right: 0 !important;
    padding-left: clamp(16px, 2.2vw, 36px) !important;
    padding-right: clamp(16px, 2.2vw, 36px) !important;
}
.gh-mainbar-inner { min-height: 76px; gap: clamp(14px, 1.6vw, 26px); }
.gh-logo { flex: 0 0 auto; }
.gh-logo img { max-width: 190px; max-height: 58px; }
.gh-search-form {
    flex: 1 1 auto !important; width: auto !important; min-width: 240px;
    max-width: none !important; margin: 0 !important;
    border: 2px solid #e6a13b; border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.gh-search-category { flex: 0 0 86px; width: 86px; height: 48px; }
.gh-search-form input { height: 48px !important; font-size: 15px; }
.gh-search-form button { flex: 0 0 58px; width: 58px; height: 48px !important; font-size: 21px; }
.gh-header-actions { gap: clamp(12px, 1.5vw, 24px); }
.gh-account-link strong, .gh-orders-link strong { font-size: 14px; }
.gh-quicknav { background: #f5a044; }
.gh-quicknav > .container { min-height: 44px; gap: 24px; }
.gh-quicknav a, .gh-all-trigger { font-size: 13px; }

/* Shared measured content width for homepage and category/product pages. */
body > .container, main .container, .page-banner .container,
.gh-category-section > .container, .gh-promo-section > .container,
.gh-promotion-section > .container, .product > .container {
    width: min(calc(100% - 48px), var(--gh-content-width)) !important;
    max-width: var(--gh-content-width) !important;
    margin-left: auto !important; margin-right: auto !important;
}
.gh-category-section { padding: 30px 0 34px; }
.gh-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gh-category-card { padding: 20px; border-radius: 12px; min-height: 0; box-shadow: 0 3px 14px rgba(20,35,58,.07); }
.gh-category-card h2 { font-size: 19px; margin-bottom: 15px; }
.gh-category-photos { gap: 12px; }
.gh-category-photos a { height: clamp(120px, 11vw, 168px); border-radius: 9px; }
.gh-category-more { margin-top: 15px; font-size: 14px; }

/* Larger image-led promotional rail, retaining manual scroll controls. */
.gh-promo-section, .gh-promotion-section { padding: 30px 0 34px !important; }
.gh-promo-section .container, .gh-promotion-section .container {
    width: min(calc(100% - 48px), var(--gh-content-width)) !important;
    max-width: var(--gh-content-width) !important;
}
.gh-promo-title { font-size: 25px; margin-bottom: 20px; color: #172033; }
.gh-promo-wrap { gap: 14px; }
.gh-promo-track { gap: 18px; padding: 4px 2px 12px; }
.gh-promo-item {
    flex: 0 0 clamp(220px, 20vw, 285px); height: clamp(220px, 19vw, 270px);
    padding: 12px; border: 1px solid #e7ebf0; border-radius: 12px;
    box-shadow: 0 3px 12px rgba(20,35,58,.06);
    transition: transform .18s ease, box-shadow .18s ease;
}
.gh-promo-item:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(20,35,58,.12); }
.gh-promo-item img { object-fit: contain; }
.gh-promo-arrow { flex: 0 0 auto; border-radius: 8px; padding: 13px 16px; color: #172f49; border-color: #d8dee7; }

/* Category landing pages use the same canvas and larger product tiles. */
.page-banner { background-size: cover; background-position: center; }
.page-banner .container { padding-top: 28px; padding-bottom: 28px; }
.product.product-cat { padding-top: 30px !important; padding-bottom: 40px !important; }
.product.product-cat .item, .product .item {
    border-radius: 12px; overflow: hidden; border: 1px solid #e4e9ef;
    box-shadow: 0 3px 13px rgba(20,35,58,.06);
}
.product.product-cat .thumb .photo { height: 250px; }
.product.product-cat .text { padding: 14px; }
.product.product-cat .text h3 a { font-size: 15px; line-height: 1.4; }
.product.product-cat .text .price { font-size: 17px; font-weight: 800; }

@media (max-width: 1100px) {
    .gh-mainbar-inner { gap: 12px; }
    .gh-delivery { display: none; }
    .gh-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .product.product-cat .thumb .photo { height: 210px; }
}
@media (max-width: 767px) {
    .gh-mainbar-inner { display: grid !important; grid-template-columns: auto 1fr auto; gap: 8px; min-height: 0; padding-top: 10px !important; padding-bottom: 9px !important; }
    .gh-logo img { max-width: 118px; max-height: 42px; }
    .gh-search-form { grid-column: 1 / -1; grid-row: 2; min-width: 0; width: 100% !important; }
    .gh-search-category { flex-basis: 70px; width: 70px; height: 43px; }
    .gh-search-form input, .gh-search-form button { height: 43px !important; }
    .gh-search-form button { flex-basis: 48px; width: 48px; }
    .gh-header-actions { gap: 9px; }
    .gh-account-link, .gh-cart-link { font-size: 11px; }
    .gh-quicknav > .container { min-height: 40px; }
    body > .container, main .container, .page-banner .container,
    .gh-category-section > .container, .gh-promo-section > .container,
    .gh-promotion-section > .container, .product > .container {
        width: 100% !important; padding-left: 12px !important; padding-right: 12px !important;
    }
    .gh-category-section { padding: 18px 0 22px; }
    .gh-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .gh-category-card { padding: 11px; }
    .gh-category-card h2 { font-size: 14px; }
    .gh-category-photos { gap: 6px; }
    .gh-category-photos a { height: clamp(76px, 22vw, 112px); }
    .gh-promo-section, .gh-promotion-section { padding: 20px 0 24px !important; }
    .gh-promo-title { font-size: 20px; margin-bottom: 13px; }
    .gh-promo-track { gap: 10px; }
    .gh-promo-item { flex-basis: 155px; height: 155px; padding: 8px; }
    .gh-promo-arrow { padding: 8px 10px; }
    .product.product-cat .thumb .photo { height: 170px; }
}
@media (max-width: 380px) {
    .gh-logo img { max-width: 98px; }
    .gh-header-actions { gap: 6px; }
    .gh-account-link, .gh-cart-link { font-size: 10px; }
    .gh-promo-item { flex-basis: 138px; height: 138px; }
    .product.product-cat .thumb .photo { height: 145px; }
}


/* V3.34 screenshot-led refinement: four fixed category panels and Amazon-inspired promo cards */
:root { --gh-content-width: 1320px; }
.gh-category-section > .container, .gh-promo-section > .container { width: min(calc(100% - 40px), var(--gh-content-width)) !important; max-width: var(--gh-content-width) !important; }
.gh-category-grid { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:16px !important; align-items:stretch; }
.gh-category-card { display:flex !important; flex-direction:column; align-items:stretch; min-width:0; min-height:0; padding:16px !important; background:#fff !important; border:1px solid #dfe4ea !important; border-radius:13px !important; box-shadow:0 2px 10px rgba(20,35,58,.055) !important; }
.gh-category-card h2 { margin:0 0 13px !important; font-size:18px !important; line-height:1.25; }
.gh-category-photos { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px !important; }
.gh-category-photos a { display:block; height:clamp(105px,9vw,145px) !important; min-width:0; overflow:hidden; background:#f2f4f6; border-radius:9px !important; }
.gh-category-photos img { width:100%; height:100%; object-fit:contain; }
.gh-category-more { margin-top:auto !important; padding-top:12px; font-weight:700; }
.gh-promo-section { padding:28px 0 34px !important; background:#f1f3f5 !important; }
.gh-promo-heading-row { display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom:16px; }
.gh-promo-title { margin:0 !important; color:#172033; font-size:25px !important; font-weight:800; }
.gh-promo-subtitle { margin:2px 0 0; color:#687386; font-size:13px; }
.gh-promo-controls { display:flex; gap:7px; flex:0 0 auto; }
.gh-promo-arrow { width:38px; height:38px; padding:0 !important; display:inline-flex; align-items:center; justify-content:center; border:1px solid #d4dbe3; border-radius:8px; background:#fff; color:#172f55; cursor:pointer; }
.gh-promo-track { display:flex !important; gap:16px !important; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding:2px 1px 10px; }
.gh-promo-track::-webkit-scrollbar { display:none; }
.gh-promo-panel { flex:0 0 calc((100% - 48px)/4); min-width:0; display:flex; flex-direction:column; padding:15px; background:#fff; border:1px solid #dfe4ea; border-radius:13px; box-shadow:0 2px 10px rgba(20,35,58,.05); scroll-snap-align:start; }
.gh-promo-panel h3 { margin:0 0 12px; min-height:42px; color:#172033; font-size:17px; font-weight:800; line-height:1.25; }
.gh-promo-panel-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.gh-promo-product { display:block; min-width:0; color:#172033; }
.gh-promo-product-image { display:flex; align-items:center; justify-content:center; width:100%; height:clamp(105px,9vw,140px); overflow:hidden; border-radius:9px; background:#f2f4f6; }
.gh-promo-product-image img { width:100%; height:100%; object-fit:contain; }
.gh-promo-product-name { display:-webkit-box; margin-top:5px; overflow:hidden; font-size:11px; line-height:1.3; color:#3d4654; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.gh-promo-explore { display:inline-block; margin-top:auto; padding-top:13px; color:#17618e; font-size:12px; font-weight:700; }
.gh-promo-product:hover .gh-promo-product-name, .gh-promo-explore:hover { color:#d98220; }
@media (max-width:767px) {
 .gh-category-section > .container,.gh-promo-section > .container { width:100% !important; padding-left:12px !important; padding-right:12px !important; }
 .gh-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; }
 .gh-category-card { padding:10px !important; }
 .gh-category-card h2 { font-size:14px !important; }
 .gh-category-photos { gap:6px !important; }
 .gh-category-photos a { height:clamp(76px,22vw,112px) !important; }
 .gh-promo-section { padding:20px 0 24px !important; }
 .gh-promo-title { font-size:20px !important; }
 .gh-promo-panel { flex-basis:min(78vw,300px); padding:11px; }
 .gh-promo-panel h3 { min-height:34px; font-size:15px; }
 .gh-promo-product-image { height:clamp(92px,29vw,125px); }
}


/* V3.35 — wider Amazon-like desktop shopping canvas */
:root { --gh-content-width: 1800px; }
@media (min-width: 1200px) {
  /* Storefront sections use nearly the full viewport while retaining clear gutters. */
  main .container,
  .gh-category-section > .container,
  .gh-promo-section > .container,
  .gh-promotion-section > .container,
  .product > .container,
  .page-banner > .container {
    width: 94vw !important;
    max-width: 1800px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .gh-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
  .gh-category-card { padding: 18px !important; }
  .gh-category-photos a { height: clamp(150px, 12vw, 210px) !important; }
  .gh-promo-panel {
    flex-basis: calc((100% - 54px) / 4) !important;
    padding: 18px !important;
  }
  .gh-promo-panel-grid { gap: 12px !important; }
  .gh-promo-product-image { height: clamp(150px, 12vw, 205px) !important; }
  .gh-promo-panel h3 { font-size: 20px !important; min-height: 48px; }
  .gh-promo-product-name { font-size: 13px !important; }
  .gh-promo-section { padding-top: 32px !important; padding-bottom: 38px !important; }
  .gh-promo-track { gap: 18px !important; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .gh-category-section > .container,
  .gh-promo-section > .container,
  .gh-promotion-section > .container,
  main .container,
  .product > .container {
    width: 96% !important;
    max-width: none !important;
  }
  .gh-category-grid { grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 12px !important; }
  .gh-category-card { padding: 12px !important; }
  .gh-category-card h2 { font-size: 15px !important; }
  .gh-category-photos a { height: clamp(90px, 12vw, 140px) !important; }
  .gh-promo-panel { flex-basis: calc((100% - 36px) / 3) !important; }
  .gh-promo-product-image { height: clamp(100px, 12vw, 145px) !important; }
}


/* V3.36 — scope the wide canvas to promotional/category modules only.
   Keep Featured / Latest / Popular home product shelves at their previous width. */
@media (min-width: 1200px) {
  .gh-category-section > .container,
  .gh-promo-section > .container {
    width: 94vw !important;
    max-width: 1800px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .gh-category-grid {
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 18px !important;
  }
  .gh-category-card { padding: 18px !important; }
  .gh-category-photos a { height: clamp(145px,11vw,195px) !important; }

  /* Restore the measured width for ordinary homepage product shelves. */
  .product:not(.product-cat) > .container {
    width: min(calc(100% - 30px),990px) !important;
    max-width: 990px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .gh-category-section > .container,
  .gh-promo-section > .container {
    width: 96% !important;
    max-width: none !important;
  }
  .gh-category-grid { grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 12px !important; }
  .gh-category-card { padding: 12px !important; }
  .gh-category-card h2 { font-size: 15px !important; }
  .gh-category-photos a { height: clamp(90px,12vw,140px) !important; }
  .product:not(.product-cat) > .container {
    width: min(calc(100% - 30px),990px) !important;
    max-width: 990px !important;
  }
}

/* One promotion = one product image; multiple separate cards scroll horizontally. */
.gh-promo-single-track {
  display: flex !important;
  gap: 18px !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 3px 1px 12px !important;
}
.gh-promo-single-track::-webkit-scrollbar { display:none; }
.gh-promo-single-card {
  flex: 0 0 calc((100% - 54px)/4);
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 15px;
  color: #172033 !important;
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(20,35,58,.055);
  scroll-snap-align: start;
  text-decoration: none !important;
}
.gh-promo-single-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(20,35,58,.11);
}
.gh-promo-single-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(190px,17vw,280px);
  overflow: hidden;
  background: #f4f5f7;
  border-radius: 9px;
}
.gh-promo-single-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gh-promo-single-name {
  display: -webkit-box;
  min-height: 38px;
  margin-top: 10px;
  overflow: hidden;
  color: #172033;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.gh-promo-single-link {
  margin-top: auto;
  padding-top: 9px;
  color: #17618e;
  font-size: 12px;
  font-weight: 700;
}
.gh-promo-single-card:hover .gh-promo-single-link { color: #d98220; }

@media (min-width: 768px) and (max-width: 1199px) {
  .gh-promo-single-card { flex-basis: calc((100% - 36px)/3); }
  .gh-promo-single-image { height: clamp(150px,19vw,220px); }
}
@media (max-width: 767px) {
  .gh-promo-single-track { gap: 10px !important; }
  .gh-promo-single-card { flex-basis: min(78vw,300px); padding: 11px; }
  .gh-promo-single-image { height: clamp(160px,48vw,220px); }
  .gh-promo-single-name { font-size: 12px; }
  .product:not(.product-cat) > .container { width:100% !important; max-width:none !important; }
}


/* V3.37 — full-image Amazon-height promotions, aligned shelves, usable mobile categories */
@media (min-width: 1200px) {
  /* All homepage content sections share one left/right alignment line. */
  .product:not(.product-cat) > .container,
  .gh-category-section > .container,
  .gh-promo-section > .container {
    width: 94vw !important;
    max-width: 1800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .product:not(.product-cat) > .container,
  .gh-category-section > .container,
  .gh-promo-section > .container {
    width: 96% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Promotion cards are image-only, tall panels. No product title or caption above/below. */
.gh-promo-single-card {
  flex: 0 0 calc((100% - 72px) / 5) !important;
  height: clamp(330px, 30vw, 430px) !important;
  min-height: 330px;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 13px !important;
  background: #f1f3f5 !important;
  box-shadow: 0 2px 9px rgba(20,35,58,.10) !important;
}
.gh-promo-single-card:hover { transform: translateY(-2px); }
.gh-promo-single-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  border-radius: 13px !important;
  background: #f1f3f5 !important;
  overflow: hidden;
}
.gh-promo-single-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center;
}
.gh-promo-single-name,
.gh-promo-single-link { display: none !important; }

@media (min-width: 768px) and (max-width: 1199px) {
  .gh-promo-single-card {
    flex-basis: calc((100% - 48px) / 4) !important;
    height: clamp(280px, 34vw, 360px) !important;
    min-height: 280px;
  }
}

/* Phone: two category cards per row, never four tiny category cards in one row. */
@media (max-width: 767px) {
  .gh-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .gh-category-card {
    min-width: 0;
    padding: 11px !important;
  }
  .gh-category-card h2 {
    font-size: 14px !important;
    line-height: 1.25;
  }
  .gh-category-photos {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 7px !important;
  }
  .gh-category-photos a {
    height: clamp(90px, 27vw, 132px) !important;
  }
  .gh-promo-single-card {
    flex-basis: min(78vw, 310px) !important;
    height: 350px !important;
    min-height: 350px;
  }
  .gh-promo-single-image { height: 100% !important; }
  /* Keep homepage product shelves aligned to the same mobile page gutters. */
  .product:not(.product-cat) > .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}


/* V3.38 — single full-width category card per phone row */
@media (max-width: 767px) {
  .gh-category-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  .gh-category-card {
    width: 100%;
    padding: 14px !important;
  }
  .gh-category-card h2 {
    font-size: 16px !important;
    margin-bottom: 10px !important;
  }
  .gh-category-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }
  .gh-category-photos a {
    height: clamp(130px, 42vw, 190px) !important;
  }
}


/* V3.41 — storefront image and product-shelf correction.
   Keep this block last so earlier legacy/theme rules cannot collapse the layout. */
@media (min-width: 1200px) {
  .product:not(.product-cat) > .container {
    width: min(94vw, 1500px) !important;
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* If Owl Carousel is unavailable or fails to initialise, render a real responsive grid. */
.product:not(.product-cat) .product-carousel:not(.owl-loaded) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch;
}
.product:not(.product-cat) .product-carousel:not(.owl-loaded) > .item {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.product:not(.product-cat) .product-carousel.owl-loaded .owl-item {
  min-width: 0;
}
.product:not(.product-cat) .product-carousel .item,
.product:not(.product-cat) .product-carousel .thumb,
.product:not(.product-cat) .product-carousel .thumb .photo {
  box-sizing: border-box !important;
}
.product:not(.product-cat) .product-carousel .thumb .photo {
  height: clamp(170px, 18vw, 245px) !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #fff !important;
}
.product:not(.product-cat) .product-carousel .item {
  height: 100%;
  background: #fff;
}
@media (min-width: 768px) and (max-width: 1199px) {
  .product:not(.product-cat) .product-carousel:not(.owl-loaded) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .product:not(.product-cat) .product-carousel .thumb .photo {
    height: clamp(155px, 20vw, 210px) !important;
  }
}
@media (max-width: 767px) {
  .product:not(.product-cat) .product-carousel:not(.owl-loaded) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .product:not(.product-cat) .product-carousel .thumb .photo {
    height: clamp(135px, 43vw, 185px) !important;
  }
}
/* Promotional cards: image fills the available card area without accidental box overflow. */
.gh-promo-single-card { box-sizing: border-box !important; }
.gh-promo-single-image {
  box-sizing: border-box !important;
  flex: 1 1 auto;
  min-height: 0;
  padding: 8px !important;
}
.gh-promo-single-image img {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  object-position: center center !important;
}
@media (max-width: 767px) {
  .gh-promo-single-card { height: 320px !important; min-height: 320px !important; }
}


/* V3.41.2 approved finish: fixed manual category slots, aligned shelves and centered carousels. */
.gh-category-section > .container,
.gh-promo-section > .container,
.product:not(.product-cat) > .container {
  width: 94vw !important;
  max-width: 1800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.gh-category-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch;
}
.gh-category-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
}
.gh-category-photos {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 9px !important;
  width: 100%;
}
.gh-category-photos a,
.gh-category-photo-empty {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  height: auto !important;
  overflow: hidden;
  border-radius: 9px;
  background: #f2f4f6;
}
.gh-category-photos a img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}
.gh-category-photo-empty { background: #f7f8fa; border: 1px dashed #e1e5ea; }

/* Promotion images always show the whole product without zoom or crop. */
.gh-promo-section > .container { position: relative; }
.gh-promo-single-card { overflow: hidden !important; }
.gh-promo-single-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.gh-promo-single-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}
.gh-promo-controls {
  position: absolute !important;
  z-index: 8;
  top: 58%;
  left: -18px;
  right: -18px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0 !important;
  pointer-events: none;
}
.gh-promo-arrow {
  width: 42px !important;
  height: 42px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #142b4a !important;
  box-shadow: 0 2px 12px rgba(15,35,60,.20);
  pointer-events: auto;
}

/* Featured, Latest and Popular use the same wide canvas as Promotions and Categories. */
.product:not(.product-cat) .product-carousel { position: relative; }
.product:not(.product-cat) .product-carousel .owl-nav {
  position: absolute !important;
  top: 50% !important;
  left: -18px !important;
  right: -18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 !important;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 12;
}
.product:not(.product-cat) .product-carousel .owl-nav button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #142b4a !important;
  box-shadow: 0 2px 12px rgba(15,35,60,.20);
  pointer-events: auto;
}
.product:not(.product-cat) .product-carousel .owl-nav button:hover { background: #f3a323 !important; color: #10233d !important; }
.product:not(.product-cat) .product-carousel .owl-nav button span { font-size: 25px; line-height: 1; }

@media (min-width: 768px) and (max-width: 1199px) {
  .gh-category-section > .container,
  .gh-promo-section > .container,
  .product:not(.product-cat) > .container { width: 96% !important; max-width: none !important; }
}
@media (max-width: 767px) {
  .gh-category-section > .container,
  .gh-promo-section > .container,
  .product:not(.product-cat) > .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .gh-category-grid { grid-template-columns: minmax(0,1fr) !important; gap: 12px !important; }
  .gh-category-card { padding: 12px !important; }
  .gh-category-photos { gap: 8px !important; }
  .gh-category-photos a,
  .gh-category-photo-empty { aspect-ratio: 1 / 1; }
  .gh-promo-controls,
  .product:not(.product-cat) .product-carousel .owl-nav { display: none !important; }
  /* Native touch scrolling remains available on promo cards; Owl handles touch swipes on product shelves. */
}

.gh-promo-track { cursor: grab; }
.gh-promo-track.gh-is-dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }
.gh-promo-track.gh-is-dragging a { pointer-events: none; }

/* V3.41.3 corrective pass: preserve manual category selections and restore image roles. */
.gh-category-photos a img {
  object-fit: contain !important;
  background: transparent !important;
}
/* Promotions intentionally fill the complete promotional image panel. */
.gh-promo-single-card,
.gh-promo-single-image { overflow: hidden !important; }
.gh-promo-single-image { padding: 0 !important; }
.gh-promo-single-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
/* All three product shelves share the promotional/category content width. */
.product:not(.product-cat) > .container {
  width: 94vw !important;
  max-width: 1800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Product pictures stay as the original product artwork, not boxed/cropped tiles. */
.product:not(.product-cat) .product-carousel .thumb {
  background: #fff !important;
}
.product:not(.product-cat) .product-carousel .thumb .photo {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* Keep product-shelf arrows vertically centred over the product cards.
   Position each button against the carousel itself, not the heading or nav row. */
.product:not(.product-cat) .product-carousel {
  position: relative !important;
}
.product:not(.product-cat) .product-carousel .owl-nav {
  position: static !important;
  width: auto !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}
.product:not(.product-cat) .product-carousel .owl-nav button {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 20 !important;
  pointer-events: auto !important;
}
.product:not(.product-cat) .product-carousel .owl-nav .owl-prev {
  left: -20px !important;
}
.product:not(.product-cat) .product-carousel .owl-nav .owl-next {
  right: -20px !important;
}
@media (max-width: 767px) {
  .product:not(.product-cat) .product-carousel .owl-nav,
  .gh-promo-controls { display: none !important; }
  .product:not(.product-cat) > .container { width: 100% !important; padding-left: 12px !important; padding-right: 12px !important; }
}


/* V3.41.8 — product card proportions.
   Owl Carousel controls desktop item widths; style its actual items and image area. */
.product:not(.product-cat) .product-carousel .owl-item {
    display: flex;
}
.product:not(.product-cat) .product-carousel .owl-item > .item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.product:not(.product-cat) .product-carousel .owl-item > .item .thumb {
    flex: 0 0 auto;
    background: #fff !important;
}
.product:not(.product-cat) .product-carousel .owl-item > .item .thumb .photo {
    height: clamp(235px, 19vw, 285px) !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #fff !important;
}
.product:not(.product-cat) .product-carousel .owl-item > .item .text {
    flex: 1 0 auto;
}
@media (max-width: 1199px) and (min-width: 768px) {
    .product:not(.product-cat) .product-carousel .owl-item > .item .thumb .photo {
        height: 225px !important;
    }
}
@media (max-width: 767px) {
    .product:not(.product-cat) .product-carousel .owl-item > .item .thumb .photo {
        height: clamp(145px, 42vw, 185px) !important;
    }
}


/* V3.41.9 mobile product shelves: larger cards with a visible next-card peek.
   Owl Carousel handles horizontal touch swipes; desktop navigation stays hidden here. */
@media (max-width: 767px) {
  .product:not(.product-cat) .product-carousel {
    touch-action: pan-y pinch-zoom;
  }
  .product:not(.product-cat) .product-carousel .owl-item > .item .thumb .photo {
    height: clamp(210px, 62vw, 285px) !important;
  }
  .product:not(.product-cat) .product-carousel .owl-item > .item .thumb {
    min-height: 0;
  }
  .product:not(.product-cat) .product-carousel .owl-nav {
    display: none !important;
  }
}


/* V3.41.9 corrective carousel implementation: native horizontal rails for every shelf. */
.product:not(.product-cat) .gh-native-product-wrap {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
}
.product:not(.product-cat) .product-carousel.gh-native-product-rail {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: stretch !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: x proximity !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  padding: 4px 2px 12px !important;
}
.product:not(.product-cat) .product-carousel.gh-native-product-rail::-webkit-scrollbar {
  display: none !important;
}
.product:not(.product-cat) .product-carousel.gh-native-product-rail > .item {
  display: flex !important;
  flex: 0 0 clamp(190px, 18.5vw, 245px) !important;
  flex-direction: column !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  scroll-snap-align: start !important;
}
.product:not(.product-cat) .product-carousel.gh-native-product-rail > .item .thumb .photo {
  height: clamp(175px, 18vw, 245px) !important;
}
.gh-native-product-nav {
  position: absolute !important;
  z-index: 25 !important;
  top: 50% !important;
  left: -18px !important;
  right: -18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}
.gh-native-product-nav button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border: 1px solid #e1e6ec !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #172f49 !important;
  box-shadow: 0 3px 12px rgba(15,35,60,.18) !important;
  pointer-events: auto !important;
}
.gh-native-product-nav button:disabled {
  visibility: hidden !important;
}
.gh-native-product-nav button i { font-size: 22px !important; }
.gh-promo-section .gh-promo-track {
  display: flex !important;
  flex-flow: row nowrap !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: x proximity !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}
.gh-promo-section .gh-promo-track::-webkit-scrollbar { display: none !important; }
.gh-promo-section .gh-promo-single-card {
  flex: 0 0 clamp(210px, 19vw, 285px) !important;
  min-width: 0 !important;
  scroll-snap-align: start !important;
}
.gh-promo-section .gh-promo-arrow:disabled { visibility: hidden !important; }
.gh-promo-section.gh-promo-no-overflow .gh-promo-controls { display: none !important; }

@media (max-width: 767px) {
  .product:not(.product-cat) .product-carousel.gh-native-product-rail {
    gap: 10px !important;
    touch-action: pan-x pan-y !important;
  }
  .product:not(.product-cat) .product-carousel.gh-native-product-rail > .item {
    flex-basis: clamp(145px, 43vw, 205px) !important;
  }
  .product:not(.product-cat) .product-carousel.gh-native-product-rail > .item .thumb .photo {
    height: clamp(135px, 38vw, 175px) !important;
  }
  .gh-native-product-nav { display: none !important; }
  .gh-promo-section .gh-promo-single-card {
    flex-basis: clamp(190px, 72vw, 280px) !important;
  }
  .gh-promo-section .gh-promo-controls { display: none !important; }
}


/* V3.41.10 — free horizontal scrolling: no card snapping, natural touch momentum,
   and mouse drag without stealing ordinary product-card clicks. */
.product:not(.product-cat) .product-carousel.gh-native-product-rail,
.gh-promo-section .gh-promo-single-track {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  -webkit-overflow-scrolling: touch !important;
  cursor: grab;
}
.product:not(.product-cat) .product-carousel.gh-native-product-rail > .item,
.gh-promo-section .gh-promo-single-card {
  scroll-snap-align: none !important;
}
.product:not(.product-cat) .product-carousel.gh-native-product-rail.gh-is-dragging,
.gh-promo-section .gh-promo-single-track.gh-is-dragging {
  cursor: grabbing !important;
  user-select: none !important;
}
.product:not(.product-cat) .product-carousel.gh-native-product-rail.gh-is-dragging *,
.gh-promo-section .gh-promo-single-track.gh-is-dragging * {
  user-select: none !important;
}


/* 247GH customer account and authentication refresh — presentation only */
.gh-account-page, .gh-auth-page { background: #f5f7fa; padding: 34px 0 54px; }
.gh-account-container { max-width: 1240px; }
.gh-account-page .gh-account-nav { margin-bottom: 22px; }
.gh-account-sidebar { background: #fff; border: 1px solid #e7ebf0; border-radius: 14px; padding: 18px 14px; box-shadow: 0 5px 22px rgba(20,35,55,.045); }
.gh-account-sidebar-title { color: #172b4d; font-size: 17px; font-weight: 750; padding: 4px 12px 15px; border-bottom: 1px solid #edf0f4; margin-bottom: 9px; }
.gh-account-sidebar ul { list-style: none; padding: 0; margin: 0; }
.gh-account-sidebar ul li { display: block; margin: 3px 0; }
.gh-account-sidebar ul li a { display: flex; align-items: center; gap: 11px; border-radius: 9px; padding: 11px 12px; color: #435168; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .18s ease, color .18s ease; }
.gh-account-sidebar ul li a:hover, .gh-account-sidebar ul li a:focus { color: #0759b8; background: #edf5ff; text-decoration: none; }
.gh-account-sidebar ul li a.gh-account-logout { color: #b42332; }
.gh-account-sidebar ul li a.gh-account-logout:hover { background: #fff0f1; }
.gh-account-nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border-radius: 7px; background: #f1f4f8; color: #53657d; font-size: 17px; flex: 0 0 25px; }
.gh-account-main .user-content, .gh-auth-card { background: #fff; border: 1px solid #e7ebf0; border-radius: 14px; padding: 28px; box-shadow: 0 5px 22px rgba(20,35,55,.045); min-height: 180px; }
.gh-account-main .user-content h3, .gh-auth-card h3 { color: #172b4d; font-size: 22px; font-weight: 750; margin: 0 0 24px; text-align: left; }
.gh-account-page .form-group, .gh-auth-page .form-group { margin-bottom: 18px; }
.gh-account-page label, .gh-auth-page label { color: #344054; font-size: 13px; font-weight: 650; margin-bottom: 7px; }
.gh-account-page .form-control, .gh-auth-page .form-control { min-height: 44px; border: 1px solid #d8dee8; border-radius: 8px; box-shadow: none; padding: 10px 12px; color: #172b4d; }
.gh-account-page textarea.form-control, .gh-auth-page textarea.form-control { min-height: 90px; }
.gh-account-page .form-control:focus, .gh-auth-page .form-control:focus { border-color: #4389d8; box-shadow: 0 0 0 3px rgba(38,117,204,.10); }
.gh-account-page .btn-primary, .gh-account-page input[type=submit], .gh-auth-page .btn-primary, .gh-auth-page .btn-success, .gh-auth-page input[type=submit] { min-height: 43px; border: 0; border-radius: 8px; padding: 10px 22px; background: #0759b8; color: #fff; font-weight: 700; }
.gh-account-page .table-responsive { border: 1px solid #e7ebf0; border-radius: 10px; overflow-x: auto; }
.gh-account-page table { margin-bottom: 0; min-width: 760px; }
.gh-account-page table thead th { background: #f5f7fa; color: #344054; font-size: 12px; white-space: nowrap; border-bottom: 1px solid #e7ebf0; }
.gh-account-page table td { color: #475467; vertical-align: middle !important; font-size: 13px; }
.gh-account-page .error, .gh-auth-page .error { border: 1px solid #f3c6ca; border-radius: 8px; background: #fff3f3 !important; color: #9f2633; padding: 12px 14px !important; }
.gh-account-page .success, .gh-auth-page .success { border: 1px solid #b8e2ca; border-radius: 8px; background: #effaf3 !important; color: #176b3a; padding: 12px 14px !important; }
.gh-auth-page .container { max-width: 920px; }
.gh-auth-page .gh-auth-card { max-width: 760px; margin: 0 auto; }
.gh-auth-page .gh-auth-card form > .row > div[class*=col-md-4] { float: none; width: 100%; max-width: 460px; margin: 0 auto; }
.gh-auth-page .gh-auth-card form > .row > div[class*=col-md-8] { float: none; width: 100%; max-width: 680px; margin: 0 auto; }
.gh-auth-page .page-banner { min-height: 135px; }
@media (max-width: 767px) {
  .gh-account-page, .gh-auth-page { padding: 20px 0 34px; }
  .gh-account-sidebar { padding: 12px; }
  .gh-account-sidebar ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 5px; }
  .gh-account-sidebar ul li { margin: 0; }
  .gh-account-sidebar ul li a { padding: 10px 8px; gap: 7px; font-size: 12px; }
  .gh-account-nav-icon { width: 22px; height: 22px; flex-basis: 22px; font-size: 15px; }
  .gh-account-main .user-content, .gh-auth-card { padding: 19px 15px; border-radius: 11px; }
  .gh-account-main .user-content h3, .gh-auth-card h3 { font-size: 19px; }
}

/* 247GH cart refinement: preserve the existing storefront theme and improve usability. */
.gh-cart-note {
  margin: 14px 0 18px;
  padding: 13px 16px;
  border: 1px solid #e4eaf1;
  border-radius: 10px;
  background: #f7f9fc;
  color: #536174;
  font-size: 14px;
}
.cart table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.cart table th {
  padding: 13px 12px;
  background: #f5f7fa;
  color: #26364a;
  font-weight: 650;
  white-space: nowrap;
  border-bottom: 1px solid #e6eaf0;
}
.cart table td {
  padding: 14px 12px;
  vertical-align: middle;
  border-top: 1px solid #edf0f4;
  color: #344054;
}
.cart table img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  padding: 4px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: #fff;
}
.cart .gh-cart-product-name {
  color: #20344d;
  font-weight: 600;
  text-decoration: none;
}
.cart .gh-cart-product-name:hover { color: #0759b8; }
.cart input[type="number"] {
  width: 76px;
  min-height: 40px;
  padding: 7px 9px;
  border: 1px solid #d7dee8;
  border-radius: 7px;
  color: #26364a;
  background: #fff;
}
.gh-cart-stock {
  display: block;
  margin-top: 4px;
  color: #778397;
  font-size: 11px;
  white-space: nowrap;
}
.cart table tr .trash {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #b42318;
  font-size: 12px;
  text-decoration: none;
}
.cart table tr .trash i { color: inherit !important; }
.cart table tr.total-text,
.cart table tr.total-amount { font-weight: 700; }
.cart-buttons.gh-cart-actions ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}
.cart-buttons.gh-cart-actions li { margin: 0; }
.cart-buttons.gh-cart-actions .btn,
.cart-buttons.gh-cart-actions input[type="submit"] {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 7px;
  font-weight: 600;
}
@media (max-width: 767px) {
  .cart { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cart table { min-width: 760px; }
  .cart table img { width: 62px; height: 62px; }
  .cart-buttons.gh-cart-actions ul { display: grid; grid-template-columns: 1fr; }
  .cart-buttons.gh-cart-actions li,
  .cart-buttons.gh-cart-actions li .btn,
  .cart-buttons.gh-cart-actions li input[type="submit"] { width: 100%; }
}

/* 247GH cart and checkout layouts inspired by the supplied references. */
.gh-cart-page { padding:28px 0 48px; background:#f6f8fb; }
.gh-cart-page > .container { max-width:1320px; }
.gh-cart-breadcrumb,.gh-checkout-breadcrumb { display:flex; gap:9px; align-items:center; margin:0 0 14px; color:#7b8797; font-size:12px; }
.gh-cart-breadcrumb a,.gh-checkout-breadcrumb a { color:#536174; }
.gh-cart-form { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:22px; align-items:start; }
.gh-cart-items-panel,.gh-cart-summary,.gh-checkout-cart-panel,.gh-checkout-details-panel { background:#fff; border:1px solid #e6ebf1; border-radius:15px; box-shadow:0 3px 14px rgba(22,37,58,.055); }
.gh-cart-items-panel { padding:22px; min-width:0; }
.gh-cart-panel-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:18px; }
.gh-cart-panel-heading h1,.gh-checkout-cart-panel h1,.gh-checkout-details-panel h1 { margin:0 0 6px; color:#172033; font-size:25px; font-weight:750; }
.gh-cart-panel-heading p,.gh-checkout-intro { margin:0; color:#748094; font-size:13px; }
.gh-cart-panel-heading > a { padding:8px 12px; background:#f1f3f5; border-radius:7px; color:#475467; font-size:12px; white-space:nowrap; }
.gh-cart-item { display:grid; grid-template-columns:100px minmax(0,1fr) 105px; gap:15px; align-items:center; padding:14px 0; border-top:1px solid #edf0f4; }
.gh-cart-item-photo { display:flex; width:100px; height:100px; align-items:center; justify-content:center; overflow:hidden; background:#f5f7f9; border-radius:9px; }
.gh-cart-item-photo img { width:100%; height:100%; object-fit:contain; }
.gh-cart-item-info { min-width:0; }
.gh-cart-item-name { color:#25344a; font-size:14px; font-weight:700; }
.gh-cart-item-meta { margin-top:5px; color:#8993a2; font-size:11px; }
.gh-cart-item-controls { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:12px; }
.gh-cart-qty-label { display:flex; align-items:center; gap:8px; margin:0; color:#697586; font-size:12px; font-weight:500; }
.gh-cart-qty-label input { width:58px; height:34px; padding:5px 7px; border:1px solid #dce2e9; border-radius:7px; }
.gh-cart-remove { color:#687386; font-size:12px; }
.gh-cart-item-price { display:flex; flex-direction:column; align-items:flex-end; gap:18px; color:#687386; font-size:12px; }
.gh-cart-item-price strong { color:#25344a; font-size:14px; }
.gh-cart-bottom-actions { display:flex; align-items:center; gap:18px; padding-top:15px; border-top:1px solid #edf0f4; }
.gh-cart-update { border:0; border-radius:7px; padding:10px 17px; background:#172f49; color:#fff; font-weight:650; }
.gh-cart-bottom-actions a,.gh-cart-continue { color:#536174; font-size:13px; }
.gh-cart-summary { position:sticky; top:20px; padding:21px; }
.gh-cart-summary h2 { margin:0 0 5px; color:#172033; font-size:19px; font-weight:750; }
.gh-cart-summary-count { margin-bottom:18px; color:#8993a2; font-size:12px; }
.gh-cart-summary-line,.gh-cart-summary-total { display:flex; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid #edf0f4; color:#687386; font-size:13px; }
.gh-cart-summary-line strong { color:#344054; }
.gh-cart-summary-total { margin:8px 0 15px; border:0; color:#172033; font-size:16px; font-weight:750; }
.gh-cart-summary-total strong { font-size:19px; }
.gh-cart-checkout-btn { display:flex; justify-content:center; align-items:center; gap:10px; width:100%; padding:14px 12px; border-radius:8px; background:#172f49; color:#fff !important; font-weight:700; }
.gh-cart-continue { display:block; margin-top:14px; text-align:center; }
.gh-cart-secure-note { margin:19px 0 0; color:#8993a2; font-size:11px; text-align:center; }
.gh-cart-empty { max-width:720px; margin:35px auto; padding:55px 25px; background:#fff; border:1px solid #e6ebf1; border-radius:14px; text-align:center; }
.gh-checkout-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr); gap:24px; align-items:start; padding:25px 0 45px; }
.gh-checkout-cart-panel { padding:24px; min-width:0; }
.gh-checkout-cart-panel .table-responsive { border:0; }
.gh-checkout-cart-panel table { margin:18px 0 0; font-size:12px; }
.gh-checkout-cart-panel table th { white-space:nowrap; background:#f6f8fb; }
.gh-checkout-details-panel { padding:25px; background:#f8fbfd; }
.gh-checkout-step-label { display:flex; align-items:center; gap:10px; margin:20px 0 12px; padding:11px 13px; border-radius:8px; background:#eef4f8; color:#344054; font-size:13px; font-weight:650; }
.gh-checkout-step-label span { display:inline-flex; width:23px; height:23px; align-items:center; justify-content:center; border-radius:50%; background:#17618e; color:#fff; }
.gh-checkout-details-panel h3.special { margin:14px 0 8px; font-size:17px; }
.gh-checkout-details-panel .gh-checkout-address-form { padding:15px; border:1px solid #e4eaf0; border-radius:10px; background:#fff; }
.gh-checkout-details-panel .form-control { border-radius:7px; min-height:39px; }
.gh-checkout-details-panel textarea.form-control { min-height:70px; }
.gh-checkout-details-panel .btn-primary { border-radius:7px; }
.gh-checkout-details-panel .paypal,.gh-checkout-details-panel #bank_form { padding:14px; margin-top:12px; border:1px solid #e4eaf0; border-radius:9px; background:#fff; }
.gh-promo-single-card,.gh-promo-single-card * { cursor:pointer; }
.gh-promo-single-card { position:relative; z-index:1; pointer-events:auto; }
.gh-promo-single-card img { pointer-events:none; user-select:none; -webkit-user-drag:none; }
.gh-promo-single-track { touch-action:pan-x pan-y; }
.gh-promo-single-track.gh-is-dragging { cursor:grabbing; }
@media(max-width:991px) {
 .gh-cart-form { grid-template-columns:minmax(0,1fr) 290px; gap:15px; }
 .gh-checkout-layout { grid-template-columns:minmax(0,1fr) minmax(330px,.9fr); gap:15px; }
}
@media(max-width:767px) {
 .gh-cart-page { padding:18px 0 30px; }
 .gh-cart-form,.gh-checkout-layout { grid-template-columns:1fr; }
 .gh-cart-summary { position:static; }
 .gh-cart-items-panel,.gh-cart-summary,.gh-checkout-cart-panel,.gh-checkout-details-panel { padding:16px; }
 .gh-cart-panel-heading h1,.gh-checkout-cart-panel h1,.gh-checkout-details-panel h1 { font-size:21px; }
 .gh-cart-item { grid-template-columns:76px minmax(0,1fr); gap:11px; }
 .gh-cart-item-photo { width:76px; height:76px; grid-row:span 2; }
 .gh-cart-item-price { grid-column:2; flex-direction:row; align-items:center; justify-content:space-between; gap:8px; }
 .gh-cart-panel-heading > a { display:none; }
 .gh-checkout-layout { padding:15px 0 30px; }
 .gh-checkout-details-panel { min-width:0; }
}


/* V3.41.20 customer authentication and automatic cart quantity updates */
.gh-login-page { padding:42px 0 56px; background:#f4f7fb; }
.gh-login-page .container { max-width:1080px; }
.gh-login-card { display:grid; grid-template-columns: .85fr 1.15fr; overflow:hidden; background:#fff; border:1px solid #e5ebf2; border-radius:20px; box-shadow:0 12px 38px rgba(16,39,67,.09); }
.gh-login-welcome { display:flex; flex-direction:column; justify-content:center; padding:54px 48px; background:linear-gradient(145deg,#e7f3ff,#f4f9ff); color:#10243d; }
.gh-login-kicker { color:#315d8b; font-size:11px; font-weight:800; letter-spacing:1.5px; }
.gh-login-welcome h1 { margin:16px 0 12px; color:#10243d; font-size:34px; line-height:1.2; font-weight:800; }
.gh-login-welcome h1 strong { display:block; font-size:42px; }
.gh-login-welcome p { max-width:360px; color:#52647b; font-size:16px; line-height:1.65; }
.gh-login-art { position:relative; display:flex; align-items:center; justify-content:center; gap:12px; min-height:170px; margin-top:24px; color:#142d49; }
.gh-login-art i { font-size:100px; color:#173d63; }
.gh-login-art span { align-self:center; padding:13px 16px; border-radius:8px; background:#ffc400; color:#10243d; font-size:18px; font-weight:900; }
.gh-login-form-panel { padding:48px 52px; }
.gh-login-form-panel h2 { margin:0 0 24px; color:#10243d; font-size:30px; font-weight:800; }
.gh-login-form .form-group { margin-bottom:19px; }
.gh-login-form label { display:block; margin-bottom:8px; color:#26384e; font-size:14px; font-weight:700; }
.gh-login-form .form-control { height:50px; border:1px solid #cbd5e1; border-radius:9px; box-shadow:none; padding:12px 15px; }
.gh-login-form .form-control:focus { border-color:#2869a7; box-shadow:0 0 0 3px rgba(40,105,167,.12); }
.gh-login-options { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:4px 0 22px; font-size:13px; }
.gh-login-options label { display:flex; align-items:center; gap:7px; margin:0; font-weight:500; }
.gh-login-options a,.gh-login-terms a { color:#0759b8; font-weight:650; }
.gh-login-submit { width:100%; min-height:50px; border:0; border-radius:9px; background:#ffc400; color:#172033; font-size:16px; font-weight:800; }
.gh-login-submit:hover { background:#efb600; }
.gh-login-or { display:flex; align-items:center; gap:14px; margin:22px 0; color:#687386; text-align:center; }
.gh-login-or:before,.gh-login-or:after { content:""; flex:1; height:1px; background:#e1e7ef; }
.gh-login-register { display:flex; align-items:center; justify-content:center; gap:10px; min-height:48px; border:1px solid #cbd5e1; border-radius:9px; color:#172f49; font-weight:750; }
.gh-login-register:hover { background:#f7f9fc; }
.gh-login-terms { margin:20px 0 0; color:#64748b; font-size:12px; line-height:1.6; text-align:center; }
.gh-auth-page .gh-auth-card { max-width:780px; margin:0 auto; border:1px solid #e5ebf2; border-radius:16px; background:#fff; box-shadow:0 8px 28px rgba(16,39,67,.07); }
.gh-auth-page .gh-auth-card form { width:100%; }
.gh-auth-page .gh-auth-card .form-control { min-height:48px; border-radius:9px; }
.gh-auth-page .gh-auth-card input[type=submit],.gh-auth-page .gh-auth-card .btn { min-height:46px; border:0; border-radius:9px; padding:11px 24px; background:#ffc400; color:#172033; font-weight:800; }
.gh-cart-qty-control { display:inline-flex; align-items:center; height:36px; overflow:hidden; border:1px solid #dce2e9; border-radius:8px; background:#fff; }
.gh-cart-qty-control .gh-qty-step { width:34px; height:34px; border:0; background:#f1f4f7; color:#172f49; font-size:20px; line-height:1; }
.gh-cart-qty-control .gh-cart-qty-input { width:42px; height:34px; padding:0 3px; border:0; border-right:1px solid #e4e9ef; border-left:1px solid #e4e9ef; border-radius:0; text-align:center; font-weight:700; -moz-appearance:textfield; }
.gh-cart-qty-control .gh-cart-qty-input::-webkit-outer-spin-button,.gh-cart-qty-control .gh-cart-qty-input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.gh-cart-bottom-actions { justify-content:flex-start; }
.gh-cart-bottom-actions a { display:inline-flex; padding:8px 0; font-weight:650; }
@media(max-width:767px) {
 .gh-login-page { padding:22px 0 34px; }
 .gh-login-card { grid-template-columns:1fr; border-radius:14px; }
 .gh-login-welcome { padding:25px 22px; }
 .gh-login-welcome h1 { font-size:25px; margin:8px 0; }
 .gh-login-welcome h1 strong { display:inline; font-size:30px; }
 .gh-login-welcome p { font-size:13px; margin-bottom:0; }
 .gh-login-art { min-height:75px; margin-top:5px; }
 .gh-login-art i { font-size:48px; }
 .gh-login-art span { padding:8px 10px; font-size:14px; }
 .gh-login-form-panel { padding:27px 22px; }
 .gh-login-form-panel h2 { font-size:24px; margin-bottom:18px; }
 .gh-login-options { font-size:12px; }
}


/* 247GH V3.41.25 modern asynchronous cart experience */
.gh-cart-link { position:relative; }
.gh-cart-popover { position:fixed; z-index:12000; top:82px; right:max(16px,calc((100vw - 1320px)/2 + 12px)); width:min(330px,calc(100vw - 24px)); padding:14px; border:1px solid #e1e7ef; border-radius:13px; background:#fff; box-shadow:0 12px 34px rgba(16,35,58,.2); color:#172033; }
.gh-cart-popover-pointer { position:absolute; top:-8px; right:27px; width:15px; height:15px; background:#fff; border-top:1px solid #e1e7ef; border-left:1px solid #e1e7ef; transform:rotate(45deg); }
.gh-cart-popover-heading { position:relative; display:flex; align-items:center; gap:8px; margin-bottom:12px; color:#176b43; font-size:13px; }
.gh-cart-popover-heading>i { font-size:17px; }
.gh-cart-popover-count { margin-left:auto; padding:4px 8px; border-radius:20px; background:#edf7f1; color:#176b43; font-size:11px; font-weight:700; }
.gh-cart-popover-product { display:flex; align-items:center; gap:11px; min-width:0; }
.gh-cart-popover-product img,.gh-cart-popover-placeholder { flex:0 0 62px; width:62px; height:62px; border-radius:8px; background:#f4f6f8; object-fit:contain; }
.gh-cart-popover-placeholder { display:flex; align-items:center; justify-content:center; color:#8b98a8; font-size:23px; }
.gh-cart-popover-product>div { display:flex; flex-direction:column; gap:6px; min-width:0; }
.gh-cart-popover-product strong { overflow:hidden; color:#25344a; font-size:13px; line-height:1.35; text-overflow:ellipsis; }
.gh-cart-popover-product small { color:#687386; font-size:11px; }
.gh-cart-popover>p { margin:11px 0 0; color:#758194; font-size:11px; line-height:1.45; }
.gh-cart-live-status { display:none; margin:0 0 12px; padding:10px 13px; border-radius:8px; background:#fff3f1; color:#a33225; font-size:13px; }
.gh-cart-live-status.is-visible { display:block; }
.gh-cart-form.is-cart-updating { cursor:progress; }
.gh-cart-form.is-cart-updating .gh-qty-step,.gh-cart-form.is-cart-updating [data-cart-remove] { opacity:.55; }
.gh-cart-remove { border:0; padding:0; background:transparent; cursor:pointer; }
.gh-cart-remove:hover { color:#b42318; }
.gh-cart-inline-error { max-width:1320px; margin:0 auto 12px; padding:10px 14px; border-radius:8px; background:#fff3f1; color:#a33225; }
@media(max-width:767px) { .gh-cart-popover { top:72px; right:10px; width:min(310px,calc(100vw - 20px)); } }

.gh-cart-popover-error { color:#a33225!important; }


/* V3.41.24 registration page styling restored for the current V3.41.25 working package */
.gh-registration-page { padding:38px 0 54px; }
.gh-registration-page .container { max-width:1120px; }
.gh-registration-card { display:grid; grid-template-columns:.78fr 1.22fr; overflow:hidden; border:1px solid #e3eaf2; border-radius:18px; background:#fff; box-shadow:0 12px 34px rgba(16,39,67,.08); }
.gh-registration-welcome { display:flex; flex-direction:column; justify-content:center; padding:46px 38px; background:linear-gradient(145deg,#e7f3ff,#f4f9ff); }
.gh-auth-kicker { color:#315d8b; font-size:11px; font-weight:800; letter-spacing:1.4px; }
.gh-registration-welcome h1 { margin:15px 0 12px; color:#10243d; font-size:32px; font-weight:800; line-height:1.2; }
.gh-registration-welcome h1 strong { display:block; font-size:38px; }
.gh-registration-welcome p { color:#52647b; font-size:15px; line-height:1.7; }
.gh-registration-benefits { display:grid; gap:14px; margin-top:28px; color:#24415f; font-size:14px; font-weight:650; }
.gh-registration-benefits i { width:24px; color:#17618e; }
.gh-registration-form-panel { padding:38px 42px; }
.gh-registration-form-panel h2 { margin:0 0 22px; color:#10243d; font-size:27px; font-weight:800; }
.gh-registration-form .form-group { margin-bottom:15px; }
.gh-registration-form label { display:block; margin-bottom:7px; color:#344054; font-size:13px; font-weight:700; }
.gh-registration-form .form-control { min-height:46px; border:1px solid #d4dce6; border-radius:8px; box-shadow:none; }
.gh-registration-form textarea.form-control { min-height:82px; }
.gh-registration-submit { width:100%; min-height:49px; border:0; border-radius:9px; background:#ffc400; color:#172033; font-size:15px; font-weight:800; }
.gh-registration-login { margin:18px 0 0; color:#64748b; text-align:center; }
.gh-registration-login a { color:#0759b8; font-weight:750; }
 .gh-registration-page { padding:20px 0 34px; }
 .gh-registration-card { grid-template-columns:1fr; border-radius:13px; }
 .gh-registration-welcome { padding:24px 22px; }
 .gh-registration-welcome h1 { font-size:25px; margin:9px 0; }
 .gh-registration-welcome h1 strong { display:inline; font-size:28px; }
 .gh-registration-welcome p { margin-bottom:0; font-size:13px; }
 .gh-registration-benefits { gap:8px; margin-top:15px; font-size:12px; }
 .gh-registration-form-panel { padding:25px 20px; }
 .gh-registration-form-panel h2 { font-size:23px; }
@media(max-width:767px) {
.gh-registration-page { padding:20px 0 34px; }
.gh-registration-card { grid-template-columns:1fr; border-radius:13px; }
.gh-registration-welcome { padding:24px 22px; }
.gh-registration-welcome h1 { font-size:25px; margin:9px 0; }
.gh-registration-welcome h1 strong { display:inline; font-size:28px; }
.gh-registration-welcome p { margin-bottom:0; font-size:13px; }
.gh-registration-benefits { gap:8px; margin-top:15px; font-size:12px; }
.gh-registration-form-panel { padding:25px 20px; }
.gh-registration-form-panel h2 { font-size:23px; }
}

/* 247GH registration page polish — visual-only update; form names and PHP flow remain unchanged */
.gh-registration-page {
  padding: 46px 0 64px;
  background: #f4f7fb;
}
.gh-registration-page .container { max-width: 1160px; }
.gh-registration-card {
  display: grid;
  grid-template-columns: minmax(270px, .78fr) minmax(0, 1.22fr);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 39, 67, .10);
}
.gh-registration-welcome {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 42px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #102a46 0%, #174d70 58%, #176b83 100%);
}
.gh-registration-welcome:after {
  position: absolute;
  z-index: -1;
  right: -105px;
  bottom: -145px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,.035), 0 0 0 58px rgba(255,255,255,.025);
  content: "";
}
.gh-auth-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 30px;
  color: #ffe08a;
  background: rgba(255,255,255,.08);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.5px;
}
.gh-registration-welcome h1 {
  margin: 20px 0 13px;
  color: #fff;
  font-size: 31px;
  font-weight: 750;
  line-height: 1.22;
}
.gh-registration-welcome h1 strong {
  display: block;
  color: #ffd15b;
  font-size: 39px;
  font-weight: 850;
}
.gh-registration-welcome p {
  max-width: 340px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.75;
}
.gh-registration-benefits {
  display: grid;
  gap: 13px;
  margin-top: 30px;
  color: #f4f8fc;
  font-size: 13px;
  font-weight: 650;
}
.gh-registration-benefits span { display: flex; align-items: center; gap: 10px; }
.gh-registration-benefits i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  color: #ffe08a;
  background: rgba(255,255,255,.12);
}
.gh-registration-form-panel { padding: 42px 46px; }
.gh-registration-form-panel h2 {
  margin: 0 0 8px;
  color: #142b43;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -.45px;
}
.gh-registration-form-panel h2:after {
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 13px;
  border-radius: 4px;
  background: #f5b323;
  content: "";
}
.gh-registration-form .row { margin-right: -9px; margin-left: -9px; }
.gh-registration-form .form-group { margin-bottom: 17px; padding-right: 9px; padding-left: 9px; }
.gh-registration-form label {
  display: block;
  margin-bottom: 7px;
  color: #34465b;
  font-size: 12px;
  font-weight: 750;
}
.gh-registration-form .form-control {
  min-height: 47px;
  padding: 10px 13px;
  border: 1px solid #d9e1eb;
  border-radius: 9px;
  color: #1b2e43;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(16,39,67,.025);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.gh-registration-form .form-control:focus {
  border-color: #3983b2;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(57,131,178,.13);
}
.gh-registration-form textarea.form-control { min-height: 86px; resize: vertical; }
.gh-registration-form select.form-control { cursor: pointer; }
.gh-registration-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 51px;
  margin-top: 3px;
  border: 0;
  border-radius: 10px;
  color: #172033;
  background: linear-gradient(180deg, #ffd45c 0%, #f5b323 100%);
  box-shadow: 0 5px 13px rgba(190,132,18,.18);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .15px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.gh-registration-submit:hover,
.gh-registration-submit:focus {
  color: #172033;
  filter: brightness(1.025);
  box-shadow: 0 8px 18px rgba(190,132,18,.23);
  transform: translateY(-1px);
}
.gh-registration-login {
  margin: 20px 0 0;
  color: #68788b;
  font-size: 13px;
  text-align: center;
}
.gh-registration-login a { color: #12608e; font-weight: 800; text-decoration: none; }
.gh-registration-login a:hover { color: #0d4568; text-decoration: underline; }
.gh-registration-form-panel .error,
.gh-registration-form-panel .success { margin: 0 0 18px; padding: 12px 14px; border-radius: 9px; }
@media (max-width: 900px) {
  .gh-registration-card { grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr); }
  .gh-registration-welcome { padding: 38px 28px; }
  .gh-registration-form-panel { padding: 34px 28px; }
}
@media (max-width: 767px) {
  .gh-registration-page { padding: 20px 0 34px; }
  .gh-registration-card { grid-template-columns: 1fr; border-radius: 14px; }
  .gh-registration-welcome { padding: 27px 23px 25px; }
  .gh-registration-welcome h1 { margin: 14px 0 9px; font-size: 25px; }
  .gh-registration-welcome h1 strong { display: inline; font-size: 29px; }
  .gh-registration-welcome p { font-size: 13px; }
  .gh-registration-benefits { grid-template-columns: 1fr; gap: 9px; margin-top: 18px; font-size: 12px; }
  .gh-registration-benefits i { width: 26px; height: 26px; }
  .gh-registration-form-panel { padding: 27px 20px 25px; }
  .gh-registration-form-panel h2 { font-size: 23px; }
  .gh-registration-form .form-group { margin-bottom: 13px; }
}

/* V3.41.27 product detail refinement: scoped to product detail only */
.gh-product-detail { max-width: 1240px; margin: 0 auto; padding: 28px 30px 36px; background:#fff; border:1px solid #e8edf2; border-radius:12px; box-shadow:0 8px 28px rgba(18,38,63,.06); }
.gh-product-detail > .gh-product-top-row { display:grid; grid-template-columns:minmax(300px,1.05fr) minmax(300px,1.05fr) minmax(235px,.72fr); gap:28px; margin:0; align-items:start; }
.gh-product-detail > .gh-product-top-row:before,.gh-product-detail > .gh-product-top-row:after { display:none; }
.gh-product-detail .gh-product-gallery-column,.gh-product-detail .gh-product-info-column,.gh-product-detail .gh-product-delivery-column { float:none; width:auto; padding:0; min-width:0; }
.gh-product-detail .gh-product-gallery-column { display:grid; grid-template-columns:76px minmax(0,1fr); grid-template-rows:minmax(360px,auto); column-gap:14px; align-items:start; }
.gh-product-detail .gh-product-gallery-column .bx-wrapper { grid-column:2; grid-row:1; width:100%; margin:0; border:0; box-shadow:none; }
.gh-product-detail .gh-product-gallery-column ul.prod-slider { margin:0; padding:0; }
.gh-product-detail .gh-product-gallery-column ul.prod-slider li { height:430px; background-size:contain; background-position:center; background-color:#fff; border-radius:10px; }
.gh-product-detail .gh-product-gallery-column #prod-pager { grid-column:1; grid-row:1; display:flex; flex-direction:column; gap:10px; margin:0; max-height:430px; overflow-y:auto; }
.gh-product-detail .gh-product-gallery-column #prod-pager a { float:none; display:block; margin:0; padding:3px; border:1px solid #e1e7ee; border-radius:8px; background:#fff; }
.gh-product-detail .gh-product-gallery-column #prod-pager a.active { border-color:#f39a24; box-shadow:0 0 0 1px #f39a24; }
.gh-product-detail .gh-product-gallery-column .prod-pager-thumb { width:64px; height:72px; background-size:contain; background-position:center; }
.gh-product-detail .gh-product-info-column { padding:2px 0 0; }
.gh-product-detail .p-title h2 { font-size:25px; line-height:1.3; margin:0 0 10px; }
.gh-product-detail .p-price { margin:18px 0; }
.gh-product-detail .p-quantity { margin:18px 0 14px; }
.gh-product-detail .p-quantity input { min-height:40px; border:1px solid #cbd5df; border-radius:6px; padding:6px 10px; }
.gh-product-detail .btn-cart input[type=submit] { min-height:46px; padding:0 28px; border:0; border-radius:7px; background:#f39a16; color:#fff; font-weight:700; }
.gh-product-detail .gh-product-delivery-card { padding:20px 18px; border:1px solid #e1e8ef; border-radius:10px; background:#fbfcfe; box-shadow:0 4px 14px rgba(20,40,70,.05); }
.gh-product-detail .gh-product-delivery-card h3 { margin:0 0 16px; font-size:19px; line-height:1.3; color:#142b48; }
.gh-product-detail .gh-product-delivery-card p { margin:8px 0; line-height:1.55; overflow-wrap:anywhere; }
.gh-product-detail .gh-delivery-action { display:inline-block; margin:8px 0 12px; font-weight:700; }
.gh-product-detail .gh-delivery-charge { display:flex; flex-direction:column; gap:4px; padding:12px 0; margin:10px 0; border-top:1px solid #e4eaf0; border-bottom:1px solid #e4eaf0; }
.gh-product-detail .gh-delivery-benefits { display:grid; gap:14px; margin-top:16px; }
.gh-product-detail .gh-delivery-benefits > div { display:grid; grid-template-columns:22px minmax(0,1fr); gap:10px; align-items:start; }
.gh-product-detail .gh-delivery-benefits > div > i { color:#1b5d8c; margin-top:2px; }
.gh-product-detail .gh-delivery-benefits span { display:block; min-width:0; }
.gh-product-detail .gh-delivery-benefits strong,.gh-product-detail .gh-delivery-benefits small { display:block; line-height:1.45; }
.gh-product-detail .gh-delivery-benefits small { color:#667487; margin-top:2px; }
.gh-product-detail > .row:not(.gh-product-top-row) { margin-top:34px; }
.gh-product-detail .nav-tabs { margin-top:0; }
.gh-product-detail + .product.bg-gray { padding-top:42px !important; }
.gh-product-detail + .product.bg-gray .product-carousel .thumb .photo { background-size:contain; background-position:center; background-repeat:no-repeat; min-height:190px; }
.gh-product-detail + .product.bg-gray .product-carousel .text { padding:12px; background:#fff; }
@media (max-width: 991px) {
 .gh-product-detail > .gh-product-top-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
 .gh-product-detail .gh-product-delivery-column { grid-column:1 / -1; }
 .gh-product-detail .gh-product-delivery-card { display:grid; grid-template-columns:1fr 1fr; gap:14px 22px; }
 .gh-product-detail .gh-product-delivery-card h3 { grid-column:1 / -1; }
 .gh-product-detail .gh-delivery-benefits { margin-top:0; }
}
@media (max-width: 767px) {
 .gh-product-detail { padding:18px 14px 24px; border-radius:8px; }
 .gh-product-detail > .gh-product-top-row { display:flex; flex-direction:column; gap:24px; }
 .gh-product-detail .gh-product-gallery-column { width:100%; grid-template-columns:60px minmax(0,1fr); grid-template-rows:minmax(260px,auto); }
 .gh-product-detail .gh-product-gallery-column ul.prod-slider li { height:300px; }
 .gh-product-detail .gh-product-gallery-column #prod-pager { max-height:300px; }
 .gh-product-detail .gh-product-gallery-column .prod-pager-thumb { width:50px; height:58px; }
 .gh-product-detail .gh-product-info-column,.gh-product-detail .gh-product-delivery-column { width:100%; }
 .gh-product-detail .gh-product-delivery-card { display:block; }
}

/* 247GH Account Dropdown — Classic Navy and White */
.gh-account-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.gh-account-wrap .gh-account-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    background: #142b48;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    color: #fff !important;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}

.gh-account-wrap .gh-account-link:hover,
.gh-account-wrap .gh-account-link:focus {
    background: #1c3b60;
    border-color: rgba(255,255,255,.5);
    color: #fff !important;
    text-decoration: none;
}

.gh-account-wrap .gh-account-link small,
.gh-account-wrap .gh-account-link strong,
.gh-account-wrap .gh-account-link i {
    color: #fff !important;
}

.gh-account-wrap .gh-account-chevron {
    display: inline-block !important;
    margin-left: 2px;
    font-size: 12px;
}

.gh-account-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    min-width: 225px;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #e1e7ee;
    border-radius: 9px;
    box-shadow: 0 10px 28px rgba(15,35,60,.18);
    z-index: 10000;
}

.gh-account-menu[hidden] {
    display: none !important;
}

.gh-account-menu a {
    display: block;
    padding: 11px 16px;
    color: #142b48 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.gh-account-menu a:hover,
.gh-account-menu a:focus {
    background: #f1f5f9;
    color: #142b48 !important;
    text-decoration: none;
}

.gh-account-menu .gh-account-logout {
    margin-top: 5px;
    padding-top: 12px;
    border-top: 1px solid #e5eaf0;
    color: #b42318 !important;
}

@media (max-width: 767px) {
    .gh-account-wrap .gh-account-link {
        gap: 5px;
        padding: 6px 8px;
    }

    .gh-account-wrap .gh-account-chevron {
        display: inline-block !important;
        font-size: 11px;
    }

    .gh-account-menu {
        min-width: 210px;
        max-width: calc(100vw - 24px);
    }
}

/* 247GH: Restore human icon in mobile account badge */
@media (max-width: 767px) {
    .gh-account-wrap .gh-account-link > i:first-child {
        display: inline-block !important;
        visibility: visible !important;
        font-size: 17px !important;
    }

    .gh-account-wrap .gh-account-link > i.gh-account-chevron {
        display: inline-block !important;
        visibility: visible !important;
    }
}

/* 247GH: Customer Address Book */
.gh-account-page .gh-address-intro {
    margin-bottom: 24px;
}

.gh-account-page .gh-address-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 22px 0;
}

.gh-account-page .gh-address-card {
    min-width: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.gh-account-page .gh-address-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.gh-account-page .gh-address-card-heading h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

.gh-account-page .gh-address-default {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    background: #e8f5ee;
    color: #176b3a;
    font-size: 12px;
    font-weight: 600;
}

.gh-account-page .gh-address-details {
    color: #4b5563;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.gh-account-page .gh-address-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.gh-account-page .gh-address-actions .btn {
    margin: 0;
}

.gh-account-page .gh-address-empty {
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    text-align: center;
}

.gh-account-page .gh-address-card .form-control {
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 767px) {
    .gh-account-page .gh-address-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .gh-account-page .gh-address-card {
        padding: 16px;
    }

    .gh-account-page .gh-address-actions {
        gap: 8px;
    }

    .gh-account-page .gh-address-actions .btn {
        flex: 1 1 auto;
    }
}
