/* ===========================
   CSS Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --brand-blue: #2563eb;
    /* Godspeed Blue - blue-600 */
    --interaction-blue: #1d4ed8;
    /* Hover state - blue-700 */
    --accent-color: #FF4500;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --bg-light: #F5F5F5;
    --bg-dark: #1A1A1A;
    --transition: all 0.2s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Accessibility: Focus states with box-shadow instead of outline */
*:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-blue);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-blue);
}

/* Touch Optimization: Hide hover states on touch devices */
@media (hover: hover) {

    /* Hover effects only on devices that support hover */
    a:hover,
    button:hover {
        transition: var(--transition);
    }
}

@media (hover: none) {

    /* Remove hover effects on touch devices to prevent flickering */
    a:hover,
    button:hover {
        /* No hover styles on touch */
    }

    /* Ensure touch targets are large enough */
    a,
    button {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* iOS Input Optimization: Prevent zoom on focus */
input,
textarea,
select {
    font-size: 16px;
    /* Minimum 16px to prevent iOS zoom */
}

@media screen and (max-width: 768px) {

    input,
    textarea,
    select {
        font-size: 16px !important;
        /* Force 16px on mobile */
    }
}

/* Touch target minimum size (44x44px for accessibility) */
button,
a[role="button"],
input[type="button"],
input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
}

/* Button States: Disabled and Loading */
button:disabled,
.button-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.button-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.button-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Button Press Feedback */
button:active:not(:disabled),
.button-press:active {
    transform: scale(0.98);
}

ul {
    list-style: none;
}

/* ===========================
   Header & Navigation
   =========================== */
.main-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.03em;
    color: #000;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--brand-blue);
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.main-nav a:hover {
    background-color: var(--brand-blue);
    color: var(--text-light);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: var(--text-light);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
}

.sign-in-btn {
    background-color: var(--brand-blue);
    color: var(--text-light) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px;
    font-weight: bold;
}

.dropdown-menu {
    display: none;
}

.dropdown-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-subtitle strong {
    color: var(--brand-blue);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--brand-blue);
    color: var(--text-light);
    border-radius: 9999px;
}

.btn-primary:hover {
    background-color: var(--interaction-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--brand-blue);
    border-radius: 9999px;
}

