/* Global Styles */
:root {
    --primary-color: #0b2559;
    /* ISDIN Blueish dark */
    --accent-color: #e41f33;
    /* ISDIN Red/Orange */
    --secondary-accent: #f5f5f5;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: #f8f8f8;
    color: #666;
    font-size: 12px;
    padding: 5px 0;
    text-align: center;
    letter-spacing: 1px;
}

.main-header {
    padding: 15px 0;
}

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

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.header-icons {
    display: flex;
    gap: 20px;
    font-size: 18px;
    color: var(--primary-color);
}

/* Hero Banner */
.hero-banner {
    width: 100%;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Sections General */
.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 10px;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 30px;
}

.products-section {
    padding: 40px 20px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 items row */
    gap: 20px;
    margin-top: 20px;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

    .main-nav {
        display: none;
        /* simple hide for mobile for now, would need burger menu */
    }
}

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

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

/* Product Card */
.product-card {
    background: #fff;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #eee;
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    /* Force image to fit container width */
    height: auto;
    aspect-ratio: 1 / 1;
    /* Make images square */
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.badge.sale {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--accent-color);
    color: #fff;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.product-info h3 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
    min-height: 42px;
    /* specific height for alignment */
    line-height: 1.4;
    color: #333;
}

.price-box {
    margin-bottom: 15px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
    margin-right: 5px;
}

.new-price {
    font-weight: 700;
    color: var(--text-color);
    font-size: 16px;
}

.btn-buy {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    width: 100%;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
    font-size: 12px;
}

.btn-buy:hover {
    background-color: #c41829;
}

/* Cart Page Refined Styles */
.cart-page {
    padding: 3rem 0;
    min-height: 60vh;
    background-color: #fff;
}

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

/* Breadcrumbs */
.checkout-page-title {
    margin-bottom: 3rem;
    text-align: center;
}

.breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1rem;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
}

.breadcrumbs a {
    color: #ccc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: color 0.3s;
}

.breadcrumbs a.current {
    color: #333;
    font-weight: 500;
}

