/* iCare - Apple Products & Services Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #ffffff;
    -webkit-text-size-adjust: 100%;
}

/* Brand gradient text (purple → pink, left to right) */
.text-brand-gradient {
    background: linear-gradient(90deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Navigation */
.navbar {
    background-color: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Black navbar (icare.ke style) */
.navbar-dark {
    background-color: #000;
    border-bottom: none;
    backdrop-filter: none;
}

.navbar-dark .nav-links a,
.navbar-dark .cart-icon {
    color: #fff;
}

.navbar-dark .cart-icon:hover {
    opacity: 0.8;
}

.navbar-dark .nav-logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
}

.nav-apple-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav-logo-ke {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
    vertical-align: super;
    margin-left: 2px;
}

.nav-logo-badge {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.85;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    gap: 24px;
    flex-wrap: nowrap;
}

/* Logo stays left */
.nav-logo {
    flex-shrink: 0;
}

.nav-logo img,
.nav-logo-img {
    height: 48px;
    display: block;
}

/* Nav links centered in the bar (icare.ke style) */
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: #1d1d1f;
    font-size: 14px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-cart {
    position: relative;
    flex-shrink: 0;
    margin-left: auto;
}

/* Hamburger toggle - hidden on desktop, shown on tablet/mobile */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1001;
}

.nav-toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    position: relative;
    color: inherit;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: currentColor;
}

.nav-toggle-icon::before {
    top: -8px;
}

.nav-toggle-icon::after {
    top: 8px;
}

.cart-icon {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1d1d1f;
}

.cart-icon svg {
    width: 24px;
    height: 24px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #0071e3;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.navbar-dark .cart-count {
    background: #fff;
    color: #000;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Section (icare.ke style - iPhone hero) */
.hero-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px 56px;
    box-sizing: border-box;
}

.hero-section.hero-dark {
    background: #000;
    color: #fff;
}

.hero-inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(40px, 6vw, 56px);
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 400;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.hero-tag {
    font-size: 17px;
    background: linear-gradient(90deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 24px;
}

.hero-image {
    width: 100%;
    max-width: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 45vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Home Products Grid (2x2 cards, edge-to-edge - icare.ke style) */
.home-products {
    width: 100%;
    margin: 0;
    padding: 12px 8px 0;
}

.home-products-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.home-product-card {
    border-radius: 20px;
    padding: 40px 24px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 480px;
}

.home-product-dark {
    background: #000;
    color: #fff;
}

.home-product-light {
    background: #f5f5f7;
    color: #1d1d1f;
}

.home-product-plain {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
    min-height: 480px;
}

.home-product-plain .home-product-plain-content {
    position: relative;
    z-index: 2;
    padding: 24px 16px 16px;
    text-align: center;
}

.home-product-plain .home-product-tagline {
    color: #1d1d1f;
}

.home-product-card h3 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    margin-bottom: 8px;
}

.home-product-tagline {
    font-size: clamp(16px, 1.8vw, 21px);
    margin-bottom: 20px;
}

.home-product-dark .home-product-tagline {
    color: rgba(255, 255, 255, 0.85);
}

.home-product-light .home-product-tagline {
    color: #1d1d1f;
}

.home-product-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 12px;
}

