/*
Theme Name: 石头科技官方风格
Theme URI: https://example.com/roborock-theme
Author: Your Name
Author URI: https://example.com
Description: 仿石头科技官方网站的WordPress主题，简洁大气的产品展示风格
Version: 1.0.0
License: GPL v2 or later
Text Domain: roborock-theme
*/

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: #1d1d1f;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(29, 29, 31, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background 0.3s;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo img {
    height: 32px;
    width: auto;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: color 0.2s;
    letter-spacing: 0.5px;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-actions .btn-user {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.header-actions .btn-user:hover {
    background: rgba(255, 255, 255, 0.2);
}

.product-card {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 692px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.product-card figure {
    position: absolute;
    inset: 0;
}

.product-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .text-area {
    position: relative;
    z-index: 2;
    padding: 0 80px;
    max-width: 600px;
}

.product-card .text-area.align-right {
    margin-left: auto;
    text-align: right;
}

.product-card .item-type {
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 400;
}

.product-card .item-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-card .item-title.title {
    font-size: 48px;
    font-weight: 700;
}

.product-card .item-desc {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.product-card .btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.product-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1px solid currentColor;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
}

.product-card .btn:hover {
    opacity: 0.7;
}

.product-card .btn-light {
    color: #fff;
    border-color: #fff;
}

.product-card .btn-dark {
    color: #000;
    border-color: #000;
}

.brand-section {
    padding: 100px 40px;
    background: #f5f5f7;
    text-align: center;
}

.brand-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
    line-height: 1.3;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
}

.brand-item:hover {
    transform: translateY(-4px);
}

.brand-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.brand-item .brand-content {
    padding: 32px 28px;
    text-align: left;
}

.brand-item .brand-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.brand-item .brand-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
}

.brand-item .brand-tags {
    font-size: 13px;
    color: #999;
}

.page-content {
    padding-top: 0;
}

.page-content .wp-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 64px 40px 40px;
}

.page-content .wp-content h1 {
    font-size: 40px;
    margin-bottom: 24px;
}

.page-content .wp-content h2 {
    font-size: 28px;
    margin: 40px 0 16px;
}

.page-content .wp-content p {
    margin-bottom: 16px;
    color: #444;
}

.site-footer {
    background: #1d1d1f;
    color: #999;
    padding: 60px 40px 30px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: #999;
    font-size: 13px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

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

.footer-contact {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 16px;
}

.footer-contact a {
    color: #4875fd;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.footer-social img {
    width: 32px;
    height: 32px;
    opacity: 0.6;
    transition: opacity 0.2s;
    cursor: pointer;
}

.footer-social img:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
}

.footer-bottom a {
    color: #999;
}

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

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

.footer-bottom .footer-links span:hover {
    color: #fff;
}

/* ===== Auth / Login Page ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    background: #f5f5f7;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 48px 40px 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 32px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.auth-tab.active {
    color: #333;
    border-bottom-color: #333;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 16px;
}

.form-input {
    width: 100%;
    height: 48px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 15px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: #007aff;
}

.form-input::placeholder {
    color: #bbb;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
    color: #666;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.remember-me input {
    width: 16px;
    height: 16px;
}

.forgot-pwd {
    color: #007aff;
    text-decoration: none;
}

.forgot-pwd:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #007aff;
    cursor: pointer;
    transition: opacity 0.2s;
}

.auth-btn:hover {
    opacity: 0.9;
}

.auth-agreement {
    margin-top: 20px;
    font-size: 12px;
    color: #999;
    text-align: center;
    line-height: 1.6;
}

.auth-agreement a {
    color: #007aff;
    text-decoration: none;
}

.auth-agreement a:hover {
    text-decoration: underline;
}

.form-agreement {
    margin-bottom: 24px;
    font-size: 13px;
    color: #666;
}

.form-agreement label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-agreement input {
    width: 16px;
    height: 16px;
}

.form-agreement a {
    color: #007aff;
    text-decoration: none;
}

.form-agreement a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .auth-page {
        padding: 80px 16px 40px;
        align-items: flex-start;
    }

    .auth-card {
        padding: 32px 24px 28px;
        border-radius: 12px;
    }

    .auth-tab {
        font-size: 16px;
    }

    .form-input {
        height: 44px;
        font-size: 14px;
    }

    .auth-btn {
        height: 44px;
        font-size: 15px;
    }
}

/* ===== Product Detail Page ===== */
.product-detail-page {
    background: #f2f2f7;
    min-height: 100vh;
    padding-top: 64px;
}