.breadcrumb-step {
    background: #ccc;
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.breadcrumbs a.current .breadcrumb-step {
    background: #e41f33;
    /* ISDIN Red */
}

.divider {
    font-size: 0.8rem;
    color: #ddd;
}

/* Breadcrumbs Mobile */
@media (max-width: 768px) {
    .checkout-page-title {
        margin-bottom: 1.5rem;
    }

    .page-title-inner.container {
        padding: 0 0.5rem;
    }

    .breadcrumbs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .breadcrumbs a {
        gap: 0.4rem;
        padding: 0.25rem 0.5rem;
        background: #f8f8f8;
        border-radius: 20px;
        white-space: nowrap;
    }

    .breadcrumbs a.current {
        background: #fff;
        border: 1px solid #e41f33;
    }

    .breadcrumbs a.inactive {
        display: none;
    }

    .breadcrumb-step {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    .divider {
        display: none;
    }
}

/* Layout */
.cart-content-wrapper {
    display: grid;
    grid-template-columns: 65% 35%;
    /* Fixed ratio */
    gap: 3rem;
}

/* Cart Table */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.cart-table th {
    text-align: left;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #555;
    letter-spacing: 0.5px;
}

.cart-table td {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

/* Product Remove */
.product-remove {
    width: 30px;
    vertical-align: middle !important;
}

.product-remove a.remove {
    color: #ccc;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid #eee;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-remove a.remove:hover {
    background-color: #eee;
    color: #333;
}

/* Product Thumbnail */
.product-thumbnail {
    width: 90px;
    padding-right: 1rem !important;
}

.product-thumbnail img {
    width: 80px;
    height: auto;
}

/* Product Name */
.product-name a {
    color: #666;
    font-weight: 400;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
}

/* Prices */
.cart-table .amount {
    font-weight: 700;
    color: #333;
    font-size: 0.95rem;
}

/* Quantity */
.quantity {
    display: inline-flex;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #f9f9f9;
}

.quantity button {
    background: transparent;
    border: none;
    padding: 0 10px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #777;
    line-height: 1;
}

.quantity input {
    width: 35px;
    text-align: center;
    border: none;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    background: transparent;
    font-weight: 600;
    color: #333;
    padding: 8px 0;
}

/* Subtotal Column */
.product-subtotal {
    text-align: right;
}

/* Actions Row Buttons */
.cart-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
}

.button {
    padding: 12px 24px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 0;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-continue {
    background: transparent;
    border: 1px solid #e41f33;
    color: #e41f33;
}

.btn-continue:hover {
    background: #e41f33;
    color: #fff;
}

.btn-update {
    background: #e41f33;
    border: 1px solid #e41f33;
    color: #fff;
}

.btn-update:hover {
    background: #c41829;
}

/* Sidebar */
.cart-sidebar {
    padding-left: 1rem;
}

.cart_totals h2 {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #ececec;
    padding-bottom: 10px;
}

.cart_totals table {
    width: 100%;
}

.cart_totals th {
    text-align: left;
    padding: 1rem 0;
    font-weight: 400;
    color: #666;
    font-size: 0.9rem;
}

.cart_totals td {
    text-align: right;
    padding: 1rem 0;
}

.cart-subtotal td .amount {
    font-weight: 700;
    font-size: 1rem;
}

.order-total th {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.order-total td {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.price-row i {
    font-size: 1.2rem;
    color: #666;
}

.total-amount {
    font-size: 1.5rem;
    /* Large total */
    font-weight: 700;
    color: #000;
}

.payment-details {
    display: block;
    font-size: 0.8rem;
    color: #777;
    margin-top: 5px;
}

.checkout-button {
    display: block;
    width: 100%;
    background: #e41f33;
    /* Main Red */
    color: white;
    text-align: center;
    padding: 15px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    margin-top: 2rem;
    letter-spacing: 0.5px;
}

.checkout-button:hover {
    background: #c41829;
}

/* Coupon Section */
.coupon-section {
    margin-top: 2rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.coupon-title {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coupon-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.coupon-form input {
    padding: 12px;
    background: #f1f1f1;
    border: none;
    width: 100%;
    font-size: 0.9rem;
    color: #555;
}

.apply-coupon {
    width: 100%;
    background: #f9f9f9;
    border: 1px solid #eee;
    color: #999;
    padding: 12px;
    font-weight: 400;
    text-transform: none;
    font-size: 0.9rem;
}

.apply-coupon:hover {
    background: #f1f1f1;
}

/* Footer Refinements */
#footer {
    background-color: #9a9a9a;
    /* Grey background from screenshot */
    color: #fff;
    padding-top: 3rem;
    margin-top: 4rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1rem;
    color: #fff;
    /* White title */
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #fff;
    /* White divider */
    opacity: 0.5;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-col ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.payment-security img {
    max-width: 100%;
    margin-bottom: 1rem;
}

.footer-bottom {
    background-color: #888;
    /* Slightly darker */
    text-align: center;
    padding: 1rem 0;
    font-size: 0.8rem;
    border-top: none;
}

.footer-bottom p {
    margin: 0;
    color: #fff;
}

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

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

    /* Cart Table Mobile Styles */
    .cart-table {
        display: block;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tbody {
        display: block;
    }

    .cart-table tr.cart_item {
        display: grid;
        grid-template-columns: 70px 1fr auto;
        grid-template-rows: auto auto;
        gap: 0.5rem;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
        align-items: start;
    }

    .cart-table .product-remove {
        grid-column: 3;
        grid-row: 1;
        text-align: right;
    }

    .cart-table .product-thumbnail {
        grid-column: 1;
        grid-row: 1 / 3;
        padding: 0;
    }

    .cart-table .product-thumbnail img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
    }

    .cart-table .product-name {
        grid-column: 2;
        grid-row: 1;
        padding: 0;
        font-size: 0.9rem;
    }

    .cart-table .product-name a {
        font-weight: 500;
        line-height: 1.3;
        display: block;
    }

    .cart-table .product-price,
    .cart-table .product-subtotal {
        display: none;
    }

    .cart-table .mobile-product-price {
        display: block !important;
        margin-top: 0.25rem;
        font-size: 0.85rem;
    }

    .cart-table .mobile-product-price .amount {
        font-weight: 600;
        color: #333;
    }

    .cart-table .product-quantity {
        grid-column: 2 / 4;
        grid-row: 2;
        padding: 0.5rem 0 0 0;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .cart-table .product-quantity .quantity {
        display: flex;
        align-items: center;
    }

    .cart-table .product-quantity .quantity input {
        width: 40px;
        text-align: center;
        padding: 0.3rem;
        font-size: 0.9rem;
    }

    .cart-table .product-quantity .quantity button {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }

    .cart-table tr:has(.actions) {
        display: block;
        padding: 1rem 0;
    }

    .cart-table .actions {
        display: block;
        padding: 0;
    }

    .cart-actions-row {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-continue,
    .btn-update {
        width: 100%;
        text-align: center;
    }

    /* Cart Sidebar Mobile */
    .cart-sidebar {
        margin-top: 1.5rem;
    }

    .cart_totals {
        padding: 1rem;
    }

    .cart_totals h2 {
        font-size: 1.1rem;
    }
}

/* Science Banner */
.banner-science {
    margin: 40px 0;
    width: 100%;
}

.banner-science img {
    width: 100%;
}

/* Split Banner */
.split-banner {
    display: flex;
    margin: 60px 0;
    height: 500px;
    /* Fixed height for visual consistency */
}

.split-item {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.split-item.text-section {
    position: relative;
}

.split-item.text-section .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-item.text-section h3 {
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 32px;
    color: #0b9ed9;
    /* Light blueish */
    font-weight: 300;
    z-index: 2;
}

.split-item.blue-section {
    background-color: #6cbdea;
    /* Light Blue background */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.split-item.blue-section .content {
    z-index: 2;
}

.split-item.blue-section h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.split-item.blue-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.split-item.blue-section img {
    max-width: 80%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .split-banner {
        flex-direction: column;
        height: auto;
    }

    .split-item {
        height: 300px;
    }
}

footer {
    background-color: #f2f2f2;
    padding: 60px 0 20px;
    margin-top: 60px;
    color: #666;
}

/* Product Page Styles */
.product-details-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-gallery .main-image {
    position: relative;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-gallery .thumbnails {
    display: flex;
    gap: 10px;
}

.product-gallery .thumb {
    width: 80px;
    height: 80px;
    border: 1px solid #eee;
    border-radius: 5px;
    cursor: pointer;
    padding: 5px;
    transition: border-color 0.3s;
}

.product-gallery .thumb.active,
.product-gallery .thumb:hover {
    border-color: var(--primary-color);
}

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

.product-info-summary .product-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-page-price-box {
    margin-bottom: 10px;
}

.product-page-price-box .old-price {
    font-size: 1.2rem;
}

.product-page-price-box .new-price {
    font-size: 2rem;
    color: #444;
}

.installments {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
}

.add-to-cart-form {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.quantity-selector button {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
}

.quantity-selector input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    font-size: 1rem;
    color: #333;
    -moz-appearance: textfield;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-large {
    flex-grow: 1;
    padding: 0 40px;
    font-size: 1.1rem;
    height: 50px;
}

.payment-methods-product {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.payment-methods-product p {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.payment-icons img {
    height: 24px;
    margin-right: 5px;
}

.icon-box-trust {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}

.icon-box-trust img {
    width: 40px;
}

.icon-box-trust h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.icon-box-trust p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

.product-description-section {
    margin-bottom: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.product-description-section h2 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.description-content {
    color: #555;
    line-height: 1.6;
}

.breadcrumbs-container {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 0.85rem;
    color: #888;
}

.breadcrumbs-container a {
    color: #888;
    text-decoration: none;
}

.breadcrumbs-container a:hover {
    color: var(--text-color);
}

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

    .product-info-summary .product-title {
        font-size: 1.5rem;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-links h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 16px;
    text-transform: uppercase;
}

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

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
}

/* =========================================
   Checkout Page Styles
   ========================================= */

body.checkout-page {
    background-color: #f8f9fa;
    /* Light grey background for the whole page */
    font-family: 'Inter', sans-serif;
}

.checkout-header {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.checkout-logo img {
    max-width: 130px;
    display: block;
    margin: 0 auto;
}

.checkout-banner {
    background-color: #3b383f;
    color: #fff;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.checkout-main {
    padding: 2rem 0;
}

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

@media (min-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr 1fr 1fr;
        /* Equal columns for main content, summary right */
        /* Wait, the user wants Personal(Left), Payment(Mid), Summary(Right). 
           Maybe 1.2fr 1.2fr 1fr? or just 1fr 1fr 0.8fr to give more space to forms */
        grid-template-columns: 1fr 1fr 340px;
        /* Fixed width sidebar is safer */
    }
}

/* Forms Column */
.checkout-step {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    height: fit-content;
    /* Prevent stretching if column is tall */
}

.step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.step-number {
    width: 24px;
    height: 24px;
    background-color: #e41f33;
    /* ISDIN Red */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.step-number.muted {
    background-color: #cbd5e1;
    color: #fff;
}

.step-header h2 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #0f172a;
    margin: 0;
}

.step-header h2.text-muted {
    color: #cbd5e1;
}

.step-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.checkout-step.active {
    border-color: #e2e8f0;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 46px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #0f172a;
    background-color: #fff;
    transition: border-color 0.15s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 0 0 1px #0f172a;
}

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

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.phone-input {
    position: relative;
}

.phone-prefix {
    position: absolute;
    left: 1px;
    top: 1px;
    bottom: 1px;
    padding: 0 0.75rem;
    display: flex;
    align-items: center;
    background: transparent;
    color: #64748b;
    font-size: 0.875rem;
    border-right: 0;
    border-radius: 0.5rem 0 0 0.5rem;
}

.phone-input input {
    padding-left: 3.5rem;
}

.checkout-next-btn {
    width: 100%;
    height: 56px;
    margin-top: 1.25rem;
    background-color: #3b383f;
    /* Dark button like original */
    color: #fff;
    font-weight: 700;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: background 0.2s;
}

.checkout-next-btn:hover {
    background-color: #2d2a30;
}

/* Sidebar Styles */
.order-summary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    /* Subtle shadow like screenshot */
}

.order-summary-card h2 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.coupon-section {
    margin-bottom: 1.5rem;
}

.coupon-section label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.coupon-input-group {
    display: flex;
    gap: 0.5rem;
}

.coupon-input-group input {
    flex: 1;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid #cbd5e1;
    /* Slightly darker border */
    border-radius: 0.375rem;
    font-size: 0.875rem;
    /* Larger font */
    color: #334155;
}

.coupon-input-group button.btn-dark {
    background: #333333;
    /* Very Dark Grey */
    color: #fff;
    border: none;
    border-radius: 0.375rem;
    padding: 0 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.summary-totals {
    background: #f3f4f6;
    padding: 1.5rem;
    /* More padding */
    border-radius: 0.375rem;
    /* Smaller radius */
    margin-bottom: 1.5rem;
    color: #64748b;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    /* More spacing */
    font-size: 0.875rem;
    /* Larger font */
    color: #475569;
}

.summary-row.total-row {
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1rem;
    /* Larger total */
    color: #0f172a;
    border-top: none;
    padding-top: 0;
}

.summary-products {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.summary-product-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-product-item img {
    width: 72px;
    /* Slightly larger */
    height: 72px;
    object-fit: contain;
    border-radius: 0.375rem;
    border: 1px solid #f1f5f9;
    padding: 4px;
    background: #fff;
}

.summary-product-item .product-info h4 {
    font-size: 0.75rem;
    font-weight: 400;
    color: #334155;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.summary-product-item .price {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.qty-select select {
    height: 32px;
    /* Taller */
    padding: 0 0.75rem;
    /* More padding */
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #475569;
}

/* Footer & Trust Badges */
/* Trust Badges in Sidebar are removed/hidden in screenshot? No, they are in the footer now.
   Hiding sidebar trust badges based on screenshot not showing them below summary. */
.trust-badges {
    display: none;
}

/* Footer Layout */
.checkout-footer {
    padding: 4rem 0 2rem;
    /* More top padding */
    background: #f8f9fa;
    /* Page background flows into footer area */
    border-top: none;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    font-size: 0.75rem;
    color: #94a3b8;
    /* Lighter grey */
    line-height: 1.6;
}

.footer-address {
    max-width: 300px;
    line-height: 1.5;
}

.footer-address p {
    color: #94a3b8;
}

.footer-security {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
    text-align: right;
    /* Or left aligned next to icon */
}

.footer-security i {
    font-size: 1.25rem;
    /* Smaller icon */
    color: #cbd5e1;
    /* Very light grey icon */
}

.footer-security strong {
    color: #cbd5e1;
    /* Match icon color */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.footer-security div {
    line-height: 1.2;
    font-size: 0.7rem;
    color: #cbd5e1;
}

.footer-payment {
    text-align: center;
    margin-bottom: 3rem;
    border-top: 1px solid #e2e8f0;
    /* Adding the divider line seen */
    padding-top: 2rem;
    width: 60%;
    /* Limit width like screenshot */
    margin-left: auto;
    margin-right: auto;
}

.footer-payment p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.footer-copyright {
    text-align: center;
    font-size: 0.75rem;
    color: #cbd5e1;
    border-top: none;
    padding-top: 1rem;
}