.home-product-tag {
    font-size: 17px;
    background: linear-gradient(90deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 24px;
}

.home-product-image {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.home-product-image img {
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Apple Watch card image sits at bottom edge, larger */
.home-product-card:nth-child(1) .home-product-image {
    align-items: flex-end;
}

.home-product-card:nth-child(1) .home-product-image img {
    max-height: 350px;
    object-position: center bottom;
}

/* Apple Watch plain card - image in bottom 50% (reference layout) */
.home-product-plain .home-product-image {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.home-product-plain .home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

/* Target Apple Watch image by alt text match - full width of card */
/* Outline buttons for product cards */
/* Learn more - thin blue border, pill shape, transparent fill */
.btn-outline-light,
.btn-outline-dark {
    background: transparent;
    color: #0071e3;
    border: 1px solid #0071e3;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline-light:hover,
.btn-outline-dark:hover {
    background: #0071e3;
    border-color: #0071e3;
    color: #fff;
}

@media (max-width: 768px) {
    .home-products-row {
        grid-template-columns: 1fr;
    }

    .home-product-card {
        min-height: 400px;
    }
}

/* Hero Slideshow (icare.ke) - fits in viewport below navbar */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: calc(100vh - 48px);
    overflow: hidden;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 48px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-slide-dark {
    background: #000;
    color: #fff;
}

.hero-slide-light {
    background: #fbfbfd;
    color: #1d1d1f;
}

.hero-slide-inner {
    width: 100%;
    height: 100%;
    padding: 20px 0 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

.hero-slide-title {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-slide-dark .hero-slide-title {
    color: #fff;
}

.hero-slide-subtitle {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 400;
    margin-bottom: 16px;
}

.hero-slide-dark .hero-slide-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.hero-slide-light .hero-slide-subtitle {
    color: #1d1d1f;
}

.hero-slide-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.hero-slide-tag {
    font-size: 17px;
    margin-bottom: 16px;
}

.hero-slide-dark .hero-slide-tag,
.hero-slide-light .hero-slide-tag {
    background: linear-gradient(90deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Slide media – images with slight bottom overflow (icare.ke style) */
.hero-slide-media {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-slide-media img {
    max-width: 100%;
    max-height: calc(100vh - 160px);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center top;
    display: block;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.hero-slide-image img {
    max-width: 100%;
    max-height: calc(100vh - 160px);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center top;
    display: block;
}

.hero-slide-video {
    width: 100%;
    height: 100%;
}

.hero-video {
    max-width: 100%;
    max-height: 50vh;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* Hero slide button variants */
.btn-hero-outline {
    background: transparent;
    color: #0071e3;
    border: 1px solid #0071e3;
}

.btn-hero-outline:hover {
    background: #0071e3;
    color: #fff;
}

.btn-hero-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.btn-hero-outline-light:hover {
    background: #fff;
    color: #000;
}

/* Slideshow dots - overlay on the slide near bottom */
.hero-slide-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.2s, transform 0.2s;
}

.hero-dot:hover {
    background: rgba(0, 0, 0, 0.5);
}

.hero-dot.active {
    background: #000;
    transform: scale(1.2);
}

/* White dots on first (dark) slide */
.hero-slideshow.hero-dots-light .hero-dot {
    background: rgba(255, 255, 255, 0.4);
}

.hero-slideshow.hero-dots-light .hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-slideshow.hero-dots-light .hero-dot.active {
    background: #fff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 22px;
    text-decoration: none;
    border-radius: 22px;
    font-size: 17px;
    font-weight: 400;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #0071e3;
    color: white;
}

.btn-primary:hover {
    background: #0077ed;
}

/* Learn more – override .btn so blue border and pill shape show */
.btn.btn-outline-light,
.btn.btn-outline-dark {
    background: transparent !important;
    color: #0071e3 !important;
    border: 1px solid #0071e3 !important;
    border-radius: 999px;
}

.btn.btn-outline-light:hover,
.btn.btn-outline-dark:hover {
    background: #0071e3 !important;
    color: #fff !important;
    border-color: #0071e3 !important;
}

.btn-secondary {
    background: transparent;
    color: #0071e3;
    border: 1px solid #0071e3;
}

.btn-secondary:hover {
    background: #0071e3;
    color: white;
}

.btn-link {
    color: #0071e3;
    text-decoration: none;
    background: transparent;
    padding: 0;
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-large {
    padding: 15px 30px;
    font-size: 19px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-danger {
    background: #d32f2f;
    color: white;
}

.btn-danger:hover {
    background: #b71c1c;
}

.btn-disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.product-card {
    background: #f5f5f7;
    border-radius: 18px;
    padding: 30px;
    text-align: center;
}

.product-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-info {
    margin-bottom: 20px;
}

.product-info h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 19px;
    color: #1d1d1f;
    margin-bottom: 15px;
}

.product-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 10px;
}

.product-tag {
    font-size: 17px;
    color: #86868b;
}

.product-image {
    margin-top: 20px;
}

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

/* MacBook category page - icare.ke style */
.macbook-intro {
    background: rgb(245, 245, 247);
    padding: 24px;
    text-align: center;
}

.macbook-intro p {
    font-size: 12px;
    line-height: 1.6;
    color: #1d1d1f;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.macbook-main {
    background: #fff;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.macbook-title {
    font-size: 38.4px;
    font-weight: 600;
    color: rgb(29, 29, 31);
    text-align: center;
    margin: 48px 0 32px;
}

.macbook-selectors-wrap {
    margin: 0 auto;
}

.macbook-selectors {
    margin: 0 auto;
}

/* Horizontal categorical dropdowns (admin-driven specs) */
.product-filter-dropdowns,
.macbook-selectors-dropdowns {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 20px 24px;
    margin-bottom: 32px;
}

.product-filter-dropdowns .selector-dropdown-group,
.macbook-selectors-dropdowns .selector-dropdown-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 160px;
}

.product-filter-dropdowns .selector-label,
.macbook-selectors-dropdowns .selector-label {
    margin-bottom: 8px;
    text-align: left;
}

.product-filter-dropdowns .selector-dropdown,
.macbook-selectors-dropdowns .selector-dropdown {
    width: 100%;
    min-width: 160px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2386868b' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.product-filter-dropdowns .selector-dropdown:hover,
.macbook-selectors-dropdowns .selector-dropdown:hover {
    border-color: #86868b;
}

.product-filter-dropdowns .selector-dropdown:focus,
.macbook-selectors-dropdowns .selector-dropdown:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
}

.macbook-products-section {
    background: #fff;
}

.macbook-products-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.selector-group {
    margin-bottom: 22.4px;
    text-align: center;
}

.selector-group:last-child {
    margin-bottom: 0;
}

.selector-label {
    display: block;
    font-size: 8.8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #86868b;
    margin-bottom: 9.6px;
}

.selector-pills {
    display: inline-flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0;
    border: 1px solid #d2d2d7;
    border-radius: 9.6px;
    overflow: hidden;
    background: #fff;
}

.selector-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12.8px 17.6px;
    border-radius: 0;
    border: none;
    border-right: 1px solid #d2d2d7;
    background: #fff;
    text-decoration: none;
    color: #1d1d1f;
    transition: all 0.2s;
    min-width: 88px;
}

.selector-pill:last-child {
    border-right: none;
}

.selector-pill:hover {
    background: #fafafa;
}

.selector-pill.active {
    background: #e8e8ed;
}

.selector-pill .pill-main {
    font-size: 13.6px;
    font-weight: 600;
}

.selector-pill .pill-sub {
    font-size: 10.4px;
    color: #86868b;
    margin-top: 3.2px;
}

.macbook-page .category-header h1 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 15px;
    text-decoration: none;
    color: #1d1d1f;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: #e8e8ed;
}

.filter-btn.active {
    background: #e8e8ed;
}

.macbook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin: 48px auto 0;
    padding: 0 24px 64px;
    max-width: 1200px;
}

@media (max-width: 768px) {
    .macbook-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.macbook-card {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.macbook-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.macbook-card .product-image {
    width: 100%;
    min-height: 120px;
    max-height: 160px;
    background: #1d1d1f;
    border-radius: 10px 10px 0 0;
    padding: 12px 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.macbook-card .product-image img {
    width: auto;
    height: 100%;
    max-height: 136px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.macbook-card .product-info {
    padding: 0 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}

.macbook-card .product-colors-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.macbook-card .product-desc-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.macbook-card .product-info .product-actions {
    margin-top: auto;
    width: 100%;
}

.macbook-card .product-info .product-color-name {
    font-size: 17px;
    font-weight: 600;
    color: #0071e3;
    margin-bottom: 4px;
}

.macbook-card .product-info .product-color-label {
    font-size: 12px;
    color: #86868b;
    margin-bottom: 10px;
}

.macbook-card .product-info .color-swatches {
    display: flex;
    gap: 4px;
    margin-bottom: 2px;
}

.color-swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: default;
}

.macbook-card .product-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 6px 0 4px;
    color: #1d1d1f;
    line-height: 1.2;
}

.macbook-card .product-info .product-chip {
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
    background: #f5f5f7;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.macbook-card .product-colors {
    margin-bottom: 6px;
}

.macbook-card .product-color-label {
    font-size: 9px;
    color: #86868b;
    margin: 0 0 3px;
}

.macbook-card .color-swatches {
    display: flex;
    gap: 5px;
    margin-bottom: 3px;
}

.macbook-card .color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
    padding: 0;
    outline: none;
}

.macbook-card .color-swatch:hover {
    transform: scale(1.1);
}

.macbook-card .color-swatch.active {
    border-color: #0071e3;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #0071e3;
}

.macbook-card .product-desc-wrap {
    min-height: 72px;
    /* Align titles and chips by giving them a shared space */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.macbook-card .product-price-wrap {
    margin-top: auto;
    /* Push price to bottom area */
}

.macbook-card .product-info .product-specs-key {
    list-style: none;
    padding: 0;
    margin: 4px 0 10px;
    font-size: 13px;
    color: #6e6e73;
    line-height: 1.4;
    text-align: left;
}

.macbook-card .product-price {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 8px 0;
}

.macbook-card .product-info .product-warranty {
    margin-bottom: 4px;
}

.macbook-card .product-info .warranty-label {
    font-size: 9px;
    color: #86868b;
    margin: 0 0 1px;
}

.macbook-card .product-info .warranty-option {
    padding: 0;
}

.macbook-card .product-info .warranty-name {
    font-size: 9px;
    font-weight: 500;
    color: #1d1d1f;
    margin: 0 0 0;
}

.macbook-card .product-info .warranty-detail {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
}

/* Global product styles (other pages) */
.product-color-name {
    font-size: 10px;
    font-weight: 500;
    color: rgb(29, 29, 31);
    margin: 0 0 1px;
}

.product-color-label {
    font-size: 10px;
    color: #86868b;
    margin: 0 0 2px;
}

.color-swatches {
    display: flex;
    gap: 5px;
    margin-bottom: 4px;
}

.product-chip {
    font-size: 11px;
    color: #86868b;
    margin: 0 0 4px;
}

.product-specs-key {
    list-style: none;
    padding: 0;
    margin: 0 0 2px;
    font-size: 11px;
    color: #1d1d1f;
    line-height: 1.3;
}

.product-specs-key li {
    padding: 0;
}

.product-specs-full {
    list-style: none;
    padding: 0;
    margin: 0 0 4px;
    font-size: 10px;
    color: #86868b;
    line-height: 1.3;
}

.product-specs-full li {
    padding: 0;
}

.product-price-wrap {
    margin-bottom: 4px;
}

.product-warranty {
    margin-bottom: 6px;
}

.warranty-label {
    font-size: 10px;
    color: #86868b;
    margin: 0 0 2px;
}

.warranty-option {
    padding: 2px 0;
}

.warranty-name {
    font-size: 10px;
    font-weight: 500;
    color: #1d1d1f;
    margin: 0 0 1px;
}

.warranty-detail {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
}

.warranty-duration {
    color: #1d1d1f;
}

.warranty-price {
    color: #86868b;
}

.macbook-card .btn-add-bag {
    width: 100%;
    padding: 12px 24px;
    font-size: 17px;
    border-radius: 999px;
    font-weight: 500;
    margin-top: 16px;
}

.macbook-card .product-actions {
    width: 100%;
}

/* MacBook product skeleton placeholders */
.macbook-card-skeleton {
    pointer-events: none;
}

.macbook-card-skeleton .product-image a,
.macbook-card-skeleton .product-info h3 a {
    display: none;
}

.skeleton {
    display: inline-block;
    background: linear-gradient(90deg, #e8e8ed 25%, #f0f0f2 50%, #e8e8ed 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.2s ease-in-out infinite;
    border-radius: 4px;
    vertical-align: middle;
}

.macbook-card-skeleton .product-image {
    display: flex;
}

.macbook-card-skeleton .skeleton-image {
    flex: 1;
    width: 100%;
    min-height: 0;
    max-width: none;
    margin: 0;
    border-radius: 0;
}

.skeleton-image {
    width: 100%;
    max-width: 100px;
    height: 64px;
    margin: 0 auto;
    display: block;
    border-radius: 6px;
}

.skeleton-text {
    display: inline-block;
    height: 1em;
    min-width: 2em;
}

.macbook-card-skeleton .skeleton-button {
    height: 28px;
    border-radius: 14px;
}

.skeleton-button {
    width: 100%;
    height: 34px;
    border-radius: 17px;
    display: block;
}

.skeleton-swatch {
    background: #e8e8ed !important;
    animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.macbook-page .no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    color: #86868b;
}

.macbook-consider {
    max-width: 1200px;
    margin: 51.2px auto 0;
    padding: 44.8px 19.2px 0;
}

.macbook-consider h2 {
    font-size: clamp(22.4px, 2.4vw, 28.8px);
    font-weight: 600;
    text-align: center;
    color: #1d1d1f;
    margin-bottom: 6.4px;
}

.macbook-consider-sub {
    text-align: center;
    font-size: 13.6px;
    color: #86868b;
    margin-bottom: 32px;
}

.macbook-consider-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25.6px;
}

.consider-card {
    background: #fff;
    border-radius: 14.4px;
    padding: 25.6px 22.4px;
}

.consider-icon {
    width: 38.4px;
    height: 38.4px;
    background: #1d1d1f;
    color: #fff;
    font-size: 11.2px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 16px;
}

.consider-card h3 {
    font-size: 17.6px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 9.6px;
}

.consider-card p {
    font-size: 12px;
    line-height: 1.6;
    color: #1d1d1f;
    margin-bottom: 12.8px;
}

.consider-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #1d1d1f;
    line-height: 1.6;
}

.consider-card ul li {
    padding: 3.2px 0;
    padding-left: 1.2em;
    text-indent: -1.2em;
}

.consider-card ul li::before {
    content: "• ";
    color: #86868b;
}

.macbook-cta {
    text-align: center;
    padding: 40px 24px;
    font-size: 17px;
}

.macbook-cta a {
    color: #0071e3;
    text-decoration: none;
}

.macbook-cta a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .macbook-grid {
        grid-template-columns: 1fr;
    }

    .macbook-consider-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   iPad Page Styles (similar to MacBook)
   ======================================== */
.ipad-page {
    background: #f5f5f7;
    padding-bottom: 40px;
}

/* iPad Full-Screen Hero Section */
.ipad-hero-full {
    min-height: calc(100vh - 48px);
    background-size: 65%;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ipad-hero-overlay {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 60px;
}

.ipad-hero-text {
    max-width: 380px;
}

.ipad-hero-text p {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 600;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 35%, #ec4899 70%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.35;
    margin: 0;
}

.ipad-hero-promos {
    padding: 20px 40px 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
}

.ipad-hero-promos p {
    font-size: 12px;
    color: #6e6e73;
    margin: 4px 0;
    line-height: 1.5;
}

.ipad-hero-promos a {
    color: #0071e3;
    text-decoration: none;
}

.ipad-hero-promos a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .ipad-hero-overlay {
        flex: 0 0 auto;
        padding: 32px 20px 24px;
        align-items: flex-start;
        justify-content: center;
        text-align: center;
    }

    .ipad-hero-text {
        max-width: 100%;
    }

    .ipad-hero-text p {
        font-size: clamp(18px, 4.5vw, 22px);
        line-height: 1.4;
    }

    .ipad-hero-full {
        background-position: center 85%;
        background-size: 85%;
        min-height: 520px;
    }
}

.ipad-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px 0;
}

.ipad-title {
    text-align: center;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 32px;
}

/* iPad Filter Bar */
.ipad-filters-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.ipad-filter-bar {
    display: flex;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    overflow: hidden;
}

.ipad-filter-option {
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 400;
    color: #1d1d1f;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    border-right: 1px solid #d2d2d7;
}

.ipad-filter-option:last-child {
    border-right: none;
}

.ipad-filter-option:hover {
    background: #f5f5f7;
}

.ipad-filter-option.active {
    background: #f5f5f7;
}

@media (max-width: 500px) {
    .ipad-filter-option {
        padding: 10px 20px;
        font-size: 13px;
    }
}

.ipad-products-section {
    background: #f5f5f7;
    padding: 0 0 40px;
}

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

.ipad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 32px;
    margin: 0 auto;
    padding: 0 0 40px;
}

.ipad-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #f2f2f2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    overflow: hidden;
    min-height: 500px;
}

.ipad-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.ipad-card .product-image {
    width: 100%;
    height: 260px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #f5f5f7;
    border-radius: 16px;
    border: none;
}

.ipad-card .product-image img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.ipad-card .product-info {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.ipad-card .product-colors-wrap {
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.ipad-card .product-desc-wrap {
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.ipad-card .product-info .product-actions {
    margin-top: auto;
    width: 100%;
}

.ipad-card .product-info .product-actions {
    margin-top: 6px;
    padding-top: 0;
}

.ipad-card .product-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 12px 0 6px;
    color: #1d1d1f;
    line-height: 1.2;
}

.ipad-card .product-info .product-chip {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    background: #f5f5f7;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.ipad-card .product-colors {
    margin-bottom: 8px;
}

.ipad-card .product-color-label {
    font-size: 9px;
    color: #86868b;
    margin: 0 0 4px;
}

.ipad-card .color-swatches {
    display: flex;
    gap: 6px;
    margin-bottom: 4px;
}

.ipad-card .color-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
    padding: 0;
    outline: none;
}

.ipad-card .color-swatch:hover {
    transform: scale(1.1);
}

.ipad-card .color-swatch.active {
    border-color: #0071e3;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #0071e3;
}

.ipad-card .product-color-name {
    font-size: 10px;
    font-weight: 500;
    color: #1d1d1f;
    margin: 0;
}

.ipad-card .product-info .product-specs-key {
    list-style: none;
    padding: 0;
    margin: 0 0 4px;
    font-size: 10px;
    color: #1d1d1f;
    line-height: 1.3;
}

.ipad-card .product-info .product-specs-key li {
    padding: 1px 0;
}

.ipad-card .product-info .product-price-wrap {
    margin-bottom: 4px;
}

.ipad-card .product-price {
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
}

.ipad-card .product-info .product-warranty {
    margin-bottom: 6px;
}

.ipad-card .product-info .warranty-label {
    font-size: 9px;
    color: #86868b;
    margin: 0 0 2px;
}

.ipad-card .product-info .warranty-option {
    padding: 0;
}

.ipad-card .product-info .warranty-name {
    font-size: 9px;
    font-weight: 500;
    color: #1d1d1f;
    margin: 0;
}

.ipad-card .product-info .warranty-detail {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
}

.ipad-card .btn-add-bag {
    width: 100%;
    padding: 6px 12px;
    font-size: 11px;
}

/* iPad skeleton placeholders */
.ipad-card-skeleton {
    pointer-events: none;
}

.ipad-card-skeleton .product-image a,
.ipad-card-skeleton .product-info h3 a {
    display: none;
}

.ipad-card-skeleton .product-image {
    display: flex;
}

.ipad-card-skeleton .skeleton-image {
    flex: 1;
    width: 100%;
    min-height: 0;
    max-width: none;
    margin: 0;
    border-radius: 0;
}

.ipad-card-skeleton .skeleton-button {
    height: 28px;
    border-radius: 14px;
}

/* iPad "Value for money" section */
.ipad-consider {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 40px 20px 0;
}

.ipad-consider h2 {
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 600;
    text-align: center;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.ipad-consider-sub {
    text-align: center;
    font-size: 14px;
    color: #86868b;
    margin-bottom: 32px;
}

.ipad-consider-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* iPad CTA */
.ipad-cta {
    text-align: center;
    padding: 40px 24px;
    font-size: 17px;
}

.ipad-cta a {
    color: #0071e3;
    text-decoration: none;
}

.ipad-cta a:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .ipad-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ipad-grid {
        grid-template-columns: 1fr;
    }

    .ipad-selectors {
        flex-direction: column;
        gap: 24px;
    }

    .ipad-consider-grid {
        grid-template-columns: 1fr;
    }
}

/* Trade In Section - match reference: one viewport, spaced, image full width */
.trade-in-section {
    width: 100%;
    margin: 0;
    padding: 20px 0;
    background: #f5f5f7;
}

.trade-in-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    color: #1d1d1f;
    border-radius: 18px;
    overflow: hidden;
    padding: 50px 12px 0;
    height: 580px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trade-in-info {
    width: 100%;
    padding: 0 0 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.trade-in-info h3 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.trade-in-info p {
    font-size: clamp(15px, 1.8vw, 18px);
    margin-bottom: 16px;
    color: #1d1d1f;
}

.trade-in-image {
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.trade-in-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

/* Services Section - white cards on light grey, rounded */
.services-section {
    width: 100%;
    margin: 0;
    padding: 60px 24px;
    text-align: center;
    background: #f5f5f7;
}

.services-section h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    margin-bottom: 48px;
    color: #1d1d1f;
}

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

.service-card {
    background: #fff;
    border-radius: 18px;
    padding: 40px 28px 36px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.service-icon {
    margin-bottom: 24px;
}

.service-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.service-card p {
    font-size: 15px;
    color: #86868b;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Location Section */
.location-section {
    background: #000;
    padding: 100px 20px;
    text-align: center;
}

.location-content {
    max-width: 800px;
    margin: 0 auto;
}

.location-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    margin-bottom: 28px;
    color: #fff;
}

.location-content p {
    font-size: 19px;
    margin-bottom: 44px;
    color: #fff;
}

/* Locate Store button - white bg, blue border, pill shape (reference) */
.btn-locate {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #1d1d1f;
    border: 1px solid #0071e3;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-locate:hover {
    background: #f5f5f7;
    border-color: #0077ed;
    color: #1d1d1f;
}

/* About Section */
/* About Section - white rounded cards on light grey (screenshot match) */
.about-section {
    width: 100%;
    margin: 0;
    padding: 60px 24px 80px;
    background: #f5f5f7;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.about-intro .about-text {
    background: #fff;
    border-radius: 18px;
    padding: 48px 40px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.about-grid .about-text {
    background: #fff;
    border-radius: 18px;
    padding: 40px 36px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.about-content>.about-text {
    background: #fff;
    border-radius: 18px;
    padding: 48px 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.about-text h2 {
    font-size: clamp(26px, 2.8vw, 32px);
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.about-text p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 16px;
    color: #1d1d1f;
}

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

.about-text a {
    color: #0071e3;
    text-decoration: none;
}

.about-text a:hover {
    text-decoration: underline;
}

/* Store Page – Apple-style layout */
.store-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.store-hero {
    text-align: center;
    padding: 48px 0 40px;
}

.store-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.store-hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #86868b;
    margin: 0;
}

.store-categories {
    padding: 0 0 56px;
}

.store-categories-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 64px;
}

.store-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1d1d1f;
    transition: opacity 0.2s;
}

.store-category-item:hover {
    opacity: 0.8;
}

.store-category-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.store-category-name {
    font-size: 14px;
    font-weight: 500;
}

/* The latest – product cards (image left, content right) */
.store-latest {
    padding: 0 0 64px;
}

.store-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.store-section-subtitle {
    font-size: 19px;
    color: #86868b;
    margin: 0 0 32px;
}

.store-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.store-product-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow 0.2s;
    border: none;
    min-height: 502px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.1);
}

.store-product-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.1);
}

.store-product-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

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

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

.store-product-card-content {
    position: relative;
    z-index: 1;
    padding: 20px 20px 12px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.store-product-name {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #1d1d1f;
}

.store-product-name a {
    color: inherit;
    text-decoration: none;
}

.store-product-name a:hover {
    color: #0071e3;
}

.store-product-tagline {
    font-size: 14px;
    margin: 0 0 4px;
}

.store-product-price {
    font-size: 12px;
    color: #86868b;
    margin: 0;
}

/* Dark card (black background) */
.store-product-card--dark {
    background: #000;
}

.store-product-card--dark .store-product-name {
    color: #fff;
}

.store-product-card--dark .store-product-price {
    color: #a1a1a6;
}

/* Light card (light blue background) */
.store-product-card--light {
    background: #e3f2fd;
}

.store-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Why choose iCare */
.store-why {
    padding: 64px 0 0;
}

.store-why-title {
    font-size: 32px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.store-why-subtitle {
    font-size: 19px;
    color: #86868b;
    margin: 0 0 32px;
}

.store-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.store-why-card {
    background: #fff;
    border: 1px solid #e5e5e7;
    border-radius: 18px;
    padding: 28px;
}

.store-why-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 12px;
}

.store-why-card p {
    font-size: 15px;
    color: #1d1d1f;
    line-height: 1.45;
    margin: 0;
}

@media (max-width: 900px) {
    .store-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 600px) {
    .store-hero-title {
        font-size: 36px;
    }

    .store-hero-subtitle {
        font-size: 19px;
    }

    .store-products-grid {
        grid-template-columns: 1fr;
    }

    .store-product-card-image {
        min-height: 200px;
    }

    .store-why-grid {
        grid-template-columns: 1fr;
    }
}

/* Cart Page */
.cart-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.cart-page h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 40px;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 2fr 150px 100px 100px;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border: 1px solid #e5e5e7;
    border-radius: 12px;
}

.cart-item-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.cart-item-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.cart-item-option {
    font-size: 13px;
    color: #1d1d1f;
}

.cart-item-option strong {
    color: #86868b;
    font-weight: 500;
}

.cart-item-price {
    color: #86868b;
    font-size: 14px;
}

.quantity-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.quantity-input {
    width: 60px;
    padding: 8px;
    border: 1px solid #e5e5e7;
    border-radius: 6px;
    text-align: center;
}

.cart-item-total {
    font-size: 18px;
    font-weight: 600;
}

.cart-summary {
    background: #f5f5f7;
    padding: 30px;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 17px;
}

.total-amount {
    font-size: 24px;
    font-weight: 600;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

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

.summary-repair-note {
    font-size: 14px;
    color: #86868b;
    margin: 8px 0 12px 0;
}

.empty-cart p {
    font-size: 24px;
    color: #86868b;
    margin-bottom: 30px;
}

/* Product Detail Page */
.product-detail-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.product-detail-container {
    display: grid;
    grid-template-columns: minmax(280px, 500px) minmax(320px, 1fr);
    gap: 48px;
    align-items: start;
}

.product-images {
    max-width: 100%;
    min-width: 0;
}

.product-images .main-image {
    width: 100%;
    max-width: 500px;
}

.product-images .main-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}

.product-images .image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.product-images .image-gallery img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
}

.product-info h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-info .product-price {
    font-size: 32px;
    font-weight: 600;
    margin: 20px 0;
}

.product-description,
.product-specifications {
    margin: 30px 0;
}

.product-description h3,
.product-specifications h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-description-text {
    font-size: 14px;
    line-height: 1.6;
    color: #1d1d1f;
}

.product-specifications ul {
    list-style: none;
    padding: 0;
}

.product-specifications li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e7;
}

.product-actions {
    margin-top: 40px;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
    background: #f5f5f7;
    margin-top: 80px;
    padding: 48px 24px 24px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* 5-column grid on desktop, collapses gracefully */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px 24px;
    margin-bottom: 32px;
}

.footer-column h3 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1d1d1f;
    margin: 0 0 12px;
}

.footer-column a {
    display: block;
    color: #86868b;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-column a:hover { color: #0071e3; }

.footer-contact .footer-address {
    color: #86868b;
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 8px;
}

/* Divider */
.footer-divider {
    height: 1px;
    background: #d2d2d7;
    margin: 0 0 20px;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copyright p {
    font-size: 12px;
    color: #86868b;
    margin: 0 0 6px;
    line-height: 1.5;
}

.footer-copyright a {
    color: #0071e3;
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: center;
    font-size: 12px;
}

.footer-links a {
    color: #86868b;
    text-decoration: none;
}

.footer-links a:hover { color: #0071e3; }

.footer-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #86868b;
    flex-shrink: 0;
}

/* ── Tablet: 3 columns ── */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 20px;
    }
}

/* ── Mobile: 2 columns ── */
@media (max-width: 600px) {
    .footer {
        padding: 36px 16px 20px;
        margin-top: 48px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
        margin-bottom: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-location {
        display: none; /* address already shown in contact column */
    }

    .footer-links {
        gap: 4px 8px;
    }
}

/* ── Very small: single column ── */
@media (max-width: 360px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Alerts */
.alert {
    padding: 15px 20px;
    margin: 20px;
    border-radius: 8px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Page Headers */
.page-header {
    text-align: center;
    padding: 60px 20px;
    background: #f5f5f7;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 600;
}

/* Contact Page */
.contact-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-form-container h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.pagination ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

.pagination li a {
    padding: 10px 15px;
    border: 1px solid #e5e5e7;
    border-radius: 6px;
    text-decoration: none;
    color: #0071e3;
}

.pagination li.active a {
    background: #0071e3;
    color: white;
}

/* Chat widget - clone of icare.ke */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0071e3;
    color: white;
    padding: 12px 20px;
    border-radius: 28px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.chat-widget:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(0, 113, 227, 0.5);
    color: white;
}

/* Green WhatsApp style chat widget */
.chat-widget-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
}

.chat-widget-whatsapp:hover {
    background: #20bd5a;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.chat-widget-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-widget-bubble {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .chat-widget-bubble {
        display: none;
    }

    .chat-widget {
        padding: 14px;
        border-radius: 50%;
    }
}

/* Support dialog (WhatsApp team selection) */
.support-dialog {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.support-dialog[hidden] {
    display: none;
}

.support-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.support-dialog-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.support-dialog-header {
    background: #1d1d1f;
    color: #fff;
    padding: 20px 44px 20px 20px;
    position: relative;
}

.support-dialog-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
}

.support-dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-dialog-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.support-dialog-body {
    padding: 16px;
}

.support-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.support-team-row:hover {
    background: #f5f5f7;
}

.support-team-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.support-team-label {
    font-size: 12px;
    color: #86868b;
}

.support-team-name {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
}

.support-team-status {
    font-size: 13px;
    color: #25D366;
}

.support-team-wa-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #25D366;
}