.btn-secondary:hover {
    background-color: var(--brand-blue);
    color: var(--text-light);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* ===========================
   Values Section
   =========================== */
.values-section {
    padding: 5rem 2rem;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.value-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
    padding: 3rem;
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.value-block.reverse {
    direction: rtl;
}

.value-block.reverse .value-content {
    direction: ltr;
}

.value-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.tagline {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.value-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.value-points li {
    padding: 0.5rem 1rem;
    background-color: var(--bg-light);
    border-left: 3px solid var(--brand-blue);
    font-weight: 600;
}

.problem-solution h4 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.problem-solution p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.value-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===========================
   Standard Section
   =========================== */
.standard-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.standard-item {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 2px solid var(--brand-blue);
}

.standard-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.percentage {
    font-size: 3rem;
    font-weight: bold;
    color: var(--brand-blue);
    margin: 1rem 0;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* ===========================
   Programs Section
   =========================== */
.programs-section {
    padding: 5rem 2rem;
    background-color: var(--text-light);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.program-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.program-features {
    margin-bottom: 1.5rem;
}

.program-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.program-features li:before {
    content: "✓ ";
    color: var(--brand-blue);
    font-weight: bold;
    margin-right: 0.5rem;
}

.program-highlight {
    font-style: italic;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* ===========================
   Family Section
   =========================== */
.family-section {
    padding: 5rem 2rem;
    background-color: var(--bg-light);
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.family-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.family-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.family-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.final-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.final-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===========================
   Footer
   =========================== */
.main-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 2rem 1rem;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--brand-blue);
}

.footer-brand p {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--brand-blue);
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

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

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

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-legal a {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--brand-blue);
}

/* ===========================
   Modal Styles
   =========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: var(--text-light);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: var(--primary-color);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.info-block h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.cart-total {
    text-align: right;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #ddd;
    font-size: 1.2rem;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--brand-blue);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {

    .hero,
    .value-block {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .dropdown-menu {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .standards-grid,
    .programs-grid,
    .family-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Dark Mode Additions
   =========================== */
:root {
    --brand-black: #050505;
    --brand-dark: #121212;
}

.bg-brand-dark {
    background-color: var(--brand-dark);
}

.dark-card {
    background-color: var(--brand-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease;
}

.dark-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-blue);
}

/* ===========================
   Nike-Style Form Redesign
   =========================== */
.nike-section {
    padding: 8rem 2rem;
    background-color: #ffffff;
}

.nike-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.nike-header {
    text-align: center;
    margin-bottom: 4rem;
}

.nike-title {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 0.9;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.nike-subtitle {
    font-size: 1.25rem;
    color: #666;
    font-weight: 500;
}

.nike-form-group {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.nike-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.nike-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: #f7f7f7;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.nike-input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.nike-input::placeholder {
    color: #999;
    font-weight: 500;
}

/* Custom Select styling */
.nike-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Checkbox Groups */
.program-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.program-option {
    cursor: pointer;
}

.program-option input {
    display: none;
}

.program-pill {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    transition: all 0.2s ease;
}

.program-option input:checked+.program-pill {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.nike-btn {
    width: 100%;
    padding: 1.25rem;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.nike-btn:hover {
    background-color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nike-title {
        font-size: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nike-section {
        padding: 4rem 1.5rem;
    }
}

/* ===========================
   Restored Login Dropdown 
   =========================== */
.nav-login-wrapper {
    position: relative;
    padding: 10px 0;
    /* Increase hit area */
}

.login-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 240px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
    margin-top: 10px;
    /* Gap from nav */
}

/* Show State */
.nav-login-wrapper:hover .login-dropdown,
.login-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.login-dropdown::before {
    /* Triangle */
    content: '';
    position: absolute;
    top: -6px;
    right: 14px;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.95);
    transform: rotate(45deg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 2px;
}

.login-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.15s ease;
    margin-bottom: 2px;
}

.login-option:hover {
    background: #f5f5f7;
    color: #2563eb;
}

.login-option svg {
    margin-right: 10px;
}

.login-arrow {
    color: #86868b;
    font-size: 16px;
}

/* ===========================
   Navbar Layout Consistency
   =========================== */
/* Enforce consistent padding and sizing across all pages */
/* Enforce consistent padding and sizing across all pages */
.navbar {
    display: flex; /* Ensure flex layout */
    justify-content: space-between; /* Push Logo and Nav to edges */
    align-items: center; /* Vertically align */
    gap: 3rem; /* Minimum 3rem separation between Logo and Nav */
    padding: 30px 48px !important;
    /* Matches premium Coach Portal standard per user request */
    min-height: 100px;
    /* Ensure visual height consistency */
}

/* Ensure logo positioning matches */
.navbar .logo {
    display: flex;
    align-items: center;
}

/* Enforce CTA Typography in Navbar */
.navbar .btn-primary {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em; /* Optional: adds polish */
}

/* ===========================
   Floating Navigation Icons (Floating Circle with Shadow)
   =========================== */
.nav-cart-btn {
    width: 44px;
    /* Fixed size */
    height: 44px;
    /* Fixed size */
    border-radius: 50%;
    /* Perfect circle */
    background: #ffffff;
    /* White background */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* Standard site shadow */
    display: flex;
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #1d1d1f !important;
}

.nav-cart-btn:hover {
    transform: translateY(-1px);
    /* Subtle lift */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* Increased shadow on hover */
}

/* Ensure icons are centered and sized correctly */
.nav-cart-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
    flex-shrink: 0;
    /* Prevent icon shrinking */
}

/* ===========================
   iOS Segmented Control (Airbnb Style)
   =========================== */
.ios-segmented-control {
    background-color: #f5f5f7;
    /* iOS grouped table bg color */
    padding: 4px;
    border-radius: 9rem;
    /* Fully rounded pill */
    display: inline-flex;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.ios-segment-option {
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #6e6e73;
    border-radius: 9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    line-height: normal;
}

.ios-segment-option:hover {
    color: #1d1d1f;
}

.ios-segment-option.active {
    background-color: white;
    color: #1d1d1f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Sync Button Premium */
.btn-sync-premium {
    background-color: white;
    color: #1d1d1f;
    border: 1px solid #e5e5ea;
    padding: 6px 16px;
    border-radius: 9rem;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-sync-premium:hover {
    background-color: #f5f5f7;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}