/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f72a29;
    --accent-color: #ff9800; /* Used sparingly if needed, or stick to blue/white */
    --text-primary: #111827;
    --text-secondary: #475569;
    --background: #fbfbfb;
    --border-color: #e5e7eb;
    --input-bg: #ffffff;
    --input-border: #d1d5db;
    --input-focus: #046BD2;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.2s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    z-index: 2000;
    border-radius: 0 0 6px 0;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(247, 42, 41, 0.09);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.navbar {
    padding: 14px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    border-radius: 14px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin-left: auto;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid transparent;
    background: transparent;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--primary-color);
    background: transparent;
}

.nav-menu a.active {
    background: transparent;
    color: var(--primary-color);
}

.nav-menu a.nav-cta {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.nav-menu a.nav-cta:hover,
.nav-menu a.nav-cta:focus-visible {
    background: #035aa6;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Info Bar Styles */
.info-bar {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    text-align: center;
}

.info-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.call-line {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.call-line a {
    color: #000;
    text-decoration: none;
}

.buy-data {
    font-size: 22px;
    color: #ff6b00;
    font-weight: 700;
}

.buy-data strong {
    color: #ff6b00;
}

@media (max-width: 768px) {
    .info-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .call-line {
        font-size: 18px;
    }
    
    .buy-data {
        font-size: 20px;
    }
}

.cart-count {
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
    margin-left: 4px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle:hover span {
    background: var(--accent-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoomInOut 8s ease-in-out infinite;
}

.hero-image-slide:nth-child(2) {
    animation: zoomInOut 8s ease-in-out infinite 4s;
    opacity: 0;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 60px 0;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-stats {
    display: flex;
    gap: 50px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 16px;
    line-height: 1;
}

/* Improve tap behavior on touch devices to prevent ghost taps/double-tap zoom */
button,
.btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
    outline: 2px dotted var(--primary-color);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px dotted var(--primary-color);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #035aa6;
    border-color: #035aa6;
    color: #ffffff;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Services Section */
.services {
    padding: 60px 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}


/* Service Cards Update for exact match */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    padding: 0;
    border-radius: 0;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    border: 5px solid #ffffff;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1; /* Make it square */
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 0 15px rgba(0,0,0,0.25);
    transform: scale(1.02);
}

.service-card-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.service-card img {
    width: 100%;
    max-width: 80%;
    margin: auto;
    object-fit: contain;
}

.service-label {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Specific Card Colors */
.mtn-card {
    background: #ffcc00;
}
.mtn-card .service-label {
    color: #006699;
}

.telecel-card {
    background: #e31837;
}
.telecel-card .service-label {
    color: #ffffff;
}

.airteltigo-card {
    background: radial-gradient(ellipse at center bottom, #e31837 0%, #e31837 35%, #19386c 36%, #19386c 100%);
}
.airteltigo-card .service-label {
    color: #ffffff;
    background: transparent;
    width: 100%;
    padding: 8px 0;
    margin-bottom: 0;
    margin-top: auto;
}

.afa-card {
    background: #ffcc00;
}
.afa-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.afa-content h3 {
    font-size: 22px;
    font-weight: 800;
    color: #000;
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }
}


/* WASSCE Card */
.wassce-card {
    background: #fffef0;
}

.wassce-content {
    width: 100%;
    padding: 30px 20px;
}

.wassce-header,
.wassce-footer {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 15px 0;
}

.color-bar {
    width: 80px;
    height: 8px;
    border-radius: 2px;
}

.color-bar.red {
    background: #d32f2f;
}

.color-bar.yellow {
    background: #ffcc00;
}

.color-bar.green {
    background: #27ae60;
}

.waec-logo {
    width: 120px;
    height: 120px;
    margin: 20px auto;
    object-fit: contain;
}

.wassce-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.3;
}

/* WordPress Card */
.wordpress-card {
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
}

.wordpress-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    text-transform: uppercase;
}

.wordpress-header h3 span {
    font-size: 18px;
    font-weight: 600;
}

.wordpress-features {
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
}

.feature-item i {
    font-size: 32px;
    color: #21a0d2;
    flex-shrink: 0;
}

.feature-item div {
    flex: 1;
}

.feature-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.feature-item span {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

.wordpress-features p {
    font-size: 13px;
    line-height: 1.6;
    margin: 15px 0;
    opacity: 0.95;
}

.feature-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 15px 0;
}

.feature-badges .badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
}

.feature-badges .badge i {
    font-size: 14px;
    color: #21a0d2;
}

.wordpress-laptop {
    text-align: center;
    margin: 20px 0;
}

.wordpress-laptop i {
    font-size: 64px;
    color: rgba(255, 255, 255, 0.3);
}

.wordpress-contact {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.wordpress-contact p {
    margin: 5px 0;
    font-size: 14px;
    font-weight: 600;
}

.wordpress-contact strong {
    color: #21a0d2;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #003d7a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--accent-color);
}

.service-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--accent-color);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: 12px;
    background: white;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(241, 196, 15, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--accent-color);
}

.feature-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #003d7a);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Page Header */
.page-header {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), #003d7a);
    color: white;
    text-align: center;
}

.page-title {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* Shop Page Header */
.page-header-shop {
    padding: 30px 0;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-shop {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb-shop a {
    color: var(--primary-color);
    transition: var(--transition);
}

.breadcrumb-shop a:hover {
    color: var(--accent-color);
}

.breadcrumb-shop i {
    font-size: 10px;
}

.page-header-shop .page-title {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Shop Hero Section */
.shop-hero {
    position: relative;
    background: linear-gradient(135deg, #001f3f 0%, #003d7a 100%);
    color: white;
    padding: 80px 0;
    overflow: hidden;
}

.shop-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.shop-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(241, 196, 15, 0.1) 0%, transparent 50%);
}

.shop-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.shop-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.shop-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.shop-hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.hero-feature i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Shop Stats Bar */
.shop-stats-bar {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px 0;
    margin-top: 40px;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item-hero {
    text-align: center;
    color: white;
}

.stat-number-hero {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label-hero {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 600;
}

/* Shop Promo Banner */
.shop-promo-banner {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f39c12 100%);
    padding: 20px 0;
}

.promo-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--primary-color);
}

.promo-icon {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.promo-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.promo-text p {
    font-size: 1rem;
    margin: 0;
}

.promo-text strong {
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

/* Shop Section - New Provider Grid Style */
.shop-section-new {
    padding: 60px 10%;
    text-align: center;
    background: #fafafa;
}

.section-title-bordered {
    font-size: 1.8rem;
    letter-spacing: 1.5px;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding: 15px 0;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    position: relative;
}

.section-title-bordered::before,
.section-title-bordered::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    top: -3px;
}

.section-title-bordered::before {
    left: 50%;
    transform: translateX(-50%);
}

.section-title-bordered::after {
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.provider-card {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    animation: fadeInUp 0.5s ease backwards;
    display: flex;
    flex-direction: column;
}

.provider-card:nth-child(1) {
    animation-delay: 0.1s;
}

.provider-card:nth-child(2) {
    animation-delay: 0.2s;
}

.provider-card:nth-child(3) {
    animation-delay: 0.3s;
}

.provider-card:nth-child(4) {
    animation-delay: 0.4s;
}

.provider-card:nth-child(5) {
    animation-delay: 0.5s;
}

.provider-card:nth-child(6) {
    animation-delay: 0.6s;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.provider-card.out-of-stock {
    opacity: 0.7;
    cursor: not-allowed;
}

.stock-label {
    background: crimson;
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 8px;
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 3px;
    font-weight: 600;
    z-index: 1;
}

/* Premium Form Controls */
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-primary);
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    transition: all 0.3s ease;
    appearance: none;
    /* Remove default arrow for custom styling */
    -webkit-appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--input-focus);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 31, 63, 0.1);
}

.form-control::placeholder {
    color: #a0aec0;
}

/* Custom Select Arrow */
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 40px;
}

.calculator-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calculator-group {
    background: #fff;
    margin: 25px 0;
}

.provider-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.provider-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.provider-name {
    margin: 10px 0 5px 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.provider-category {
    font-size: 0.9rem;
    color: #777;
    margin: 5px 0;
}

.provider-price-range {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    margin: 10px 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.provider-price-range::before {
    content: '💰';
    font-size: 1.1rem;
}

.btn-buy-now {
    width: 100%;
    padding: 12px 24px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.btn-buy-now:hover:not(:disabled) {
    background: #f39c12;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-buy-now:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-buy-now i {
    font-size: 14px;
}

/* Provider Detail Page */
.provider-section {
    padding: 40px 0 60px;
    background: #fafafa;
    min-height: 50vh;
}

.provider-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 40px;
    font-weight: 700;
}

.bundle-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.bundle-card-left {
    text-align: center;
}

.bundle-card-left img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.bundle-card-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bundle-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.bundle-price-range {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.bundle-sizes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.bundle-size-option {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.bundle-size-option:hover {
    border-color: var(--primary-color);
    background: rgba(0, 31, 63, 0.05);
}

.bundle-size-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.selected-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 20px 0;
    min-height: 36px;
}

.beneficiary-input-group {
    margin-bottom: 20px;
}

.beneficiary-input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.beneficiary-input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.beneficiary-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.buy-button {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    background: #5cb3fd;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.buy-button:hover {
    background: #4a9de5;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.buy-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.bundle-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.bundle-info h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.bundle-info ul {
    list-style: none;
    padding: 0;
}

.bundle-info li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.bundle-info li i {
    color: var(--success-color);
}

.take-note-section {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
}

.take-note-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #856404;
    margin-bottom: 8px;
}

.take-note-section p {
    font-size: 14px;
    color: #856404;
    margin: 0;
}

.related-products-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.related-products-section h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.related-product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.related-product-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.related-product-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 10px;
}

.related-product-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.back-to-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.back-to-shop:hover {
    background: var(--primary-color);
    color: white;
}

.provider-page-header {
    text-align: center;
    padding: 30px 0;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.provider-page-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

.bundle-card-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

/* Shop Section - Old (keep for compatibility) */
.shop-section {
    padding: 60px 0;
    background: #fafafa;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Shop Sidebar */
.shop-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-input-sidebar {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.search-input-sidebar:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.filter-option:hover {
    background: #f8f9fa;
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-option span {
    font-size: 15px;
    color: var(--text-primary);
}

.promo-widget {
    background: linear-gradient(135deg, var(--primary-color), #003d7a);
    color: white;
    text-align: center;
}

.promo-content i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.promo-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.promo-content p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.promo-link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.promo-link:hover {
    background: #f39c12;
}

/* Shop Main Content */
.shop-main {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.results-count {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 600;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.sort-select {
    padding: 8px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.shop-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.search-input,
.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.search-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.loading-state,
.error-state {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.error-state i {
    font-size: 48px;
    color: var(--error-color);
    margin-bottom: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.products-grid-shop {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card-shop {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-card-shop:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 20px;
}

.product-image img {
    max-height: 100%;
    object-fit: contain;
}

.product-image-shop {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.product-image-shop img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
}

.product-info-shop {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-network {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.product-name-shop {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-category {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.product-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.product-price-range {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.product-validity {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-validity i {
    color: var(--success-color);
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    padding: 5px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.product-features i {
    color: var(--success-color);
    margin-right: 8px;
}

.product-actions-shop {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.product-actions-shop .btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
}

.btn-select-options {
    background: #5cb3fd;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    display: inline-block;
    width: 100%;
}

.btn-select-options:hover {
    background: #4a9de5;
}

.btn-add-cart {
    background: var(--primary-color);
    color: white;
}

.btn-add-cart:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-view-details {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-view-details:hover {
    background: var(--primary-color);
    color: white;
}

/* Product Details */
.product-details-section {
    padding: 60px 0;
}

.breadcrumb {
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.product-details-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-image-section {
    position: relative;
}

.product-image-main {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-image-main img {
    max-width: 300px;
}

.product-badges {
    display: flex;
    gap: 10px;
}

.badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-success {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
}

.badge-primary {
    background: rgba(0, 31, 63, 0.1);
    color: var(--primary-color);
}

.product-detail-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.product-rating i {
    color: var(--accent-color);
}

.rating-count {
    color: var(--text-secondary);
    margin-left: 10px;
}

.product-price-section {
    margin-bottom: 30px;
}

.product-description {
    margin-bottom: 30px;
}

.product-description h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.product-description ul {
    list-style: none;
    margin-top: 15px;
}

.product-description li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-description i {
    color: var(--success-color);
}

.product-options {
    margin-bottom: 30px;
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.option-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.product-meta {
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-secondary);
}

.meta-item i {
    color: var(--primary-color);
}

/* Cart Section */
.cart-section {
    padding: 60px 0;
    min-height: 60vh;
}

.cart-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.empty-cart i {
    font-size: 64px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.empty-cart h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.cart-item-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--text-secondary);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-total {
    text-align: right;
}

.item-total-price {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    transition: var(--transition);
}

.remove-btn:hover {
    transform: scale(1.2);
}

.cart-summary {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 16px;
}

.summary-total {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.summary-divider {
    height: 2px;
    background: var(--border-color);
    margin: 15px 0;
}

/* Checkout Section */
.checkout-section {
    padding: 60px 0;
    background: #fafafa;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.section-heading {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 600;
}

.checkout-form {
    background: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.checkout-form-section {
    background: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 31, 63, 0.1);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: var(--error-color);
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: var(--success-color);
}

.payment-methods-section {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.payment-methods-section h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
    text-align: center;
}

.payment-method:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.payment-method i {
    font-size: 2rem;
    color: var(--primary-color);
}

.payment-method span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.payment-powered {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 15px;
}

.payment-powered strong {
    color: var(--primary-color);
    font-weight: 700;
}

.payment-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 8px;
    color: var(--success-color);
    margin-top: 20px;
}

.payment-info p {
    margin: 0;
    font-size: 14px;
}

.checkout-summary {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.checkout-summary .summary-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.order-items {
    margin-bottom: 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
}

.order-item:last-child {
    border-bottom: none;
}

.payment-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Promo Code Section */
.promo-code-section {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.promo-input-group {
    display: flex;
    gap: 10px;
}

.promo-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    text-transform: uppercase;
    transition: var(--transition);
}

.promo-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.promo-input:disabled {
    background: #e9ecef;
    cursor: not-allowed;
}

.btn-apply-promo {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-apply-promo:hover:not(:disabled) {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-apply-promo:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.promo-message {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}

#discountRow {
    color: var(--success-color);
    font-weight: 600;
}

#promoCodeLabel {
    font-size: 12px;
    opacity: 0.8;
}

/* Success Section */
.success-section {
    padding: 80px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.success-card {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--success-color);
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.success-title {
    font-size: 36px;
    color: var(--success-color);
    margin-bottom: 15px;
}

.success-message {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.order-details {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.detail-value {
    font-weight: 700;
    color: var(--primary-color);
}

.status-success {
    color: var(--success-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.success-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(241, 196, 15, 0.1);
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
}

.success-info i {
    color: var(--accent-color);
    font-size: 20px;
    margin-top: 2px;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.support-box {
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.support-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.support-contacts {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.support-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Auth Section */
.auth-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-title {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.auth-subtitle {
    color: var(--text-secondary);
}

.auth-form {
    margin-bottom: 30px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.input-with-icon input {
    padding-left: 45px;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: var(--text-secondary);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    color: var(--primary-color);
    font-size: 14px;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-benefits {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.auth-benefits h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list i {
    font-size: 20px;
    color: var(--success-color);
}

/* Footer */
/* WhatsApp CTA Section */
.whatsapp-cta {
    background: #006400;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.whatsapp-cta h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: white;
}

.whatsapp-cta .btn-white {
    background: white;
    color: #006400;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

/* Footer Styles */
.footer {
    background: #111111;
    color: #ffffff;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-title {
    color: white;
    font-size: 18px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 700;
}

.footer-column p,
.footer-links li {
    color: #d6d6d6;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: #f1c40f;
    font-weight: 600;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 14px;
    color: #888;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--error-color);
}

.modal-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.modal-text {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.callback-form .form-group {
    margin-bottom: 20px;
}

/* Weekend Delay Modal Styling */
.modal-info {
    text-align: center;
}

.modal-icon-wrapper {
    font-size: 64px;
    color: #ff6b6b;
    margin-bottom: 20px;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.delay-message {
    background: linear-gradient(135deg, #fff5f5, #ffe0e0);
    border-left: 4px solid #ff6b6b;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
    color: var(--text-primary);
}

.delay-message p {
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.6;
}

.delay-message i {
    margin-right: 8px;
    color: #ff6b6b;
}

.modal-cta {
    margin-top: 25px;
}

.modal-cta .btn {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination button {
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.pagination button:hover,
.pagination button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.empty-state i {
    font-size: 64px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Orders Section */
.orders-section {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.orders-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Mobile-specific improvements */
@media (hover: none) and (pointer: coarse) {

    /* Better tap targets for touch devices */
    button,
    .btn,
    a {
        min-height: 44px;
        min-width: 44px;
    }

    /* Prevent text selection on buttons */
    button,
    .btn {
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Improve mobile scrolling */
body {
    -webkit-overflow-scrolling: touch;
}

/* Prevent horizontal scroll on mobile */
body,
html {
    overflow-x: hidden;
    max-width: 100%;
}