/* ========================================
   Category Page Layout Styles
   ======================================== */
.category-top-content {
    background: #f5f5f7;
    padding: 0;
}

.category-content-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.category-filter-section {
    background: #fff;
    padding: 48px 0 32px;
}

.category-filter-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.category-title {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 32px;
}

.category-filters-form {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 20px 24px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 160px;
}

.filter-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #86868b;
    margin-bottom: 8px;
}

.filter-select {
    width: 100%;
    min-width: 160px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2386868b' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    transition: border-color 0.2s ease;
}

.filter-select:hover {
    border-color: #86868b;
}

.filter-select:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
}

.condition-group {
    min-width: auto;
}

.condition-buttons {
    display: flex;
    gap: 0;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.condition-btn {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    text-decoration: none;
    background: #fff;
    border-right: 1px solid #d2d2d7;
    transition: background-color 0.2s ease;
    min-width: 60px;
    text-align: center;
}

.condition-btn:last-child {
    border-right: none;
}

.condition-btn:hover {
    background: #f5f5f7;
}

.condition-btn.active {
    background: #0071e3;
    color: #fff;
}

.show-all-btn {
    font-size: 12px;
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 0;
    transition: color 0.2s ease;
}

.show-all-btn:hover {
    color: #0077ed;
}

.category-products-section {
    background: #fff;
    padding-bottom: 64px;
}

.category-products-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.empty-products-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
}

