/* =========================================================
   DevCart - Corporate Gifting
   ========================================================= */

:root {
    --brand: #f2521d;
    --brand-dark: #d8430f;
    --navy: #121a3a;
    --navy-dark: #0e1733;
    --text: #1f2333;
    --muted: #5c6070;
    --cream: #fdf3e7;
    --border: #eee3d6;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-brand: 'Black Ops One', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: #fff;
}

a {
    text-decoration: none;
}

/* ---------- Buttons ---------- */
.btn-brand {
    background: var(--brand);
    color: #fff;
    border: 1px solid var(--brand);
    padding: 12px 26px;
    font-weight: 600;
    border-radius: 4px;
}

.btn-brand:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.btn-outline-dark-brand {
    background: #fff;
    color: var(--text);
    border: 1px solid #c9c9c9;
    padding: 12px 22px;
    font-weight: 600;
    border-radius: 4px;
}

.btn-outline-dark-brand:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: #fff;
}

/* ---------- Brand / Logo ---------- */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    height: 58px;
    width: auto;
}

.brand span {
    font-family: var(--font-brand);
    font-size: 30px;
    letter-spacing: 2px;
    color: var(--navy);
    line-height: 1;
}

.brand-light span {
    color: #fff;
    font-size: 24px;
}

.brand-light img {
    height: 46px;
}

/* ---------- Header ---------- */
.site-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.site-header .navbar {
    padding: 8px 0;
}

.main-menu .nav-link {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px !important;
    position: relative;
}

.main-menu .nav-link.active,
.main-menu .nav-link:hover {
    color: var(--brand);
}

.main-menu .nav-link.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -14px;
    height: 2px;
    background: var(--brand);
}

.header-login {
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.header-login i {
    font-size: 24px;
}

.header-login:hover {
    color: var(--brand);
}

.header-divider {
    width: 1px;
    height: 40px;
    background: #e3e3e3;
}

.header-cart {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text);
}

.cart-icon {
    position: relative;
    font-size: 26px;
    line-height: 1;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-text {
    font-size: 12px;
    line-height: 1.3;
}

.cart-text strong {
    display: block;
    font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background-color: var(--cream);
    background-size: cover;
    background-position: center right;
    padding-top: 36px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(253, 243, 231, 0.95) 0%, rgba(253, 243, 231, 0.85) 38%, rgba(253, 243, 231, 0) 60%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    padding: 0 0 30px;
}

.hero-tag {
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 10px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 18px;
    max-width: 460px;
}

.hero h1 span {
    color: var(--brand);
}

.hero-text {
    font-size: 16px;
    color: var(--text);
    max-width: 420px;
    margin-bottom: 24px;
}

.hero-features-wrap {
    position: relative;
    z-index: 1;
}

.hero-features {
    display: flex;
    background: rgba(255, 250, 244, 0.95);
    border-radius: 0 60px 0 0;
    max-width: 740px;
    padding: 20px 0;
    margin-left: -12px;
}

.hero-feature {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 13px;
    line-height: 1.35;
    border-right: 1px solid #e8dccd;
    padding: 0 12px;
}

.hero-feature:last-child {
    border-right: 0;
}

.hero-feature i {
    font-size: 34px;
    color: var(--brand);
}

/* ---------- Sections ---------- */
.section-block {
    padding: 22px 0 30px;
}

.section-head {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    min-height: 46px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--brand);
}

.btn-view-all {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid var(--brand);
    color: var(--brand);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 4px;
    background: #fff;
}

.btn-view-all:hover {
    background: var(--brand);
    color: #fff;
}

/* ---------- Product Card ---------- */
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
}

.product-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.product-img {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--cream);
}

.product-card-sm .product-img {
    aspect-ratio: 8 / 7;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.wishlist-btn:hover {
    color: var(--brand);
}

.product-body {
    padding: 14px 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 12px;
}

.product-actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
}

.product-actions .btn {
    flex: 1;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 4px;
    border-radius: 3px;
    white-space: nowrap;
}

.product-actions.stacked {
    flex-direction: column;
}

.btn-cart {
    background: var(--brand);
    color: #fff;
    border: 1px solid var(--brand);
}

.btn-cart:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.btn-details {
    background: #fff;
    color: var(--brand);
    border: 1px solid var(--brand);
}

.btn-details:hover {
    background: var(--brand);
    color: #fff;
}

/* ---------- Why Choose DevCart ---------- */
.choose-section {
    position: relative;
    background: linear-gradient(180deg, #fbeee0 0%, #f8e3cc 100%);
    padding: 16px 0;
    overflow: hidden;
    margin-top: 10px;
}

.choose-deco {
    position: absolute;
    bottom: 0;
    width: 170px;
    height: auto;
    object-fit: cover;
}

.choose-deco-left {
    left: 0;
}

.choose-deco-right {
    right: 0;
    width: 110px;
}

.choose-box {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 18px 28px;
    margin: 0 90px 0 150px;
}

.choose-title {
    padding-right: 28px;
    border-right: 1px solid #e8dccd;
    flex-shrink: 0;
}

.choose-title h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    line-height: 1;
}

.choose-title h2 span {
    display: block;
    font-size: 38px;
    font-weight: 800;
    color: var(--brand);
    margin-top: 4px;
}

.choose-title p {
    font-size: 14px;
    margin: 8px 0 0;
    line-height: 1.35;
}

.choose-items {
    display: flex;
    flex: 1;
}

.choose-item {
    flex: 1;
    text-align: center;
    font-size: 12.5px;
    line-height: 1.35;
    border-right: 1px solid #e8dccd;
    padding: 0 10px;
}

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

.choose-item i {
    display: block;
    font-size: 30px;
    color: var(--brand);
    margin-bottom: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-dark);
    color: #d7dbe6;
    padding: 30px 0 0;
    font-size: 13px;
}

.footer-about {
    line-height: 1.6;
    margin-top: 12px;
}

.footer-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    white-space: nowrap;
}

.footer-contact i {
    font-size: 15px;
}

.site-footer a {
    color: #d7dbe6;
}

.site-footer a:hover {
    color: var(--brand);
}