/* ===== Layout ===== */
.detail-layout {
    max-width: 1227px;
    margin: 0 auto;
}

/* ===== Banner Swiper ===== */
.banner-swiper {
    width: 100%;
    height: 578px;
    overflow: hidden;
    position: relative;
    background: #f5f5f7;
}

.banner-swiper .carousel-track {
    display: flex;
    height: 100%;
    will-change: transform;
}

.banner-swiper .carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-swiper .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Swiper Dots (track style) */
.swiper-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0;
    z-index: 3;
    height: 3px;
    background: rgba(120, 120, 128, 0.36);
    border-radius: 2px;
    overflow: hidden;
}

.swiper-dots .dot {
    width: 6px;
    height: 2px;
    background: rgba(255,255,255,0.4);
    transition: background 0.3s;
    margin: 0 1px;
    transform: translateY(23%);
}

.swiper-dots .dot.active {
    width: 27px;
    background: rgb(242, 242, 247);
    border-radius: 2px;
}

/* Swiper Arrows (desktop) */
.swiper-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.swiper-btn-prev { left: 16px; }
.swiper-btn-next { right: 16px; }

/* Thumbnails (desktop) */
.thumb-list {
    display: none;
}

/* ===== Base Info ===== */
.base-info {
    background: #fff;
    padding: 24px 20px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.price-original {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.free-trial {
    font-size: 20px;
    font-weight: 700;
    color: #eb0028;
}

.delete-price {
    font-size: 14px;
    color: rgba(60,60,67,0.4);
    text-decoration: line-through;
}

.product-name {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-top: 12px;
    line-height: 1.4;
}

/* Service */
.service-container {
    display: flex;
    align-items: center;
    margin-top: 14px;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.service-item {
    font-size: 13px;
    color: #333;
    font-weight: 500;
    flex: 1;
    text-align: center;
}

.service-divider {
    width: 1px;
    height: 14px;
    background: #e0e0e0;
    flex-shrink: 0;
}

.service-detail {
    margin-top: 12px;
}

.service-detail-item {
    font-size: 12px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 3px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.service-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ccc;
    margin-top: 8px;
    flex-shrink: 0;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    color: #999;
}

.tag { color: #666; }
.tag-divider { color: #ddd; margin: 0 5px; }

/* SKU */
.sku-box {
    background: #fff;
    padding: 16px;
    border-top: 1px solid #f0f0f0;
}

.sku-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.sku-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sku-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
}

.sku-item.active {
    border-color: #007aff;
    color: #007aff;
    background: #f0f7ff;
}

/* Action Buttons */
.action-bar {
    background: #fff;
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .action-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        padding: 12px 16px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
        border-top: 1px solid #eee;
    }

    .product-detail-page {
        padding-bottom: 72px;
    }
}

.btn-add-cart {
    flex: 1;
    height: 48px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: #eb0028;
    cursor: pointer;
}

.btn-add-cart:active { opacity: 0.9; }

/* ===== Modal ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    padding: 40px 32px 32px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 24px;
}

.modal-form-group {
    margin-bottom: 16px;
}

.modal-form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 500;
}

.modal-input {
    width: 100%;
    height: 44px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.modal-input:focus {
    border-color: #007aff;
}

.modal-input::placeholder {
    color: #bbb;
}

select.modal-input {
    appearance: auto;
}

.modal-submit {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #eb0028;
    cursor: pointer;
    margin-top: 8px;
    transition: opacity 0.2s;
}

.modal-submit:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .modal-box {
        padding: 28px 20px 24px;
        border-radius: 12px;
    }

    .modal-title {
        font-size: 18px;
    }

    .modal-input {
        height: 40px;
        font-size: 14px;
    }

    .modal-submit {
        height: 44px;
        font-size: 15px;
    }
}

/* ===== Checkout Modal ===== */
.checkout-product {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: #f5f5f7;
    border-radius: 10px;
    margin-bottom: 16px;
}

.checkout-product-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}

.checkout-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.checkout-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.checkout-product-name {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.checkout-product-price {
    font-size: 20px;
    font-weight: 700;
    color: #eb0028;
}

.checkout-summary {
    border-top: 1px solid #eee;
    padding-top: 14px;
    margin-bottom: 20px;
}

.checkout-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.checkout-row.checkout-total {
    font-size: 18px;
    font-weight: 700;
    color: #eb0028;
    padding-top: 12px;
    border-top: 1px solid #eee;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Detail Images */
.goods-desc {
    background: #fff;
    padding: 16px;
    margin-top: 8px;
}

.desc-tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.desc-tabs .tab {
    font-size: 15px;
    font-weight: 500;
    color: #999;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
}

.desc-tabs .tab.active {
    color: #333;
    border-bottom-color: #333;
}

.detail-img {
    width: 100%;
    display: block;
}

/* Desktop / Mobile toggles */
.desktop-only { display: none !important; }
.mobile-only { display: flex !important; }

/* ===== Desktop (>= 769px) ===== */
@media (min-width: 769px) {
    .product-detail-page {
        background: #f5f5f7;
        padding: 84px 20px 40px;
    }

    .detail-layout {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }

    /* Gallery Column */
    .gallery-column {
        width: 570px;
        flex-shrink: 0;
        position: sticky;
        top: 84px;
    }

    .banner-swiper {
        width: 570px;
        height: 570px;
        border-radius: 8px;
    }

    .banner-swiper .carousel-slide img {
        object-fit: contain;
    }

    .swiper-btn {
        display: flex;
    }

    .swiper-dots {
        display: none;
    }

    .thumb-list {
        display: flex;
        gap: 10px;
        margin-top: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }

    .thumb-list::-webkit-scrollbar {
        height: 0;
    }

    .thumb-item {
        flex-shrink: 0;
        width: 80px;
        height: 80px;
        border: 2px solid transparent;
        border-radius: 6px;
        overflow: hidden;
        cursor: pointer;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: border-color 0.2s;
    }

    .thumb-item.active,
    .thumb-item:hover {
        border-color: #007aff;
    }

    .thumb-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    /* Info Column */
    .info-column {
        flex: 1;
        min-width: 0;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
    }

    .base-info {
        padding: 24px;
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .price-original {
        font-size: 14px;
        color: rgba(60,60,67,0.4);
    }

    .free-trial {
        font-size: 28px;
        color: #eb0028;
    }

    .product-name {
        font-size: 28px;
        font-weight: 700;
        margin-top: 20px;
    }

    .service-container {
        margin-top: 24px;
        padding: 16px 0;
        border-bottom: 1px solid #eee;
    }

    .service-item {
        font-size: 14px;
    }

    .service-detail {
        margin-top: 16px;
    }

    .service-detail-item {
        font-size: 13px;
    }

    .service-tags {
        margin-top: 16px;
        padding-top: 16px;
        font-size: 13px;
        border-top: 1px solid #eee;
    }

    .sku-box {
        padding: 24px;
        border-top: 1px solid #eee;
    }

    .sku-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .sku-item {
        font-size: 15px;
        padding: 10px 20px;
        border-color: #eee;
    }

    .action-bar {
        padding: 24px;
        gap: 16px;
        border-top: 1px solid #eee;
        position: static;
        box-shadow: none;
    }

    .product-detail-page {
        padding-bottom: 0;
    }

    .btn-add-cart {
        width: 241px;
        height: 54px;
        font-size: 16px;
        flex: none;
        background: #eb0028;
        border-radius: 0;
    }


    /* Detail Images */
    .goods-desc {
        max-width: 1227px;
        margin: 20px auto 0;
        border-radius: 12px;
        padding: 24px;
    }

    .desc-tabs .tab {
        font-size: 16px;
    }

    .desktop-only { display: inline-flex !important; }
    .mobile-only { display: none !important; }
}

@media (max-width: 1024px) {
    .footer-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

    .main-nav {
        display: none !important;
    }

    .product-card {
        min-height: auto !important;
        height: auto !important;
        align-items: flex-start;
        padding-bottom: 0;
        display: block;
        margin-bottom: 0;
    }

    .product-card + .product-card {
        margin-top: 12px;
    }

    .product-card:first-child {
        padding-top: 64px;
    }

    .product-card figure {
        position: relative;
        inset: auto;
    }

    .product-card figure img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }

    .product-card .text-area {
        position: absolute;
        top: 8%;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        padding: 0 30px;
        text-align: center;
    }

    .product-card .item-type {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .product-card .item-title.title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .product-card .item-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .product-card .item-desc {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .product-card .btn-group {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .product-card .btn {
        width: 110px;
        height: 30px;
        font-size: 14px;
        padding: 0;
        justify-content: center;
        line-height: 30px;
    }

    .brand-section {
        padding: 60px 20px;
    }

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

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

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

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

    .site-footer {
        padding: 40px 20px 20px;
    }
}

@media (max-width: 480px) {
    .footer-nav-grid {
        grid-template-columns: 1fr;
    }
}