.empty-products-state .empty-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.empty-products-state h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.empty-products-state p {
    font-size: 16px;
    color: #86868b;
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.empty-products-state .btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    background: #0071e3;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.empty-products-state .btn:hover {
    background: #0077ed;
}

@media (max-width: 768px) {
    .category-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .filter-group {
        width: 100%;
        min-width: auto;
    }
    
    .filter-select {
        min-width: auto;
    }
    
    .condition-buttons {
        justify-content: center;
    }
    
    .category-filter-section {
        padding: 32px 0 24px;
    }
    
    .category-content-inner,
    .category-filter-inner {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .category-title {
        font-size: 20px;
    }
    
    .condition-btn {
        padding: 10px 12px;
        font-size: 13px;
        min-width: 50px;
    }
    
    .empty-products-state {
        padding: 60px 16px;
    }
    
    .empty-products-state .empty-icon {
        font-size: 48px;
    }
    
    .empty-products-state h3 {
        font-size: 20px;
    }
    
    .empty-products-state p {
        font-size: 14px;
    }
}

.iphone-page {
    background: #fff;
}

/* iPhone Hero Section */
.iphone-hero {
    background: #f5f5f7;
    padding: 60px 24px 50px;
    text-align: center;
}

.iphone-hero-content h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.15;
    margin-bottom: 40px;
}