.footer-social {
    display: flex;
    gap: 18px;
    font-size: 20px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form .form-control {
    border-radius: 3px 0 0 3px;
    border: 0;
    font-size: 12px;
    padding: 10px 12px;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form button {
    background: var(--brand);
    color: #fff;
    border: 0;
    width: 40px;
    border-radius: 0 3px 3px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 24px;
    padding: 18px 0;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom span {
    margin: 0 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .choose-box {
        margin: 0 40px 0 110px;
    }

    .choose-deco-left {
        width: 130px;
    }

    .choose-deco-right {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .main-menu {
        padding: 10px 0;
    }

    .main-menu .nav-link.active::after {
        display: none;
    }

    .hero::before {
        background: linear-gradient(90deg, rgba(253, 243, 231, 0.95) 0%, rgba(253, 243, 231, 0.8) 60%, rgba(253, 243, 231, 0.3) 100%);
    }

    .hero-features {
        border-radius: 0;
        max-width: none;
        margin: 0;
        flex-wrap: wrap;
        row-gap: 16px;
    }

    .hero-feature {
        flex: 0 0 50%;
        justify-content: flex-start;
    }

    .hero-feature:nth-child(2) {
        border-right: 0;
    }

    .choose-deco {
        display: none;
    }

    .choose-box {
        margin: 0;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .choose-title {
        border-right: 0;
        padding-right: 0;
    }

    .choose-items {
        width: 100%;
        flex-wrap: wrap;
        row-gap: 18px;
    }
}

@media (max-width: 767.98px) {
    .brand img {
        height: 44px;
    }

    .brand span {
        font-size: 22px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .section-head {
        justify-content: space-between;
    }

    .section-title {
        font-size: 24px;
    }

    .section-title::after {
        left: 0;
        transform: none;
    }

    .btn-view-all {
        position: static;
        transform: none;
    }

    .choose-item {
        flex: 0 0 33.333%;
    }

    .choose-item:nth-child(3) {
        border-right: 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-feature {
        font-size: 12px;
        gap: 8px;
    }

    .hero-feature i {
        font-size: 26px;
    }

    .product-actions .btn {
        font-size: 11px;
    }

    .choose-item {
        flex: 0 0 50%;
    }

    .choose-item:nth-child(3) {
        border-right: 1px solid #e8dccd;
    }

    .choose-item:nth-child(2n) {
        border-right: 0;
    }
}

/* =========================================================
   About Us
   ========================================================= */

.about-hero {
    padding: 44px 0 30px;
}

.about-hero h1 {
    max-width: none;
    font-size: 42px;
}

.about-hero .hero-text {
    max-width: 440px;
    font-size: 15px;
}

.story-section {
    padding-top: 24px;
}

.story-img {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 7;
}

.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-text p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text);
}

.story-text p:last-child {
    margin-bottom: 0;
}

/* Features strip */
.about-features {
    background: var(--cream);
    border-radius: 16px 16px 0 0;
    padding: 12px 0 34px;
    margin-top: 12px;
}

.about-feature {
    text-align: center;
    padding: 0 16px;
    border-right: 1px solid #e8dccd;
    height: 100%;
}

.row > div:last-child .about-feature {
    border-right: 0;
}

.about-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(242, 82, 29, 0.12);
    color: var(--brand);
    font-size: 26px;
    margin-bottom: 10px;
}

.about-feature h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.about-feature p {
    font-size: 13.5px;
    color: var(--muted);
    margin: 0;
    line-height: 1.45;
}

/* Stats bar */
.stats-wrap {
    background: linear-gradient(180deg, var(--cream) 50%, #fff 50%);
}

.stats-bar {
    display: flex;
    background: var(--navy);
    border-radius: 10px;
    padding: 22px 10px;
}

.stat-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0 12px;
}

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

.stat-item i {
    font-size: 34px;
    color: var(--brand);
}

.stat-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: lining-nums;
}

.stat-item span {
    font-size: 12.5px;
    color: #d7dbe6;
}

/* Mission / Vision / Values */
.mvv-section {
    padding-top: 30px;
}

.mvv-card {
    display: flex;
    gap: 18px;
    border-radius: 8px;
    padding: 20px 18px;
    height: 100%;
}

.mvv-mission { background: #fdf1e6; }
.mvv-vision  { background: #eaf2fd; }
.mvv-values  { background: #eaf8ee; }

.mvv-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    font-size: 28px;
}

.mvv-mission .mvv-icon { color: var(--brand); }
.mvv-vision .mvv-icon  { color: #1a3fc4; }
.mvv-values .mvv-icon  { color: #1f9d55; background: transparent; }

.mvv-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin: 4px 0 8px;
}

.mvv-card p {
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
}

.mvv-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13.5px;
}

.mvv-card li {
    margin-bottom: 4px;
}

.mvv-card li i {
    color: var(--brand);
    margin-right: 6px;
}

/* CTA */
.cta-section {
    position: relative;
    background: linear-gradient(180deg, #fbeee0 0%, #f8e3cc 100%);
    padding: 22px 0 18px;
    overflow: hidden;
    margin-top: 10px;
}

.cta-deco {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 100%;
    object-fit: cover;
}

.cta-deco-left {
    left: 0;
    -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent);
    mask-image: linear-gradient(90deg, #000 60%, transparent);
}

.cta-deco-right {
    right: 0;
    -webkit-mask-image: linear-gradient(270deg, #000 60%, transparent);
    mask-image: linear-gradient(270deg, #000 60%, transparent);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content .hero-tag {
    font-size: 11px;
    margin-bottom: 4px;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.cta-content h2 span {
    color: var(--brand);
}

.cta-content p {
    font-size: 14px;
    margin-bottom: 14px;
}

.cta-content .btn-brand {
    padding: 8px 18px;
    font-size: 14px;
}

@media (max-width: 991.98px) {
    .about-features .row > div:nth-child(2) .about-feature {
        border-right: 0;
    }

    .about-features .row {
        row-gap: 24px;
    }

    .stats-bar {
        flex-wrap: wrap;
        row-gap: 20px;
    }

    .stat-item {
        flex: 0 0 50%;
        justify-content: flex-start;
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }

    .cta-deco {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .about-hero h1 {
        font-size: 32px;
    }

    .story-img {
        aspect-ratio: 16 / 9;
    }

    .stat-item {
        gap: 10px;
        padding: 0 8px;
    }

    .stat-item i {
        font-size: 26px;
    }

    .stat-item strong {
        font-size: 20px;
    }

    .stat-item span {
        font-size: 11px;
    }

    .cta-content h2 {
        font-size: 24px;
    }
}

/* =========================================================
   Listing pages (Hampers)
   ========================================================= */

.page-banner {
    position: relative;
    background-color: var(--cream);
    background-size: cover;
    background-position: center;
    padding: 30px 0 28px;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(253, 243, 231, 0.96) 0%, rgba(253, 243, 231, 0.9) 36%, rgba(253, 243, 231, 0) 62%);
}

.page-banner-content {
    position: relative;
    z-index: 1;
    padding-left: 56px;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.12;
    color: var(--navy);
    margin-bottom: 14px;
}

.page-banner h1 span {
    color: var(--brand);
}

.page-banner-content > p:last-child {
    font-size: 15px;
    max-width: 340px;
    margin: 0;
}

.listing-section {
    padding: 22px 0 18px;
}

.listing-section .row {
    padding: 0 12px;
}

.section-title.title-left {
    margin: 0 0 20px 12px;
}

.section-title.title-left::after {
    left: 44px;
}

@media (max-width: 991.98px) {
    .page-banner::before {
        background: linear-gradient(90deg, rgba(253, 243, 231, 0.95) 0%, rgba(253, 243, 231, 0.8) 60%, rgba(253, 243, 231, 0.3) 100%);
    }

    .page-banner-content {
        padding-left: 0;
    }

    .listing-section .row {
        padding: 0;
    }

    .section-title.title-left {
        margin-left: 0;
    }
}

@media (max-width: 767.98px) {
    .page-banner h1 {
        font-size: 30px;
    }

    .section-title.title-left::after {
        left: 0;
    }
}

/* =========================================================
   Contact Us
   ========================================================= */

.contact-banner {
    padding: 36px 0 26px;
}

.contact-banner h1 {
    font-size: 56px;
    line-height: 1.05;
    margin-bottom: 8px;
}

.contact-banner h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.contact-banner .page-banner-content > p:last-child {
    font-size: 17px;
    max-width: 480px;
    line-height: 1.4;
}

.contact-section {
    padding: 28px 0 20px;
}

.contact-card {
    background: #fdf6ef;
    border-radius: 10px;
    padding: 26px 30px 28px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fde3d8;
    color: var(--brand);
    font-size: 30px;
    margin-bottom: 16px;
}

.contact-icon-green {
    background: #dcf5e3;
    color: #25d366;
    font-size: 34px;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.contact-value {
    display: block;
    font-size: 19px;
    color: var(--text);
    margin-bottom: 10px;
}

a.contact-value:hover {
    color: var(--brand);
}

.contact-card p {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}

.contact-form-box {
    border: 1px solid #eee3d6;
    border-radius: 8px;
    padding: 26px 32px 24px;
    height: 100%;
}

.contact-form-box .section-title {
    font-size: 30px;
    margin-bottom: 14px !important;
}

.contact-form-box .section-title::after {
    left: 0;
    transform: none;
}

.contact-form-intro {
    font-size: 15.5px;
    margin-bottom: 14px;
}

.contact-form-box .form-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.contact-form-box .form-label span {
    color: var(--brand);
}

.input-icon {
    position: relative;
}

.input-icon > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

.input-icon-top > i {
    top: 12px;
    transform: none;
}

.contact-form-box .form-control,
.contact-form-box .form-select {
    font-size: 15px;
    padding: 10px 14px 10px 42px;
    border-color: #dcdcdc;
    border-radius: 4px;
}

.contact-form-box .form-control:focus,
.contact-form-box .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(242, 82, 29, 0.15);
}

.contact-form-box textarea.form-control {
    resize: vertical;
    min-height: 88px;
}

.contact-submit {
    padding: 14px;
    font-size: 19px;
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .contact-banner h1 {
        font-size: 44px;
    }

    .contact-banner h2 {
        font-size: 24px;
    }
}

@media (max-width: 575.98px) {
    .contact-banner h1 {
        font-size: 38px;
    }

    .contact-banner h2 {
        font-size: 21px;
    }

    .contact-banner .page-banner-content > p:last-child {
        font-size: 15px;
    }

    .contact-card {
        padding: 22px;
    }

    .contact-icon {
        width: 58px;
        height: 58px;
        font-size: 26px;
    }

    .contact-card h3 {
        font-size: 21px;
    }

    .contact-value {
        font-size: 17px;
    }

    .contact-form-box {
        padding: 22px 18px;
    }

    .contact-form-box .section-title {
        font-size: 25px;
    }

    .contact-submit {
        font-size: 17px;
    }
}

/* =========================================================
   Products
   ========================================================= */

.products-banner {
    padding: 28px 0 30px;
}

.products-banner .hero-tag {
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 4px;
}

.products-banner h1 {
    font-size: 62px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 12px;
}

.products-banner .page-banner-content > p:last-child {
    font-size: 21px;
    max-width: none;
}

.products-listing {
    padding: 26px 0 24px;
}

.products-container {
    max-width: 1580px;
    padding: 0 34px;
}

.product-card-detailed {
    border-color: #f1ebe4;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.product-card-detailed .product-img {
    aspect-ratio: 3 / 2;
}

.product-card-detailed .product-body {
    padding: 14px 14px 14px;
}

.product-card-detailed .product-name {
    font-size: 16px;
}

.product-card-detailed .product-price {
    font-size: 20px;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    margin-bottom: 14px;
}

.product-card-detailed .product-actions {
    gap: 10px;
}

.product-card-detailed .product-actions .btn {
    font-size: 13px;
    padding: 9px 6px;
}

.product-card-detailed .btn-cart i {
    margin-right: 4px;
}

@media (max-width: 991.98px) {
    .products-banner h1 {
        font-size: 48px;
    }

    .products-banner .page-banner-content > p:last-child {
        font-size: 17px;
    }

    .products-container {
        padding: 0 20px;
    }
}

@media (max-width: 575.98px) {
    .products-banner h1 {
        font-size: 40px;
    }

    .products-banner .hero-tag {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .products-banner .page-banner-content > p:last-child {
        font-size: 15px;
    }

    .products-container {
        padding: 0 16px;
    }
}

/* =========================================================
   Cart
   ========================================================= */

.add-to-cart-form {
    display: flex;
    flex: 1;
    margin: 0;
}

.add-to-cart-form .btn {
    flex: 1;
}

.product-actions .add-to-cart-form .btn {
    width: 100%;
}

.header-cart.active .cart-text {
    color: var(--brand);
}

.cart-toast {
    background: #fff;
    border: 0;
    border-left: 4px solid #1f9d55;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cart-toast .toast-body {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.cart-toast .bi-check-circle-fill {
    color: #1f9d55;
    font-size: 18px;
}

.cart-toast a {
    color: var(--brand);
    font-weight: 600;
    white-space: nowrap;
}

.cart-section {
    padding: 16px 0 34px;
}

.cart-breadcrumb {
    font-size: 17px;
    margin-bottom: 18px;
}

.cart-breadcrumb a {
    color: var(--text);
}

.cart-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 22px;
}

.cart-head h1 {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 6px;
}

.cart-head p {
    font-size: 19px;
    color: var(--muted);
    margin: 0;
}

.continue-link {
    color: var(--brand);
    text-decoration: underline;
    font-size: 16px;
    white-space: nowrap;
    margin-bottom: 26px;
}

.continue-link i {
    font-size: 13px;
    margin-right: 8px;
}

.cart-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 12px 12px 4px;
}

.cart-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px 130px 105px 60px;
    align-items: center;
    column-gap: 10px;
    padding: 14px 14px;
    border-bottom: 1px solid #eee;
}

.cart-row:last-child {
    border-bottom: 0;
}

.cart-row-head {
    background: #f6f6f8;
    border-radius: 6px;
    border-bottom: 0;
    font-size: 16px;
    font-weight: 600;
    color: #454a5a;
    padding: 14px 18px;
}

.cart-row-head span:not(:first-child) {
    text-align: center;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 22px;
}

.cart-thumb {
    flex: 0 0 150px;
    height: 106px;
    border-radius: 6px;
    overflow: hidden;
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-product h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cart-product h3 a {
    color: var(--navy);
}

.cart-product h3 a:hover {
    color: var(--brand);
}

.cart-product p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-cell {
    display: flex;
    justify-content: center;
}

.cart-price {
    font-size: 19px;
    font-weight: 700;
    color: var(--brand);
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px;
}

.qty-control button {
    width: 32px;
    height: 36px;
    border: 0;
    background: none;
    font-size: 20px;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-control button:disabled {
    opacity: 0.35;
}

.qty-control span {
    min-width: 36px;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
}

.cart-remove {
    border: 0;
    background: none;
    color: var(--brand);
    font-size: 24px;
    padding: 4px 8px;
}

.cart-remove:hover {
    color: var(--brand-dark);
}

.cart-empty {
    text-align: center;
    padding: 50px 20px 56px;
}

.cart-empty > i {
    font-size: 56px;
    color: var(--brand);
}

.cart-empty h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    margin: 10px 0 6px;
}

.cart-empty p {
    color: var(--muted);
    margin-bottom: 20px;
}

/* Summary */
.summary-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 26px 24px 20px;
    position: sticky;
    top: 100px;
}

.summary-box h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 18px;
}

.summary-lines {
    margin: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}

.summary-lines > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 18px;
}

.summary-lines dt {
    font-weight: 400;
    color: var(--muted);
}

.summary-lines dd {
    margin: 0;
    font-weight: 600;
    color: var(--text);
}

.summary-lines dd.text-green {
    color: #1f9d55;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.summary-total span {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
}

.summary-total strong {
    font-size: 30px;
    color: var(--brand);
}

.checkout-btn {
    padding: 13px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 6px;
}

.summary-perks {
    background: #fdf3ec;
    border-radius: 8px;
    padding: 20px 22px 6px;
    margin-top: 22px;
}

.summary-perks > div,
.summary-perks > a {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
    color: var(--text);
}

.summary-perks > a:hover strong {
    color: var(--brand);
}

.summary-perks i {
    font-size: 30px;
    color: var(--navy);
    flex-shrink: 0;
}

.summary-perks strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
}

.summary-perks span {
    font-size: 14.5px;
    color: var(--muted);
}

@media (max-width: 1199.98px) {
    .cart-row {
        grid-template-columns: minmax(0, 1fr) 90px 120px 95px 44px;
    }

    .cart-thumb {
        flex-basis: 110px;
        height: 84px;
    }

    .cart-price {
        font-size: 16px;
    }

    .cart-head h1 {
        font-size: 42px;
    }
}

@media (max-width: 991.98px) {
    .summary-box {
        position: static;
    }
}

/* Mobile: rows become stacked cards */
@media (max-width: 767.98px) {
    .cart-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-head h1 {
        font-size: 34px;
    }

    .cart-head p {
        font-size: 16px;
    }

    .continue-link {
        margin-bottom: 0;
    }

    .cart-row-head {
        display: none;
    }

    .cart-row {
        grid-template-columns: 1fr auto;
        row-gap: 12px;
        padding: 16px 6px;
        position: relative;
    }

    .cart-product {
        grid-column: 1 / -1;
        gap: 14px;
        padding-right: 36px;
    }

    .cart-thumb {
        flex-basis: 96px;
        height: 80px;
    }

    .cart-product h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .cart-product p {
        font-size: 13px;
    }

    .cart-cell {
        justify-content: space-between;
        align-items: center;
        grid-column: 1 / -1;
    }

    .cart-cell[data-label]::before {
        content: attr(data-label);
        font-size: 14px;
        color: var(--muted);
        font-weight: 500;
    }

    .cart-action {
        position: absolute;
        top: 12px;
        right: 0;
    }

    .cart-remove {
        font-size: 20px;
    }

    .summary-box h2 {
        font-size: 24px;
    }

    .summary-lines > div {
        font-size: 16px;
    }

    .summary-total strong {
        font-size: 26px;
    }
}

/* =========================================================
   Auth (Login / Register)
   ========================================================= */

button.header-login {
    background: none;
    border: 0;
    padding: 0;
    display: flex;
}

.header-login.active {
    color: var(--brand);
}

.main-menu form .nav-link {
    background: none;
    border: 0;
    width: 100%;
    text-align: left;
}

.auth-section {
    position: relative;
    overflow: hidden;
    padding: 16px 0 38px;
    background:
        radial-gradient(circle at 0% 60%, #fbe6d3 0, #fbe6d3 26%, transparent 26.2%),
        linear-gradient(180deg, #fff 0%, #fdf4ec 100%);
}

.auth-art {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 27%;
    max-width: 420px;
    height: 78%;
    object-fit: cover;
    object-position: center bottom;
    -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent), linear-gradient(0deg, #000 80%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, #000 70%, transparent), linear-gradient(0deg, #000 80%, transparent);
    mask-composite: intersect;
}

.auth-section .container {
    position: relative;
    z-index: 1;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr minmax(0, 606px) 1fr;
    align-items: center;
    column-gap: 40px;
}

.auth-card {
    grid-column: 2;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
    padding: 30px 54px 34px;
}

.auth-card h1 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 6px;
}

.auth-sub {
    text-align: center;
    color: var(--muted);
    font-size: 16.5px;
    margin-bottom: 30px;
}

.auth-field {
    margin-bottom: 18px;
}

.auth-card .form-label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.auth-card .form-control {
    font-size: 16px;
    padding: 12px 48px 12px 54px;
    border-color: #dcdfe6;
    border-radius: 6px;
}

.auth-card .input-icon > i {
    left: 18px;
    font-size: 19px;
}

.auth-card .form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(242, 82, 29, 0.15);
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 20px;
    padding: 4px 10px;
}

.auth-link-sm {
    color: var(--brand);
    font-size: 15px;
}

.auth-link-sm:hover {
    text-decoration: underline;
    color: var(--brand);
}

.auth-error {
    color: #d93025;
    font-size: 14px;
    margin-top: 6px;
}

.auth-check {
    margin-bottom: 18px;
    font-size: 16px;
}

.auth-check .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    margin-right: 10px;
}

.auth-check .form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.auth-submit {
    padding: 12px;
    font-size: 18px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f26522, #ff4a12);
    border: 0;
}






.auth-switch {
    text-align: center;
    margin: 24px 0 0;
    font-size: 17px;
}

.auth-switch a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
}

.auth-perks {
    list-style: none;
    padding: 0;
    margin: 0;
    grid-column: 3;
}

.auth-perks li {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 44px;
}

.auth-perks li:last-child {
    margin-bottom: 0;
}

.perk-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    font-size: 32px;
}

.perk-orange { background: #fde3dc; color: var(--brand); }
.perk-green  { background: #dcf3e6; color: #1f9d55; }
.perk-yellow { background: #fdf0d2; color: #f0a500; }

.auth-perks strong {
    display: block;
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.auth-perks span:not(.perk-icon) {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.4;
}

@media (max-width: 1199.98px) {
    .auth-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        column-gap: 30px;
    }

    .auth-card {
        grid-column: 1;
        padding: 28px 36px 30px;
    }

    .auth-perks {
        grid-column: 2;
    }

    .auth-art {
        display: none;
    }

    .perk-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
}

@media (max-width: 991.98px) {
    .auth-layout {
        grid-template-columns: minmax(0, 606px);
        justify-content: center;
        row-gap: 30px;
    }

    .auth-perks {
        grid-column: 1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .auth-perks li {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin: 0;
    }

    .auth-perks strong {
        font-size: 16px;
    }

    .auth-perks span:not(.perk-icon) {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .auth-card {
        padding: 24px 18px 26px;
    }

    .auth-card h1 {
        font-size: 32px;
    }

    .auth-sub {
        font-size: 15px;
        margin-bottom: 22px;
    }


    .auth-switch {
        font-size: 15px;
    }

    .auth-perks {
        grid-template-columns: 1fr;
    }

    .auth-perks li {
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }
}

/* =========================================================
   Checkout & Order Confirmation
   ========================================================= */

.checkout-section {
    padding: 14px 0 34px;
    background: #fbfbfd;
}

.checkout-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.checkout-head h1 {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 6px;
}

.checkout-head p {
    font-size: 18px;
    color: var(--muted);
    margin: 0;
}

.checkout-steps {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.checkout-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 130px;
    font-size: 15px;
    color: var(--muted);
}

.checkout-steps li span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #c9ccd3;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.checkout-steps li + li::before {
    content: "";
    position: absolute;
    top: 14px;
    right: 50%;
    width: 100%;
    height: 2px;
    background: #d6d8de;
}

.checkout-steps li.active,
.checkout-steps li.done {
    color: var(--brand);
    font-weight: 500;
}

.checkout-steps li.active span,
.checkout-steps li.done span {
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(242, 82, 29, 0.15);
}

.checkout-steps li.active + li::before {
    background: linear-gradient(90deg, var(--brand) 50%, #d6d8de 50%);
}

.checkout-steps li.done + li::before {
    background: var(--brand);
}

.checkout-alert {
    font-size: 15px;
    padding: 10px 16px;
}

.checkout-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 22px 24px 24px;
    margin-bottom: 22px;
}

.checkout-card h2 {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.checkout-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fde3d8;
    color: var(--brand);
    font-size: 18px;
}

.checkout-card .form-label {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
}

.checkout-card .form-label span {
    color: var(--brand);
}

.checkout-card .form-control,
.checkout-card .form-select,
.coupon-form .form-control {
    font-size: 15px;
    padding: 10px 14px 10px 48px;
    border-color: #dcdfe6;
    border-radius: 5px;
}

.checkout-card .input-icon > i,
.coupon-form .input-icon > i {
    left: 16px;
    font-size: 18px;
}

.checkout-card .form-control:focus,
.checkout-card .form-select:focus,
.coupon-form .form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(242, 82, 29, 0.15);
}

/* Payment options */
.payment-options {
    border: 1px solid #e6e6ea;
    border-radius: 6px;
}

.payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    margin: 0;
    cursor: pointer;
}

.payment-option + .payment-option {
    border-top: 1px solid #e6e6ea;
}

.payment-option input {
    position: absolute;
    opacity: 0;
}

.payment-radio {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #b9bcc4;
    position: relative;
}

.payment-option input:checked + .payment-radio {
    border-color: var(--brand);
}

.payment-option input:checked + .payment-radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--brand);
}

.payment-option input:focus-visible + .payment-radio {
    box-shadow: 0 0 0 3px rgba(242, 82, 29, 0.3);
}

.payment-option.is-disabled {
    cursor: not-allowed;
}

.payment-option.is-disabled .payment-radio,
.payment-option.is-disabled .payment-text {
    opacity: 0.55;
}

.payment-text {
    flex: 1;
    min-width: 0;
}

.payment-text strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.payment-text small {
    font-size: 14px;
    color: var(--muted);
}

.soon-badge {
    display: inline-block;
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    background: #fff1e8;
    color: var(--brand);
    border-radius: 3px;
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: middle;
}

.payment-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-style: italic;
    font-size: 16px;
}

.logo-upi { color: #5f6368; }
.logo-visa { color: #1a1f71; }
.logo-rupay { color: #0b4c9c; }
.logo-paytm { color: #00b9f1; font-style: normal; }
.payment-logos .bi-bank2 { color: #1a3fc4; font-size: 20px; font-style: normal; }

.logo-mc {
    display: inline-flex;
}

.logo-mc i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #eb001b;
}

.logo-mc i + i {
    background: #f79e1b;
    margin-left: -7px;
    opacity: 0.9;
}

/* Summary */
.checkout-summary h2 small {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--muted);
}

.edit-cart {
    color: var(--brand);
    text-decoration: underline;
    font-size: 15px;
    white-space: nowrap;
}

.summary-items {
    list-style: none;
    padding: 0 0 6px;
    margin: 0 0 16px;
    border-bottom: 1px solid #eee;
}

.summary-items li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.summary-items img {
    width: 80px;
    height: 68px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.summary-items li > div {
    flex: 1;
    min-width: 0;
}

.summary-items strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.summary-items span {
    font-size: 14px;
    color: var(--muted);
}

.summary-items b {
    font-size: 16px;
    white-space: nowrap;
}

.coupon-form {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}

.coupon-form .input-icon {
    flex: 1;
}

.coupon-form .btn {
    padding: 0 22px;
    font-weight: 600;
}

.coupon-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #eaf8ee;
    color: #1f7a45;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 15px;
}

.coupon-applied form {
    margin: 0;
}

.coupon-applied button {
    border: 0;
    background: none;
    color: var(--brand);
    text-decoration: underline;
    font-size: 14px;
}

.checkout-summary .summary-lines > div {
    font-size: 17px;
}

.checkout-terms {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin: 16px 0 0;
    line-height: 1.6;
}

.checkout-terms a {
    color: var(--navy);
    text-decoration: underline;
}

/* Confirmation */
.confirm-box {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    padding-top: 16px;
}

.confirm-steps {
    justify-content: center;
    margin-bottom: 26px;
}

.confirm-icon {
    font-size: 64px;
    color: #1f9d55;
    line-height: 1;
}

.confirm-box h1 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: var(--navy);
    margin: 12px 0 8px;
}

.confirm-sub {
    font-size: 17px;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 28px;
}

.confirm-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 22px;
    text-align: left;
}

.checkout-card .h5-title {
    font-size: 20px;
}

.confirm-items li {
    margin-bottom: 12px;
}

.confirm-address {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.confirm-payment {
    font-size: 15px;
    margin: 0;
}

@media (max-width: 1199.98px) {
    .checkout-head {
        flex-direction: column;
    }

    .checkout-steps {
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    .checkout-head h1 {
        font-size: 36px;
    }

    .checkout-head p {
        font-size: 16px;
    }

    .checkout-steps {
        width: 100%;
    }

    .checkout-steps li {
        flex: 1;
        width: auto;
        font-size: 13px;
    }

    .checkout-card {
        padding: 18px 16px 20px;
    }

    .checkout-card h2 {
        font-size: 20px;
    }

    .payment-option {
        flex-wrap: wrap;
    }

    .payment-logos {
        width: 100%;
        padding-left: 38px;
        flex-wrap: wrap;
    }

    .confirm-grid {
        grid-template-columns: 1fr;
    }

    .confirm-box h1 {
        font-size: 30px;
    }
}

/* =========================================================
   Hamper Details
   ========================================================= */

.product-name a {
    color: inherit;
}

.product-name a:hover {
    color: var(--brand);
}

.details-section {
    padding: 14px 0 34px;
}

.details-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    font-size: 15px;
}

.details-breadcrumb li + li::before {
    content: ">";
    margin: 0 8px;
    color: var(--text);
}

.details-breadcrumb a {
    color: var(--muted);
}

.details-breadcrumb li:nth-child(2) a,
.details-breadcrumb .current {
    color: var(--brand);
}

/* Gallery */
.details-gallery {
    display: flex;
    gap: 22px;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 0 96px;
}

.gallery-thumbs .gallery-thumb {
    position: relative;
    flex: 1;
    min-height: 0;
    aspect-ratio: auto;
}

/* Absolute images let the thumb column stretch to the main image height. */
.gallery-thumbs .gallery-thumb img {
    position: absolute;
    inset: 0;
}

.gallery-thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    background: none;
    aspect-ratio: 1;
    opacity: 0.85;
    transition: border-color 0.2s, opacity 0.2s;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--brand);
    opacity: 1;
}