.iphone-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
    max-width: 560px;
    margin: 0 auto;
    justify-items: center;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 160px;
}

.service-item img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.service-item h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
    line-height: 1.2;
}

.service-item p {
    font-size: 12px;
    color: #86868b;
    line-height: 1.4;
    margin: 0;
    min-height: 2.8em;
}

/* iPhone Filter Section */
.iphone-filter-section {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.iphone-title {
    text-align: center;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 32px;
}

.iphone-filters {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.iphone-model-select select {
    padding: 10px 36px 10px 16px;
    font-size: 14px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    min-width: 200px;
}

.iphone-condition-bar {
    display: flex;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    overflow: hidden;
}

.iphone-condition-option {
    padding: 10px 32px;
    font-size: 14px;
    font-weight: 400;
    color: #1d1d1f;
    text-decoration: none;
    transition: all 0.2s;
    border-right: 1px solid #d2d2d7;
}

.iphone-condition-option:last-child {
    border-right: none;
}

.iphone-condition-option:hover {
    background: #f5f5f7;
}

.iphone-condition-option.active {
    background: #f5f5f7;
}

/* iPhone Products Grid */
.iphone-products-section {
    padding: 0 0 40px;
}

.iphone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.iphone-card {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #f2f2f2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    overflow: hidden;
    min-height: 520px;
}

.iphone-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.iphone-card .product-image {
    width: 100%;
    height: 220px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: #f5f5f7;
    border-radius: 16px;
    flex-shrink: 0;
}

.iphone-card .product-info {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.iphone-card .product-colors-wrap {
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.iphone-card .product-desc-wrap {
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.iphone-card .product-info .product-actions {
    margin-top: auto;
    width: 100%;
}

.iphone-card .skeleton-image {
    width: 120px;
    height: 160px;
    margin: 0 auto;
    border-radius: 8px;
}

.iphone-card .product-info h3 {
    font-size: 26px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    line-height: 1.2;
}

.iphone-card .product-chip {
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
    background: #f5f5f7;
    padding: 4px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.iphone-card .product-colors {
    margin-bottom: 12px;
}

.iphone-card .product-color-label {
    font-size: 10px;
    color: #86868b;
    margin-bottom: 6px;
}

.iphone-card .color-swatches {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

.iphone-card .color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.15s;
    padding: 0;
    outline: none;
}

.iphone-card .color-swatch:hover {
    transform: scale(1.1);
}

.iphone-card .color-swatch.active {
    border-color: #0071e3;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #0071e3;
}

.iphone-card .product-color-name {
    font-size: 11px;
    font-weight: 500;
    color: #1d1d1f;
}

.iphone-card .product-specs-key {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    font-size: 12px;
    color: #1d1d1f;
}

.iphone-card .product-price {
    font-size: 22px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 16px 0;
}

.iphone-card .skeleton-button {
    height: 36px;
    border-radius: 18px;
}

.iphone-card-skeleton {
    pointer-events: none;
}

/* iPhone Trade In Section */
.iphone-tradein {
    background: #1d1d1f;
    padding: 80px 24px;
}

.iphone-tradein-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.iphone-tradein-content {
    flex: 1;
}

.iphone-tradein-content h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}

.iphone-tradein-content p {
    font-size: 15px;
    color: #a1a1a6;
    line-height: 1.5;
}

.iphone-tradein-image {
    flex: 1;
    max-width: 400px;
}

.iphone-tradein-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* iPhone FAQ Section */
.iphone-faq {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.iphone-faq h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 48px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.faq-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .iphone-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .iphone-tradein-inner {
        flex-direction: column;
        text-align: center;
    }

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

@media (min-width: 700px) {
    .iphone-services {
        grid-template-columns: repeat(4, 1fr);
        max-width: 900px;
        gap: 24px 32px;
    }
}

@media (max-width: 600px) {
    .iphone-services {
        gap: 24px 20px;
    }

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

/* ========================================
   Apple Watch Page Styles
   ======================================== */
.watch-page {
    background: #fff;
}

/* Watch Hero Section */
.watch-hero {
    min-height: calc(100vh - 144px);
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: #e8f5e9;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    margin: 48px;
    border-radius: 24px;
}

.watch-hero-content {
    padding: 48px 40px;
    z-index: 2;
}

.watch-hero-label {
    font-size: 11px;
    font-weight: 500;
    color: #1d1d1f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
}

.watch-hero-content h1 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.15;
}

.watch-hero-content h1 .green-text {
    color: #34c759;
}

/* Watch Filter Section */
.watch-filter-section {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.watch-title {
    text-align: center;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 32px;
}

.watch-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.watch-model-select select {
    padding: 10px 36px 10px 16px;
    font-size: 14px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    min-width: 220px;
}

/* Watch Products Grid */
.watch-products-section {
    padding: 0 0 40px;
}

.watch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.watch-card {
    background: #fff;
    border-radius: 0;
    padding: 0;
    text-align: center;
    border: none;
}

.watch-card-image {
    background: #1d1d1f;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.watch-skeleton-image {
    width: 140px;
    height: 160px;
    margin: 0 auto;
    border-radius: 12px;
    background: linear-gradient(90deg, #3a3a3c 25%, #4a4a4c 50%, #3a3a3c 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.watch-card-info {
    text-align: center;
    padding: 0 8px;
}

.watch-color-name {
    font-size: 17px;
    font-weight: 600;
    color: #0071e3;
    margin-bottom: 4px;
}

.watch-color-label {
    font-size: 12px;
    color: #86868b;
    margin-bottom: 10px;
}

.watch-color-swatches {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.watch-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
    padding: 0;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.watch-swatch:hover {
    transform: scale(1.1);
}

.watch-swatch.active {
    border-color: #0071e3;
}

.watch-product-name {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.watch-product-subtitle {
    font-size: 14px;
    color: #86868b;
    margin-bottom: 12px;
}

.watch-product-price {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 20px;
}

/* Watch Options Row */
.watch-options-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.watch-option-group {
    text-align: left;
}

.watch-option-label {
    display: block;
    font-size: 11px;
    color: #86868b;
    margin-bottom: 6px;
}

.watch-option-buttons {
    display: flex;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    overflow: hidden;
}

.watch-opt-btn {
    padding: 8px 16px;
    font-size: 13px;
    border: none;
    background: #fff;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.15s;
    border-right: 1px solid #d2d2d7;
}

.watch-opt-btn:last-child {
    border-right: none;
}

.watch-opt-btn:hover {
    background: #f5f5f7;
}

.watch-opt-btn.active {
    background: #1d1d1f;
    color: #fff;
}

/* Watch Warranty Section */
.watch-warranty-section {
    margin-bottom: 20px;
    text-align: left;
}

.watch-warranty-label {
    display: block;
    font-size: 11px;
    color: #86868b;
    margin-bottom: 8px;
}

.watch-warranty-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    background: #fff;
}

.watch-warranty-name {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
}

.watch-warranty-price {
    font-size: 14px;
    color: #86868b;
}

/* Watch Add to Bag Button */
.watch-add-btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    background: #0071e3;
    color: #fff;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

.watch-add-btn:hover {
    background: #0077ed;
}

.watch-card-skeleton {
    pointer-events: none;
}

.watch-card-skeleton .watch-add-btn,
.watch-card-skeleton .watch-opt-btn,
.watch-card-skeleton .watch-swatch {
    pointer-events: auto;
}

/* Watch FAQ Section */
.watch-faq {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    background: #f5f5f7;
}

.watch-faq h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 48px;
}

@media (max-width: 1100px) {
    .watch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .watch-hero {
        min-height: 60vh;
        background-position: center right;
    }

    .watch-hero-content {
        padding: 40px 24px;
    }
}

@media (max-width: 600px) {
    .watch-grid {
        grid-template-columns: 1fr;
    }

    .watch-faq .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   AirPods Page Styles
   ======================================== */
.airpods-page {
    background: #fff;
}

/* AirPods Hero Section */
.airpods-hero {
    background: #f5f5f7;
    min-height: calc(100vh - 96px);
    margin: 24px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.airpods-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    min-height: calc(100vh - 144px);
    padding: 60px;
}

.airpods-hero-content {
    flex: 0 0 auto;
    z-index: 2;
}

.airpods-hero-content h1 {
    font-size: clamp(64px, 10vw, 120px);
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1;
    margin-bottom: 24px;
}

.airpods-title-accent {
    background: linear-gradient(90deg, #8b5cf6, #a855f7, #c084fc, #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.airpods-hero-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #0071e3;
    color: #fff;
    text-decoration: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
}

.airpods-hero-btn:hover {
    background: #0077ed;
}

.airpods-hero-images {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    min-height: 500px;
}

.airpods-cycle-img {
    position: absolute;
    max-width: 80%;
    max-height: 90%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.airpods-cycle-img.active {
    opacity: 1;
}

/* AirPods Filter Section */
.airpods-filter-section {
    padding: 60px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.airpods-title {
    text-align: center;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 32px;
}

.airpods-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.airpods-model-select select {
    padding: 10px 36px 10px 16px;
    font-size: 14px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    min-width: 200px;
}

/* AirPods Products Grid */
.airpods-products-section {
    padding: 0 0 40px;
}

.airpods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.airpods-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e8e8ed;
}

.airpods-card-image {
    margin-bottom: 20px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.airpods-skeleton-image {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 12px;
}

.airpods-card-info {
    text-align: center;
}

.airpods-product-name {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.airpods-product-price {
    font-size: 14px;
    color: #86868b;
    margin-bottom: 12px;
}

.airpods-product-features {
    font-size: 12px;
    color: #86868b;
    margin-bottom: 16px;
    min-height: 20px;
}

.airpods-add-btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    background: #0071e3;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.airpods-add-btn:hover {
    background: #0077ed;
}

.airpods-card-skeleton {
    pointer-events: none;
}

.airpods-card-skeleton .airpods-add-btn {
    pointer-events: auto;
}

/* AirPods Featured Card */
.airpods-featured {
    padding: 40px 0;
}

.airpods-featured-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: #f5f5f7;
    border-radius: 16px;
    max-width: 400px;
}

.airpods-featured-image {
    flex: 0 0 auto;
}

.airpods-featured-info {
    text-align: left;
}

.airpods-featured-color {
    font-size: 13px;
    color: #0071e3;
    margin-bottom: 4px;
}

.airpods-featured-info h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.airpods-featured-price {
    font-size: 14px;
    color: #86868b;
}

/* AirPods Features Section */
.airpods-features {
    padding: 60px 24px;
    max-width: 1750px;
    margin: 0 auto;
}

.airpods-features h2 {
    text-align: center;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 40px;
}

.airpods-features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1700px;
    margin: 0 auto;
}

.airpods-feature-card {
    border-radius: 24px;
    padding: 32px;
    min-height: 630px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.airpods-feature-card-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.airpods-feature-card-magical {
    background-color: #000000;
    background-size: 85%;
    background-position: center bottom 20px;
}

.airpods-feature-card-siri {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.airpods-feature-card-siri::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background:
        radial-gradient(ellipse at top left, #67d4ff 0%, transparent 50%),
        radial-gradient(ellipse at top right, #c084fc 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, #ffd699 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, #ff9a9a 0%, transparent 50%),
        radial-gradient(ellipse at bottom center, #f8b4d9 0%, transparent 50%);
    filter: blur(50px);
    opacity: 0.6;
    z-index: 0;
}

.airpods-feature-card-siri>* {
    position: relative;
    z-index: 1;
}

.feature-card-header {
    margin-bottom: 12px;
}

.feature-tag {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-tag.dark {
    color: rgba(0, 0, 0, 0.5);
}

.airpods-feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 16px;
}

.airpods-feature-card h3.dark-text {
    color: #1d1d1f;
    font-size: 18px;
}

.siri-content {
    margin-top: auto;
    padding-bottom: 24px;
}

.siri-hey {
    font-size: 28px;
    font-weight: 600;
    color: #34c759;
    margin-bottom: 4px;
}

.siri-command {
    font-size: 28px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.2;
}

/* AirPods FAQ Section */
.airpods-faq {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.airpods-faq h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 48px;
}

@media (max-width: 1200px) {
    .airpods-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1100px) {
    .airpods-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 900px) {
    .airpods-hero {
        margin: 16px;
        min-height: 0;
    }

    .airpods-hero-inner {
        flex-direction: column;
        padding: 32px 20px 24px;
        text-align: center;
        min-height: 0;
    }

    .airpods-hero-content h1 {
        font-size: clamp(36px, 10vw, 56px);
        margin-bottom: 16px;
    }

    .airpods-hero-btn {
        margin-bottom: 24px;
    }

    .airpods-hero-images {
        flex: 0 0 auto;
        width: 100%;
        min-height: 260px;
        height: 260px;
        position: relative;
    }

    .airpods-cycle-img {
        max-width: 75%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        object-position: center center;
    }

    .airpods-cycle-img.active {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .airpods-grid {
        grid-template-columns: 1fr;
    }

    .airpods-features-grid {
        grid-template-columns: 1fr;
    }

    .airpods-faq .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive - Mobile & Tablet (hamburger menu from 992px down) */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
        order: 2;
        margin-left: 0;
    }

    .nav-cart {
        order: 1;
        margin-left: auto;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 48px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        background: #000;
        z-index: 999;
        padding: 24px 0 48px;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        max-height: calc(100vh - 48px);
    }

    .nav-links a {
        color: #fff;
        font-size: 18px;
        padding: 14px 24px;
        min-height: 48px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar.nav-menu-open .nav-links {
        transform: translateX(0);
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        top: 48px;
    }

    .nav-backdrop[hidden] {
        display: none !important;
    }

    .nav-wrapper {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .nav-logo {
        order: 0;
    }
}

@media (max-width: 768px) {

    /* Hero slideshow: bring product text closer to photo slider on mobile */
    .hero-slide-inner {
        padding: 12px 16px 0;
        justify-content: flex-start;
    }

    .hero-slide-title {
        margin-bottom: 2px;
    }

    .hero-slide-subtitle {
        margin-bottom: 10px;
    }

    .hero-slide-buttons {
        margin-bottom: 4px;
    }

    .hero-slide-tag {
        margin-bottom: 8px;
    }

    .hero-slide-media {
        flex: 0 1 auto;
        margin-top: 0;
        min-height: 0;
        align-items: center;
    }

    .hero-slide-media img {
        max-height: min(55vh, 320px);
    }

    /* Reduce gap between hero image and slider dots - fit height to content */
    .hero-slideshow {
        height: auto;
        min-height: 0;
    }

    .hero-slide,
    .hero-slide.active {
        height: auto;
        min-height: 0;
    }

    .hero-slide-inner {
        padding-bottom: 44px;
    }

    .hero-slide-dots {
        bottom: 10px;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
    }

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

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

    .cart-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-images .image-gallery {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        margin-top: 12px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .product-images .image-gallery img {
        flex: 0 0 auto;
        max-height: 90px;
        scroll-snap-align: start;
    }

    .product-info h1 {
        font-size: 26px;
    }

    .product-info .product-price {
        font-size: 24px;
    }

    .product-description-text {
        font-size: 13px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

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

    .about-intro .about-text,
    .about-grid .about-text,
    .about-content>.about-text {
        padding: 32px 24px;
    }

    /* Tighten gap between hero slideshow and home product cards */
    .home-products {
        padding: 4px 0 0;
    }

    .home-products-row {
        margin-bottom: 4px;
    }
}

/* Touch-friendly: minimum tap target size for key controls */
@media (max-width: 768px) {

    a.cart-icon,
    .nav-toggle,
    .chat-widget {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Cart page – mobile layout */
@media (max-width: 768px) {
    .cart-page {
        margin: 24px auto;
        padding: 0 16px;
    }

    .cart-page h1 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .cart-container {
        gap: 20px;
    }

    .cart-items {
        gap: 16px;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 12px 16px;
        text-align: left;
        padding: 16px;
    }

    .cart-item-image {
        grid-column: 1;
        grid-row: 1 / 2;
        align-self: start;
    }

    .cart-item-image img {
        width: 100%;
        max-width: 80px;
        aspect-ratio: 1;
        object-fit: contain;
    }

    .cart-item-details {
        grid-column: 2;
        grid-row: 1;
    }

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

    .cart-item-options {
        gap: 8px;
        margin-bottom: 4px;
    }

    .cart-item-option {
        font-size: 13px;
    }

    .cart-item-price {
        font-size: 13px;
    }

    .cart-item-quantity {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        align-items: center;
        gap: 12px;
        padding-top: 8px;
        border-top: 1px solid #e8e8ed;
    }

    .quantity-form {
        flex-wrap: wrap;
        gap: 8px;
    }

    .quantity-input {
        width: 56px;
        padding: 10px;
        font-size: 16px;
    }

    .cart-item-total {
        grid-column: 1 / -1;
        grid-row: 3;
        font-size: 17px;
        padding-top: 4px;
    }

    .cart-item-remove {
        grid-column: 1 / -1;
        grid-row: 4;
        padding-top: 8px;
    }

    .cart-item-remove .btn {
        width: 100%;
        padding: 12px 16px;
        min-height: 44px;
    }

    /* Repair item card on mobile */
    .cart-item-repair {
        grid-template-columns: 64px 1fr;
        grid-template-rows: auto auto;
    }

    .cart-item-repair .cart-item-image {
        grid-row: 1 / 2;
    }

    .cart-item-repair .cart-item-image img {
        max-width: 64px;
    }

    .cart-item-repair .cart-item-details {
        grid-row: 1;
    }

    .cart-item-repair .cart-item-details h3 {
        font-size: 16px;
    }

    .cart-item-repair .cart-item-options {
        margin-bottom: 2px;
    }

    .cart-item-repair .cart-item-price {
        font-size: 13px;
        color: #86868b;
    }

    .cart-item-repair .cart-item-quantity,
    .cart-item-repair .cart-item-total {
        display: none;
    }

    .cart-item-repair .cart-item-remove {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-top: 12px;
    }

    .cart-item-repair .cart-item-remove .btn {
        width: 100%;
        padding: 12px 16px;
        min-height: 44px;
    }

    /* Order summary on mobile */
    .cart-summary {
        position: static;
        padding: 24px 20px;
    }

    .cart-summary h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .summary-row {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .total-amount {
        font-size: 20px;
    }

    .summary-repair-note {
        font-size: 13px;
        margin: 6px 0 10px 0;
    }

    .cart-actions {
        margin-top: 20px;
        gap: 12px;
    }

    .cart-actions .btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        min-height: 48px;
        font-size: 16px;
    }

    .empty-cart {
        padding: 40px 16px;
    }

    .empty-cart .btn {
        min-height: 48px;
        padding: 14px 24px;
    }
}

/* ========================================
   Accessories Page Styles
   ======================================== */
.accessories-page {
    background: #fff;
}

/* Accessories Hero Section */
.accessories-hero {
    background: #f5f5f7;
    margin: 24px;
    border-radius: 24px;
    overflow: hidden;
}

.accessories-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    min-height: 450px;
}

.accessories-hero-content {
    flex: 0 0 40%;
    z-index: 2;
}

.accessories-hero-content h1 {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 600;
    background: linear-gradient(90deg, #3b82f6, #06b6d4, #ec4899, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.05;
    margin-bottom: 12px;
}

.accessories-hero-subtitle {
    font-size: 17px;
    color: #86868b;
    line-height: 1.5;
}

.accessories-hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 60px;
}

.accessories-hero-image img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
}

/* Accessories Sections */
.accessories-section {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.accessories-section-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 40px;
}

/* Accessories Grid */
.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 280px));
    gap: 24px;
    margin-bottom: 24px;
    justify-content: start;
}

/* Accessory Card */
.accessory-card {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.accessory-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.accessory-card-image {
    min-height: 120px;
    max-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.accessory-card-image img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.accessory-skeleton-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
}

.accessory-card-info {
    text-align: center;
}

.accessory-card .product-colors-wrap {
    margin-bottom: 12px;
}

.accessory-card .product-color-name {
    font-size: 14px;
    font-weight: 600;
    color: #0071e3;
    margin-bottom: 2px;
}

.accessory-card .product-color-label {
    font-size: 11px;
    color: #86868b;
    margin-bottom: 8px;
}

.accessory-card .color-swatches {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.accessory-card .color-swatch-btn.active {
    outline: 2px solid #0071e3 !important;
    outline-offset: 2px;
}

.accessory-name {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.accessory-type {
    font-size: 13px;
    color: #86868b;
    margin-bottom: 8px;
}

.accessory-price {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.accessory-add-btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    background: #0071e3;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.accessory-add-btn:hover {
    background: #0077ed;
}

.accessory-card-skeleton {
    pointer-events: none;
}

.accessory-card-skeleton .accessory-add-btn {
    pointer-events: auto;
}

/* Browse All Button */
.accessories-browse {
    text-align: center;
    padding-top: 16px;
}

.accessories-browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0071e3;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.accessories-browse-btn:hover {
    color: #0077ed;
    text-decoration: underline;
}

.accessories-browse-btn::after {
    content: '→';
}

/* Responsive */
@media (max-width: 900px) {
    .accessories-hero-inner {
        flex-direction: column;
        padding: 40px 24px 24px;
        text-align: center;
    }

    .accessories-hero-content {
        flex: 0 0 auto;
        margin-bottom: 24px;
    }

    .accessories-hero-image {
        flex: 1 1 auto;
        width: 100%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .accessories-hero-image img {
        width: 100%;
        height: auto;
        max-height: 320px;
        object-fit: contain;
        object-position: center;
        transform: scale(1.4);
    }
}

@media (max-width: 600px) {
    .accessories-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 400px) {
    .accessories-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Repair Page Styles
   ======================================== */
.repair-page {
    background: #fff;
}

/* Repair Hero */
.repair-hero {
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d30 50%, #1d1d1f 100%);
    margin: 24px;
    border-radius: 24px;
    overflow: hidden;
}

.repair-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    min-height: 420px;
}

.repair-hero-content {
    flex: 0 0 45%;
    z-index: 2;
}

.repair-hero-content h1 {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
}

.repair-hero-subtitle {
    font-size: 17px;
    color: #a1a1a6;
    line-height: 1.5;
}

.repair-hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.repair-hero-image img {
    max-height: 320px;
    width: auto;
    object-fit: contain;
}

/* Select your device */
.repair-select-section {
    padding: 60px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.repair-section-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 40px;
}

.repair-device-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.repair-device-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    text-decoration: none;
    color: #1d1d1f;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.repair-device-card:hover {
    border-color: #0071e3;
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.15);
}

.repair-device-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    object-fit: contain;
    display: block;
}

.repair-device-name {
    font-size: 16px;
    font-weight: 600;
}

/* Quality repairs section */
.repair-quality-section {
    padding: 48px 24px;
    background: #f5f5f7;
}

.repair-quality-section .repair-section-title {
    margin-bottom: 24px;
}

.repair-quality-content {
    max-width: 720px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.6;
    color: #1d1d1f;
}

.repair-quality-content p {
    margin-bottom: 16px;
}

.repair-quality-content a {
    color: #0071e3;
    text-decoration: none;
}

.repair-quality-content a:hover {
    text-decoration: underline;
}

/* Feature cards */
.repair-features-section {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.repair-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.repair-feature-card {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 32px;
}

.repair-feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.repair-feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #424245;
}

.repair-feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    color: #0071e3;
}

.repair-feature-icon svg {
    width: 100%;
    height: 100%;
}

/* Model Selection Sections */
.repair-models-section {
    padding: 60px 24px;
    max-width: 1000px;
    margin: 0 auto;
    scroll-margin-top: 100px;
    display: none;
}

.repair-models-section.active {
    display: block;
}

.repair-models-hint {
    color: #86868b;
    font-size: 14px;
    margin: -8px 0 16px 0;
}

.repair-model-form {
    display: contents;
}

.repair-models-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 52px;
    gap: 12px;
}

.repair-model-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 52px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    text-decoration: none;
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    text-align: center;
    cursor: pointer;
    font: inherit;
    box-sizing: border-box;
}

.repair-model-btn:hover {
    border-color: #0071e3;
    background: #f5f5f7;
    color: #0071e3;
}

.repair-device-card.active {
    border-color: #0071e3;
    background: #f5f5f7;
}

.repair-device-card.active .repair-device-name {
    color: #0071e3;
}

@media (max-width: 900px) {
    .repair-hero-inner {
        flex-direction: column;
        padding: 40px 24px;
        text-align: center;
    }

    .repair-hero-content {
        flex: 0 0 auto;
        margin-bottom: 32px;
    }

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

    .repair-features-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 600px) {
    .repair-device-grid {
        grid-template-columns: 1fr;
    }

    .repair-models-grid {
        grid-template-columns: 1fr;
    }
}

/* Category Page Top Content Styling */
.category-top-content {
    margin-bottom: 40px;
}

.category-top-content h1,
.category-top-content h2 {
    margin-bottom: 16px;
}

.category-top-content p {
    margin-bottom: 12px;
}
8px) {
    .ipad-hero-overlay {
        padding: 40px 20px;
    }
    
    .ipad-hero-text {
        max-width: 100%;
    }
}

/* Pagination Styles */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background: #f5f5f7;
    border-color: #86868b;
    color: #1d1d1f;
}

.pagination .page-item.active .page-link {
    background: #0071e3;
    border-color: #0071e3;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #86868b;
    background: #f5f5f7;
    border-color: #e5e5e7;
    cursor: not-allowed;
}

.pagination .page-item.disabled .page-link:hover {
    background: #f5f5f7;
    border-color: #e5e5e7;
    color: #86868b;
}

/* Previous/Next buttons */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    font-weight: 600;
}

/* Category Bottom Content */
.category-bottom-content {
    background: #f5f5f7;
    padding: 60px 0;
    margin-top: 40px;
}

.category-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-bottom-content h1,
.category-bottom-content h2,
.category-bottom-content h3,
.category-bottom-content h4,
.category-bottom-content h5,
.category-bottom-content h6 {
    color: #1d1d1f;
    margin-bottom: 16px;
    font-weight: 600;
}

.category-bottom-content h1 {
    font-size: clamp(28px, 4vw, 40px);
    text-align: center;
    margin-bottom: 24px;
}

.category-bottom-content h2 {
    font-size: clamp(24px, 3vw, 32px);
    text-align: center;
    margin-bottom: 20px;
}

.category-bottom-content h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.category-bottom-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.category-bottom-content ul,
.category-bottom-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.category-bottom-content li {
    font-size: 16px;
    line-height: 1.6;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.category-bottom-content a {
    color: #0071e3;
    text-decoration: none;
}

.category-bottom-content a:hover {
    text-decoration: underline;
}

.category-bottom-content .btn {
    display: inline-block;
    padding: 12px 24px;
    background: #0071e3;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.category-bottom-content .btn:hover {
    background: #0077ed;
    text-decoration: none;
}

/* FAQ Grid for bottom content */
.category-bottom-content .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.category-bottom-content .faq-item {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.category-bottom-content .faq-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.category-bottom-content .faq-item p {
    font-size: 14px;
    color: #86868b;
    margin: 0;
}

/* Feature grid for bottom content */
.category-bottom-content .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.category-bottom-content .feature-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.category-bottom-content .feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.category-bottom-content .feature-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.category-bottom-content .feature-card p {
    font-size: 14px;
    color: #86868b;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pagination .page-link {
        min-width: 36px;
        height: 36px;
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .category-bottom-content {
        padding: 40px 0;
    }
    
    .category-bottom-content .faq-grid,
    .category-bottom-content .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Product count indicator */
.products-count-info {
    text-align: center;
    margin: 0 auto 32px;
    padding: 16px 24px;
    background: #f5f5f7;
    border-radius: 12px;
    max-width: 400px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.products-count-info .count-text {
    font-size: 15px;
    color: #86868b;
    font-weight: 500;
}

.products-count-info strong {
    color: #1d1d1f;
    font-weight: 600;
}

/* ========================================
   UNIFIED PRODUCT CARD STYLES
   ======================================== */

/* Grid - 3 columns, centred */
.category-products-section {
    background: #fff;
    padding: 32px 0 80px;
}

.category-products-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-products-section .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto;
    padding: 0;
}

/* Card base — no hover lift */
.unified-product-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e8ed;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

/* 1:1 image area — no background colour */
.unified-product-card .product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.unified-product-card .product-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.unified-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

/* Info section */
.unified-product-card .product-info {
    padding: 14px 14px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Color swatches */
.unified-product-card .product-colors-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.unified-product-card .color-swatches {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.unified-product-card .color-swatch-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    outline: none;
}

.unified-product-card .color-swatch-btn:hover {
    transform: scale(1.15);
}

.unified-product-card .color-swatch-btn.active {
    border-color: #0071e3;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #0071e3;
}

.unified-product-card .product-color-name {
    font-size: 12px;
    color: #86868b;
    margin: 0;
}

/* Product name & details */
.unified-product-card .product-desc-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.unified-product-card .product-name {
    margin: 0 0 4px;
}

.unified-product-card .product-name a {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.unified-product-card .product-name a:hover {
    color: #0071e3;
}

.unified-product-card .product-chip {
    font-size: 11px;
    color: #86868b;
    background: #f5f5f7;
    padding: 3px 7px;
    border-radius: 5px;
    margin-bottom: 3px;
    display: inline-block;
}

.unified-product-card .product-size {
    font-size: 11px;
    color: #86868b;
    margin: 0;
}

/* Price */
.unified-product-card .product-price-wrap {
    margin-bottom: 12px;
    text-align: center;
}

.unified-product-card .product-price {
    font-size: 17px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
}

.unified-product-card .product-condition {
    font-size: 10px;
    color: #86868b;
    margin-left: 6px;
    padding: 2px 5px;
    background: #f5f5f7;
    border-radius: 4px;
    font-weight: 500;
}

/* Stock status */
.unified-product-card .product-stock-status {
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 500;
}

.unified-product-card .product-stock-status.out-of-stock span {
    color: #d32f2f;
    background: #ffebee;
    padding: 3px 7px;
    border-radius: 4px;
}

.unified-product-card .product-stock-status.low-stock span {
    color: #f57c00;
    background: #fff3e0;
    padding: 3px 7px;
    border-radius: 4px;
}

/* Add to cart */
.unified-product-card .product-actions {
    width: 100%;
    margin-top: auto;
}

.unified-product-card .btn-add-bag {
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.unified-product-card .btn-primary {
    background: #0071e3;
    color: #fff;
}

.unified-product-card .btn-primary:hover {
    background: #0077ed;
}

.unified-product-card .btn-secondary {
    background: #f5f5f7;
    color: #86868b;
    cursor: not-allowed;
}

/* Product count bar */
.products-count-info {
    text-align: center;
    margin: 0 auto 24px;
    padding: 12px 20px;
    background: #f5f5f7;
    border-radius: 10px;
    max-width: 360px;
}

.products-count-info .count-text {
    font-size: 14px;
    color: #86868b;
    font-weight: 500;
}

.products-count-info strong {
    color: #1d1d1f;
    font-weight: 600;
}

/* No products */
.no-products-message {
    text-align: center;
    padding: 80px 20px;
    color: #86868b;
}

.no-products-icon { font-size: 48px; margin-bottom: 16px; }

.no-products-message h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.no-products-message p { font-size: 15px; line-height: 1.5; }
.no-products-message a { color: #0071e3; text-decoration: none; }
.no-products-message a:hover { text-decoration: underline; }

/* ── Responsive ── */

/* Tablet: 2 columns */
@media (max-width: 900px) {
    .category-products-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile: 2 compact columns */
@media (max-width: 600px) {
    .category-products-inner {
        padding: 0 12px;
    }

    .category-products-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .unified-product-card .product-info {
        padding: 10px 10px 14px;
    }

    .unified-product-card .product-name a {
        font-size: 13px;
    }

    .unified-product-card .product-price {
        font-size: 15px;
    }

    .unified-product-card .btn-add-bag {
        padding: 9px 10px;
        font-size: 13px;
    }

    .products-count-info {
        margin-bottom: 16px;
        padding: 10px 16px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .category-products-section .products-grid {
        gap: 8px;
    }

    .unified-product-card .product-name a {
        font-size: 12px;
    }
}