.gallery-main {
    flex: 1;
    min-width: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--cream);
}

.gallery-main .carousel-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.gallery-wishlist {
    width: 42px;
    height: 42px;
    font-size: 20px;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: var(--text);
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav:hover {
    color: var(--brand);
}

.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }

/* Info */
.details-info {
    padding-left: 20px;
}

.details-badge {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 12px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.details-info h1 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 10px;
}

.details-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 6px;
}

.details-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 14px;
}

.details-rating .stars {
    color: #f5b300;
    font-size: 18px;
    display: inline-flex;
    gap: 3px;
}

.details-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.details-features {
    display: flex;
    background: var(--cream);
    border-radius: 8px;
    padding: 18px 6px;
    margin-bottom: 20px;
}

.details-feature {
    flex: 1;
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
    border-right: 1px solid #e8dccd;
    padding: 0 6px;
}

.details-feature:last-child {
    border-right: 0;
}

.details-feature i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    font-size: 24px;
}

.details-actions {
    display: flex;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ececec;
    margin-bottom: 18px;
}

.details-actions .btn {
    flex: 1;
    padding: 13px 16px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 4px;
}

.btn-details-outline {
    background: #fff;
    color: var(--brand);
    border: 1px solid var(--brand);
}

.btn-details-outline:hover {
    background: var(--brand);
    color: #fff;
}

.details-trust {
    display: flex;
}

.details-trust > div {
    flex: 1;
    text-align: center;
    font-size: 13.5px;
    line-height: 1.4;
}

.details-trust i {
    display: block;
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 6px;
}

@media (max-width: 1199.98px) {
    .details-info {
        padding-left: 0;
    }

    .details-info h1 {
        font-size: 34px;
    }
}

@media (max-width: 991.98px) {
    .details-gallery {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .gallery-thumbs {
        flex-direction: row;
        flex: none;
        gap: 10px;
    }

    .gallery-thumbs .gallery-thumb {
        flex: 1;
        max-width: 96px;
        aspect-ratio: 1;
    }
}

@media (max-width: 575.98px) {
    .details-breadcrumb {
        font-size: 13px;
    }

    .details-info h1 {
        font-size: 28px;
    }

    .details-price {
        font-size: 28px;
    }

    .details-desc {
        font-size: 15px;
    }

    .details-features {
        flex-wrap: wrap;
        row-gap: 16px;
    }

    .details-feature {
        flex: 0 0 50%;
    }

    .details-feature:nth-child(2) {
        border-right: 0;
    }

    .details-actions {
        flex-direction: column;
        gap: 12px;
    }

    .details-actions .btn {
        font-size: 16px;
    }

    .details-trust {
        flex-wrap: wrap;
        row-gap: 16px;
    }

    .details-trust > div {
        flex: 0 0 50%;
    }

    .gallery-nav,
    .gallery-wishlist {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

.contact-alert {
    font-size: 15px;
    border-radius: 6px;
}

/* =========================================================
   Customer "My Account"
   ========================================================= */

.account-section {
    padding: 14px 0 40px;
    background: #fbfbfd;
}

.account-nav {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.account-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--cream);
}

.account-user > div {
    min-width: 0;
}

.account-user strong {
    display: block;
    color: var(--navy);
    font-size: 16px;
}

.account-user small {
    display: block;
    color: var(--muted);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-avatar {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}

.account-nav nav {
    padding: 8px;
}

.account-nav nav a,
.account-nav nav button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 14px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    text-align: left;
}

.account-nav nav i {
    font-size: 18px;
    color: var(--muted);
}

.account-nav nav a:hover,
.account-nav nav button:hover {
    background: #f6f7fb;
    color: var(--brand);
}

.account-nav nav a.active {
    background: #fff1e8;
    color: var(--brand);
}

.account-nav nav a.active i,
.account-nav nav a:hover i,
.account-nav nav button:hover i {
    color: var(--brand);
}

.account-nav form {
    margin: 0;
    border-top: 1px solid #eee;
    padding-top: 4px;
    margin-top: 4px;
}

.account-head h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.account-head p {
    color: var(--muted);
    margin-bottom: 20px;
}

.account-alert {
    border-radius: 8px;
    font-size: 15px;
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.account-stats > div {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 18px;
}

.account-stats i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fde3d8;
    color: var(--brand);
    font-size: 20px;
    flex-shrink: 0;
}

.account-stats small {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.account-stats strong {
    font-size: 20px;
    color: var(--navy);
}

.account-empty {
    text-align: center;
    padding: 30px 10px;
    color: var(--muted);
}

.account-empty > i {
    font-size: 44px;
    color: var(--brand);
}

.account-empty p {
    margin: 8px 0 16px;
}

.account-orders {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-order {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #eceef3;
    border-radius: 8px;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.account-order:hover {
    border-color: var(--brand);
    box-shadow: 0 4px 14px rgba(242, 82, 29, 0.08);
    color: var(--text);
}

.ao-main {
    flex: 1;
    min-width: 0;
}

.ao-main strong {
    display: block;
    color: var(--navy);
}

.ao-main small {
    color: var(--muted);
}

.ao-total {
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.account-order > .bi-chevron-right {
    color: var(--muted);
}

.order-pill {
    font-size: 12.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    background: #eceef3;
    color: #4a4f5e;
    white-space: nowrap;
}

.order-pill-lg {
    font-size: 14px;
    padding: 6px 14px;
}

.order-pill.st-pending    { background: #fff4d6; color: #a86b00; }
.order-pill.st-processing { background: #fde3d8; color: var(--brand); }
.order-pill.st-shipped    { background: #dfe9fb; color: #1a3fc4; }
.order-pill.st-delivered  { background: #dcf3e6; color: #1f7a45; }
.order-pill.st-cancelled  { background: #fde8e7; color: #b3261e; }

@media (max-width: 991.98px) {
    .account-nav {
        position: static;
    }

    .account-nav nav {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .account-nav nav a,
    .account-nav nav form {
        width: auto;
        flex: 1 1 auto;
    }

    .account-nav form {
        border-top: 0;
        padding-top: 0;
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    .account-head h1 {
        font-size: 28px;
    }

    .account-stats {
        grid-template-columns: 1fr;
    }

    .account-order {
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .ao-main {
        flex-basis: 100%;
    }

    .account-order > .bi-chevron-right {
        display: none;
    }

    .ao-total {
        margin-left: auto;
    }
}

/* =========================================================
   Orders: tracker, timeline, payment badge (shared by site & admin)
   ========================================================= */

.order-tracker {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.order-tracker li {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    color: #8a8fa0;
}

.order-tracker li + li::before {
    content: "";
    position: absolute;
    top: 21px;
    right: 50%;
    width: 100%;
    height: 3px;
    background: #e3e5eb;
}

.order-tracker li.done + li::before,
.order-tracker li.done + li.current::before {
    background: #1f9d55;
}

.tracker-dot {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f2f6;
    color: #8a8fa0;
    font-size: 19px;
    margin-bottom: 4px;
}

.order-tracker li.done .tracker-dot,
.order-tracker li.current .tracker-dot {
    background: #1f9d55;
    color: #fff;
}

.order-tracker li.current .tracker-dot {
    box-shadow: 0 0 0 5px rgba(31, 157, 85, 0.18);
}

.order-tracker strong {
    font-size: 14.5px;
    color: #4a4f5e;
}

.order-tracker li.done strong,
.order-tracker li.current strong {
    color: #121a3a;
}

.order-tracker small {
    font-size: 12.5px;
}

.tracker-cancelled {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fde8e7;
    color: #b3261e;
    border-radius: 8px;
    padding: 14px 18px;
}

.tracker-cancelled i {
    font-size: 26px;
}

.tracker-cancelled strong {
    display: block;
}

.tracker-cancelled span {
    font-size: 13.5px;
}

.tracker-shipping,
.ship-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #eef4ff;
    color: #1a3fc4;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 18px;
    font-size: 14.5px;
}

.tracker-shipping i,
.ship-box i {
    font-size: 22px;
}

.order-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-timeline li {
    position: relative;
    display: flex;
    gap: 14px;
    padding-bottom: 18px;
}

.order-timeline li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 16px;
    bottom: 0;
    width: 2px;
    background: #e3e5eb;
}

.tl-dot {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-top: 3px;
    background: #8a8fa0;
    box-shadow: 0 0 0 3px #fff;
}

.tl-pending .tl-dot    { background: #e0a100; }
.tl-processing .tl-dot { background: #f2521d; }
.tl-shipped .tl-dot    { background: #1a3fc4; }
.tl-delivered .tl-dot  { background: #1f9d55; }
.tl-cancelled .tl-dot  { background: #d93025; }

.order-timeline strong {
    display: block;
    font-size: 15px;
    color: #121a3a;
}

.order-timeline small {
    color: #5c6070;
    font-size: 12.5px;
}

.order-timeline p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #1f2333;
}

.pay-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.pay-unpaid   { background: #fff4d6; color: #a86b00; }
.pay-paid     { background: #dcf3e6; color: #1f7a45; }
.pay-refunded { background: #dfe9fb; color: #1a3fc4; }

@media (max-width: 575.98px) {
    .order-tracker strong {
        font-size: 12px;
    }

    .order-tracker small {
        font-size: 10.5px;
    }

    .tracker-dot {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .order-tracker li + li::before {
        top: 17px;
    }
}

/* ---------- Customer orders & tracking ---------- */
.order-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.order-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e3e5eb;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.order-tabs a span {
    background: #f1f2f6;
    border-radius: 10px;
    padding: 0 8px;
    font-size: 12px;
}

.order-tabs a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.order-tabs a.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.order-tabs a.active span {
    background: rgba(255, 255, 255, 0.25);
}

.cancel-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: var(--muted);
}

.track-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.track-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fde3d8;
    color: var(--brand);
    font-size: 30px;
}

.track-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    margin: 10px 0 4px;
}

.track-btn {
    height: 46px;
}

.track-wrap h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
}

/* =========================================================
   Mobile: side menu, app-style bottom bar, compact footer
   ========================================================= */

.menu-toggle {
    border: 0;
    background: none;
    padding: 0;
    margin-right: 10px;
    font-size: 30px;
    line-height: 1;
    color: var(--navy);
}

/* Side menu (drawer) */
.mobile-menu {
    width: 300px;
    max-width: 85vw;
    border: 0;
}

.mobile-menu-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    background: var(--navy-dark);
    color: #fff;
    padding: 22px 18px;
}

.mobile-menu-user {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mobile-menu-user > div {
    min-width: 0;
}

.mobile-menu-user strong {
    display: block;
    font-size: 17px;
}

.mobile-menu-user small,
.mobile-menu-user a {
    display: block;
    font-size: 13px;
    color: #c9cde0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-menu-user a {
    color: #ffb199;
    font-weight: 600;
    text-decoration: underline;
}

.mobile-menu-links {
    padding: 10px;
}

.mobile-menu-links a,
.mobile-menu-links button {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--text);
    font-size: 15.5px;
    font-weight: 500;
    text-align: left;
}

.mobile-menu-links i {
    font-size: 20px;
    color: var(--muted);
    width: 22px;
    text-align: center;
}

.mobile-menu-links a.active {
    background: #fff1e8;
    color: var(--brand);
}

.mobile-menu-links a.active i {
    color: var(--brand);
}

.mobile-menu-links form {
    margin: 0;
}

.mobile-menu-title {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    padding: 14px 14px 6px;
    margin-top: 6px;
    border-top: 1px solid #eee;
}

.menu-badge {
    margin-left: auto;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 10px;
    padding: 1px 8px;
}

.mobile-menu-contact {
    display: flex;
    gap: 10px;
    padding: 14px 18px 22px;
    border-top: 1px solid #eee;
}

.mobile-menu-contact a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    background: var(--cream);
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}

.mobile-menu-contact a:last-child {
    background: #dcf5e3;
    color: #128c4a;
}

/* Bottom tab bar */
.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    background: #fff;
    box-shadow: 0 -4px 18px rgba(20, 30, 60, 0.1);
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 2px 7px;
    color: #6b7080;
    font-size: 11.5px;
    font-weight: 500;
    min-width: 0;
}

.bottom-nav-icon {
    position: relative;
    font-size: 22px;
    line-height: 1;
}

.bottom-nav .cart-count {
    top: -5px;
    right: -11px;
    border: 2px solid #fff;
    width: 20px;
    height: 20px;
}

.bottom-nav a.active {
    color: var(--brand);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    /* Room for the fixed bottom bar. */
    .site-body {
        padding-bottom: calc(62px + env(safe-area-inset-bottom));
    }

    .site-toasts {
        bottom: calc(62px + env(safe-area-inset-bottom)) !important;
    }

    .site-header .navbar > .container {
        flex-wrap: nowrap;
    }

    .site-header .navbar-brand {
        margin-right: auto;
    }

    /* Compact, centred footer: the menu links live in the side menu and bottom bar. */
    .site-footer {
        text-align: center;
        padding-top: 24px;
    }

    .site-footer .brand {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 18px;
    }

    .footer-links li {
        margin: 0;
    }

    .footer-contact li {
        justify-content: center;
        white-space: normal;
    }

    .footer-title {
        margin-bottom: 10px;
    }

    .newsletter-form {
        max-width: 420px;
        margin: 0 auto;
    }
}

/* Phone: two cards per row, like a shopping app */
@media (max-width: 575.98px) {
    .brand img {
        height: 40px;
    }

    .brand span {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .listing-grid,
    .home-grid {
        --bs-gutter-x: 10px;
        --bs-gutter-y: 10px;
    }

    .product-body {
        padding: 10px 8px;
    }

    .product-name,
    .product-card-detailed .product-name {
        font-size: 13.5px;
        line-height: 1.3;
        min-height: 2.6em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-price,
    .product-card-detailed .product-price {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .product-desc {
        display: none;
    }

    .product-actions,
    .product-card-detailed .product-actions {
        flex-direction: column;
        gap: 6px;
    }

    .product-actions .btn,
    .product-card-detailed .product-actions .btn {
        font-size: 12px;
        padding: 7px 4px;
    }

    .product-img,
    .product-card-detailed .product-img,
    .product-card-sm .product-img {
        aspect-ratio: 1;
    }

    .products-container {
        padding: 0 10px;
    }

    .section-block {
        padding: 18px 0 22px;
    }

    .hero-content {
        padding-bottom: 22px;
    }
}

@media (max-width: 991.98px) {
    /* Footer columns stack full width so links wrap evenly. */
    .site-footer .row > [class*="col-"] {
        width: 100%;
    }
}

/* Invoice-order stages */
.order-pill.st-confirmed     { background: #e5e0fb; color: #4a2fc4; }
.order-pill.st-in_production { background: #fde3d8; color: var(--brand); }
.order-pill.st-quality_check { background: #fff0d9; color: #b35a00; }
.order-pill.st-packed        { background: #dff3f5; color: #0b7285; }
.pay-badge.pay-partial       { background: #fff0d9; color: #b35a00; }
.details-moq { display: inline-block; margin: -4px 0 14px; padding: 4px 12px; border-radius: 20px; background: #fff4d6; color: #a86b00; font-size: 13px; font-weight: 600; }
.details-moq i { margin-right: 4px; }
