/* Ultimate Theme - Contact Us Styles */
.contact-container {
    background-color: #1e252b;
    padding: 80px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.info-box {
    background-color: #ffffff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 32px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #22C55E;
}

.info-box h3 {
    font-size: 14px;
    color: #333;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 800;
}

.info-box p,
.info-box a {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    text-decoration: none;
}

.info-box a:hover {
    color: #22C55E;
}

.contact-form-area {
    background-color: #22C55E;
    padding: 60px;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.contact-form-area h2 {
    font-size: 42px;
    color: #1e252b;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}

.form-group {
    margin-bottom: 18px !important;
    display: flex;
    flex-direction: column;
}

.error-msg {
    color: #ff4d4d;
    font-size: 11px;
    margin-top: 4px;
    display: block;
    text-align: left;
    font-weight: 500;
    font-family: sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: #ffffff;
    font-size: 14px;
    color: #333;
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.submit-btn {
    background: transparent;
    border: 2px solid #ffffff;
    color: #1e252b;
    padding: 15px 40px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 10px;
    text-transform: uppercase;
}

.submit-btn:hover {
    background-color: #ffffff;
    color: #22C55E;
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Newsletter V2 Design */
.newsletter-v2 {
    background-color: #d4ece7;
    padding: 100px 40px;
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.newsletter-v2 h2 {
    font-size: 48px;
    color: #333;
    font-weight: 800;
    margin-bottom: 20px;
}

.newsletter-v2 .divider {
    width: 100px;
    height: 3px;
    background-color: #333;
    margin: 0 auto 30px;
}

.newsletter-v2 p {
    font-size: 16px;
    color: #333;
    margin-bottom: 40px;
}

.newsletter-v2-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    /* Added to allow status message to wrap */
}

.newsletter-v2-form #newsletterStatus {
    width: 100%;
    /* Force status message to its own line */
}

.newsletter-v2-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    background-color: #ffffff;
    font-size: 15px;
    outline: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.newsletter-v2-form .submit-btn {
    background-color: #efc3b3;
    color: #444;
    border: none;
    padding: 0 40px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 0;
    align-self: stretch;
}

.newsletter-v2-form .submit-btn:hover {
    background-color: #e5b3a3;
    color: #333;
}

@media (max-width: 600px) {
    .newsletter-v2-form {
        flex-direction: column;
    }

    .newsletter-v2-form input {
        width: 100%;
    }

    .newsletter-v2 h2 {
        font-size: 36px;
    }
}

/* Navbar Dropdown Architecture */
.nav-container {
    align-items: center;
    /* Ensure all items in navbar are centered */
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 5px 0;
}

.nav-container>a,
.dropdown-toggle {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 10px 0;
    /* Unified padding for perfect alignment */
    color: #1e252b;
    font-weight: 600;
    text-decoration: none;
}

.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    gap: 8px;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 10px;
    /* This padding IS the bridge. No gaps. */
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInDown 0.2s ease-out;
}

.dropdown-content {
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    padding: 8px 0;
    border: 1px solid #E5E7EB;
}

.dropdown-content a {
    color: #334155 !important;
    padding: 12px 20px !important;
    text-decoration: none;
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #F3F4F6;
    color: #22C55E !important;
    padding-left: 25px !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* --- Product Detail Styles --- */
.product-gallery,
.product-info {
    min-width: 0;
    max-width: 100%;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 40px;
}

.product-gallery .main-image {
    background: #F3F4F6;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery .main-image .main-media,
.product-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.thumbnail-grid img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.thumbnail-grid img:hover {
    border-color: #16A34A;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #94a3b8;
}

.breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #16A34A;
}

.product-title {
    font-size: 42px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.1;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.review-count {
    color: #94a3b8;
    font-size: 14px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.current-price {
    font-size: 32px;
    font-weight: 800;
    color: #16A34A;
}

.old-price {
    font-size: 20px;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-description {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 40px;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    width: fit-content;
    overflow: hidden;
    margin-top: 10px;
}

.quantity-selector button {
    width: 45px;
    height: 45px;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    color: #000000;
}

.quantity-selector input {
    width: 60px;
    height: 45px;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
}

.product-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    margin-top: 30px;
}

.add-to-cart-btn {
    flex: 1;
    background: #000000;
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.add-to-cart-btn:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.wishlist-btn {
    width: 60px;
    height: 60px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-meta {
    border-top: 1px solid #E5E7EB;
    padding-top: 30px;
}

.product-meta p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #64748b;
}

.stock-status {
    color: #10b981;
    font-weight: 700;
}

/* Product Reviews Styles */
.product-reviews-section {
    max-width: 1100px;
    margin: 0 auto;
}

.product-reviews-section .reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-reviews-section .reviews-title-wrap .reviews-title {
    font-size: 20px;
    margin: 0;
    font-weight: 800;
}

.product-reviews-section .reviews-count {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 6px;
}

.product-reviews-section .avg-rating-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
}

.product-reviews-section .avg-rating-card .avg-value {
    font-size: 24px;
    font-weight: 900;
    color: #1A1A1A;
}

.product-reviews-section .avg-rating-card .avg-stars {
    font-size: 18px;
    color: #6B7280;
    margin-top: 6px;
}

/* avatar and scroll */
.product-reviews-section .review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.product-reviews-section .review-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.product-reviews-section .avatar-initials {
    font-weight: 700;
    color: #1A1A1A;
    font-size: 16px;
}

#productReviewsList.scrollable {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 8px;
}

.product-reviews-section .write-review-btn {
    background: #fff;
    color: #16A34A;
    border: 1px solid rgba(99, 102, 241, 0.12);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.product-reviews-section .write-review-btn:hover {
    background: #16A34A;
    color: #fff;
}

.product-reviews-section .review-item {
    padding: 14px 0;
    border-bottom: 1px solid #E5E7EB;
}

.product-reviews-section .review-item .review-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-reviews-section .review-item .review-stars {
    color: #6B7280;
    margin-top: 6px;
}

.product-reviews-section .no-reviews {
    color: #64748b;
    padding: 12px 0;
}

.product-inline-review-form {
    margin-top: 12px;
}

.product-inline-review-form .stars {
    font-size: 22px;
    color: #6B7280;
}

.product-inline-review-form .star {
    cursor: pointer;
    display: inline-block;
    padding: 2px 6px;
    font-size: 22px;
    color: #6B7280;
}

.product-inline-review-form .star.filled {
    color: #6B7280;
}


@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Shop Page Premium Redesign --- */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    max-width: 1440px;
    margin: 60px auto;
    padding: 0 40px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.filter-sidebar {
    background: #fff;
}

.filter-title {
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #E5E7EB;
}

.filter-section {
    margin-bottom: 35px;
}

.filter-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-list {
    list-style: none;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    user-select: none;
}

.filter-item input {
    width: 20px;
    height: 20px;
    accent-color: #16A34A;
    cursor: pointer;
}

.filter-item label {
    font-size: 14.5px;
    color: #475569;
    flex: 1;
    cursor: pointer;
}

.filter-item .count {
    color: #94a3b8;
    font-size: 13px;
}

/* Price range */
.price-slider-wrap {
    padding: 10px 5px;
}

.price-slider {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 10px;
    appearance: none;
    outline: none;
}

.price-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: #16A34A;
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

/* Main Shop Header */
.shop-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.results-info {
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
}

.shop-tools {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sort-select {
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    background: #fff;
    cursor: pointer;
    min-width: 180px;
}

.view-btn-group {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    font-size: 18px;
    color: #94a3b8;
}

.view-btn.active {
    background: #16A34A;
    color: #fff;
    border-color: #16A34A;
}

/* Premium Cards */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.premium-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    padding: 0;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.card-img-wrap {
    position: relative;
    aspect-ratio: 1/1.1;
    background: #F3F4F6;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.badge-tag {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
}

.wish-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    color: #64748b;
    z-index: 2;
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.swatch-group {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.p-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 48px;
    font-size: 17px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    flex-grow: 1;
}

.p-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.p-new-price {
    font-size: 20px;
    font-weight: 800;
    color: #16A34A;
}

.p-old-price {
    font-size: 15px;
    color: #94a3b8;
    text-decoration: line-through;
}

.card-actions {
    display: flex;
    gap: 12px;
}

.shop-cart-btn {
    flex: 1;
    background: #000000;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.icon-btn {
    width: 48px;
    height: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        display: none;
    }
}

/* Hero Slider V2 - Split Screen */
.hero-slider-v2 {
    background: #F3F4F6;
    padding: 100px 40px;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.slider-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.slider-content {
    flex: 1.2;
}

.slider-content h5 {
    color: #16A34A;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.slider-content h1 {
    font-size: 64px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.slider-content p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 45px;
    max-width: 500px;
}

.slider-btns {
    display: flex;
    gap: 15px;
}

.btn-primary,
.btn-outline {
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-primary {
    background: #000000;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #000000;
}

.btn-outline:hover {
    border-color: #000000;
    background: #F3F4F6;
}

.slider-image {
    flex: 1;
}

.slider-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

@media (max-width: 900px) {
    .slider-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .slider-content h1 {
        font-size: 42px;
    }

    .slider-content p {
        margin: 0 auto 30px;
    }

    .slider-btns {
        justify-content: center;
    }
}

/* Featured Products Section */
.container-v2 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title-v2 {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-v2 h2 {
    font-size: 36px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 10px;
}

.section-title-v2 p {
    color: #64748b;
    font-size: 16px;
}

.products-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Enhanced Premium Card */
.premium-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-img-wrap {
    position: relative;
    aspect-ratio: 1/1.2;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.premium-card:hover .card-img-wrap img {
    transform: scale(1.08);
}

.card-body {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.p-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 48px;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    flex-grow: 1;
}

.p-price-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.p-new-price {
    font-size: 20px;
    font-weight: 800;
    color: #16A34A;
}

.p-old-price {
    font-size: 15px;
    color: #94a3b8;
    text-decoration: line-through;
}

@media (max-width: 600px) {
    .products-grid-v2 {
        grid-template-columns: 1fr;
    }

    .section-title-v2 h2 {
        font-size: 28px;
    }
}

/* --- Global Utility Classes --- */
.flex {
    display: flex;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-align-center {
    display: flex;
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-5 {
    gap: 5px;
}

.gap-8 {
    gap: 8px;
}

.gap-10 {
    gap: 10px;
}

.gap-12 {
    gap: 12px;
}

.gap-15 {
    gap: 15px;
}

.gap-20 {
    gap: 20px;
}

.flex-1 {
    flex: 1;
}

.inline-block {
    display: inline-block;
}

.hidden {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

.full-width {
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-line-through {
    text-decoration: line-through;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.fs-10 {
    font-size: 10px;
}

.fs-11 {
    font-size: 11px;
}

.fs-12 {
    font-size: 12px;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

.fs-15 {
    font-size: 15px;
}

.fs-18 {
    font-size: 18px;
}

.fs-32 {
    font-size: 32px;
}

.m-0 {
    margin: 0;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.ml-5 {
    margin-left: 5px;
}

.ml-10 {
    margin-left: 10px;
}

.ml-15 {
    margin-left: 15px;
}

.pt-20 {
    padding-top: 20px;
}

.pt-30 {
    padding-top: 30px;
}

.color-slate-400 {
    color: #94a3b8;
}

.color-slate-500 {
    color: #64748b;
}

.color-slate-600 {
    color: #475569;
}

.color-slate-800 {
    color: #000000;
}

.color-red-500 {
    color: #ef4444;
}

.color-amber-400 {
    color: #6B7280;
}

.color-emerald-500 {
    color: #10b981;
}

.bg-white {
    background: #fff;
}

.bg-slate-50 {
    background: #F3F4F6;
}

.bg-red-500 {
    background: #ef4444;
}

.bg-indigo-500 {
    background: #16A34A;
}

.border-slate-200 {
    border: 1px solid #e2e8f0;
}

.border-slate-100 {
    border: 1px solid #E5E7EB;
}

.border-eee {
    border: 1px solid #eee;
}

.border-top-slate-100 {
    border-top: 1px solid #E5E7EB;
}

.radius-4 {
    border-radius: 4px;
}

.radius-6 {
    border-radius: 6px;
}

.radius-8 {
    border-radius: 8px;
}

.radius-10 {
    border-radius: 10px;
}

.radius-12 {
    border-radius: 12px;
}

.radius-15 {
    border-radius: 15px;
}

/* --- Special Components --- */
.discount-badge {
    background: #ef4444;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 5px;
    display: inline-block;
}

.hot-selling .discount-badge {
    padding: 2px 6px;
    font-size: 10px;
}

.product-detail-layout .discount-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    margin-left: 10px;
}

.variant-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #e2e8f0;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.2s;
}

.variant-label.active {
    border-color: #000000;
    background: #F3F4F6;
}

.variant-label input {
    display: none;
}

.shadow-none {
    box-shadow: none !important;
}

.opacity-80 {
    opacity: 0.8;
}

.section-spacing {
    padding: 80px 0;
}

.hot-badge-banner {
    padding: 15px 40px;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.breadcrumb-active {
    color: #000000;
    font-weight: 600;
}

.card-actions .shop-cart-btn {
    border-radius: 12px;
}


.h-100 {
    height: 100%;
}

.object-fit-cover {
    object-fit: cover;
}

.object-fit-contain {
    object-fit: contain;
}

.block {
    display: block;
}

.aspect-1 {
    aspect-ratio: 1/1;
}

.overflow-hidden {
    overflow: hidden;
}

.no-border {
    border: none;
}

/* Concise Dual Range Slider */
.price-filter-v2 {
    padding: 10px 0;
}

.price-display-v2 {
    font-size: 15px;
    font-weight: 700;
    color: #334;
    margin-bottom: 25px;
    display: block;
}

.dual-slider-container {
    position: relative;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    margin: 20px 0 35px;
}

.slider-track-v2 {
    position: absolute;
    height: 100%;
    background: #16A34A;
    border-radius: 4px;
}

.slider-input-v2 {
    position: relative;
    width: 100%;
}

.slider-input-v2 input {
    position: absolute;
    width: 100%;
    height: 4px;
    top: -4px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.slider-input-v2 input::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #16A34A;
    pointer-events: auto;
    -webkit-appearance: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 2;
}

.slider-input-v2 input::-moz-range-thumb {
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #16A34A;
    pointer-events: auto;
    cursor: pointer;
}

.slider-input-v2 input:focus {
    outline: none;
}

/* Utilities */
.color-red-500 {
    color: #ef4444 !important;
}

.wish-icon.active i,
.wishlist-btn.active i {
    color: #ef4444 !important;
    font-weight: 900 !important;
}

.cursor-pointer {
    cursor: pointer;
}

.header-actions .logout-btn-header {
    margin-left: 15px;
    color: #ef4444;
    font-size: 18px;
    transition: all 0.3s ease;
}

.header-actions .logout-btn-header:hover {
    color: #dc2626;
    transform: translateY(-2px);
}

.header-actions .auth-user-icon {
    font-size: 18px;
    transition: all 0.3s ease;
}

.header-actions .auth-user-icon:hover {
    color: #16A34A;
    transform: translateY(-2px);
}

/* --- Auth Pages Styles (Login & Registration) --- */
.auth-section {
    padding: 100px 20px;
    min-height: calc(100vh - 400px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.auth-container {
    width: 100%;
    max-width: 500px;
}

.auth-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.registration-card {
    max-width: 650px;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 10px;
}

.auth-header p {
    color: #64748b;
    font-size: 15px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-v2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-v2 label {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap i {
    position: absolute;
    left: 20px;
    color: #94a3b8;
    font-size: 16px;
}

.input-wrap input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #000000;
    background: #F3F4F6;
    transition: all 0.3s;
}

.input-wrap input:focus {
    outline: none;
    border-color: #16A34A;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    cursor: pointer;
}

.forgot-link {
    color: #16A34A;
    text-decoration: none;
    font-weight: 600;
}

.auth-submit-btn {
    background: #000000;
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    margin-top: 10px;
}

.auth-submit-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-footer p {
    font-size: 14px;
    color: #64748b;
}

.auth-footer a {
    color: #16A34A;
    text-decoration: none;
    font-weight: 700;
}

.status-msg {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    min-height: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 30px;
    }
}

/* User Profile Dropdown */
.user-profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    background: #E5E7EB;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s;
}

.profile-trigger:hover {
    background: #e2e8f0;
}

.profile-trigger i {
    font-size: 16px;
    color: #16A34A;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
    padding: 8px 0;
    z-index: 1000;
    display: none;
    transform-origin: top right;
    animation: dropdownAnim 0.3s ease-out;
}

.user-profile-dropdown:hover .user-dropdown-menu {
    display: block;
}

/* Invisible bridge to prevent hover loss between trigger and menu */
.user-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    right: 0;
    width: 100%;
    height: 15px;
    display: block;
}

@keyframes dropdownAnim {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.user-dropdown-menu a,
.user-dropdown-menu span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.user-dropdown-menu a:hover,
.user-dropdown-menu span:hover {
    background: #F3F4F6;
    color: #16A34A;
}

.user-dropdown-menu .divider {
    height: 1px;
    background: #E5E7EB;
    margin: 4px 0;
}

.logout-link {
    color: #ef4444 !important;
}

.logout-link:hover {
    background: #fef2f2 !important;
}

/* Profile Page Layout */
.profile-section {
    padding: 60px 0;
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.profile-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.profile-header {
    margin-bottom: 30px;
}

.profile-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 8px;
}

.profile-header p {
    color: #64748b;
    font-size: 14px;
}

/* Custom Confirm Alert Style */
.confirm-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.confirm-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.confirm-modal {
    background-color: #1a1a1a;
    color: #ffffff;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid #333;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.confirm-backdrop.active .confirm-modal {
    transform: scale(1);
}

.confirm-modal i {
    font-size: 50px;
    color: #ef4444;
    margin-bottom: 20px;
    display: block;
}

.confirm-modal h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    margin-top: 0;
}

.confirm-modal p {
    font-size: 15px;
    color: #a0a0a0;
    line-height: 1.5;
    margin-bottom: 25px;
}

.confirm-actions {
    display: flex;
    gap: 12px;
}

.confirm-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-yes {
    background-color: #ef4444;
    color: #fff;
    text-transform: none;
}

.btn-yes:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

.btn-cancel {
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
    text-transform: none;
}

.btn-cancel:hover {
    background-color: #444;
    transform: translateY(-2px);
}

.card-add-btn {
    width: 100%;
    margin-top: 15px;
    background: #16A34A;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.card-add-btn:hover {
    background: #16A34A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.card-add-btn i {
    font-size: 14px;
}

.card-add-btn[disabled],
.card-buy-btn[disabled] {
    background: #cbd5e1 !important;
    color: #64748b !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

/* --- Cart Page Premium Styles --- */
.cart-layout {
    background: #1A1A1A;
    min-height: 600px;
}

.cart-content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
    margin-bottom: 40px;
}

.cart-table th {
    text-align: left;
    padding: 15px 20px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-item-row {
    background: #000000;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid #334155;
}

.cart-item-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #475569;
}

.cart-item-row td {
    padding: 20px;
    vertical-align: middle;
    color: #fff;
}

.cart-product-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-product-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    background: #1A1A1A;
}

.cart-product-name {
    font-weight: 700;
    color: #F3F4F6;
    font-size: 16px;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.cart-product-price {
    color: #818cf8;
    font-weight: 700;
    font-size: 16px;
}

.cart-qty-selector {
    display: flex;
    align-items: center;
    background: #334155;
    border-radius: 10px;
    width: fit-content;
    overflow: hidden;
    border: 1px solid #475569;
}

.cart-qty-selector button {
    width: 35px;
    height: 35px;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

.cart-qty-selector button:hover {
    background: #475569;
}

.cart-qty-selector input {
    width: 45px;
    text-align: center;
    border: none;
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.total-price-cell {
    font-weight: 800;
    font-size: 17px;
    color: #fff;
}

.remove-cart-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-cart-btn:hover {
    background: #ef4444;
    color: #fff;
    transform: scale(1.1);
}

.cart-summary-card {
    background: #000000;
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    margin-top: 30px;
    margin-left: auto;
    width: 100%;
    max-width: 400px;
    border: 1px solid #334155;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #94a3b8;
    font-size: 15px;
}

.summary-total {
    border-top: 1px solid #334155;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.checkout-btn {
    width: 100%;
    background: #16A34A;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    margin-top: 25px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-btn:hover {
    background: #16A34A;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.empty-cart-container {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-container i {
    font-size: 60px;
    color: #334155;
    margin-bottom: 25px;
}

.empty-cart-container h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

.empty-cart-container p {
    color: #94a3b8;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .cart-table thead {
        display: none;
    }

    .cart-item-row {
        display: block;
        margin-bottom: 20px;
    }

    .cart-item-row td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        border-bottom: 1px solid #334155;
    }

    .cart-item-row td:last-child {
        border-bottom: none;
    }

    .cart-item-row td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #94a3b8;
        font-size: 12px;
        text-transform: uppercase;
    }

    .cart-product-info {
        width: 100%;
    }
}

.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99999;
    pointer-events: none;
}

.toast-container .toast-notification {
    pointer-events: auto;
}

.toast-notification {
    background: #000000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #334155;
    opacity: 0;
    transform: translateX(120%);
    min-width: 300px;
    position: relative;
}

.toast-notification.active {
    transform: translateX(0);
    opacity: 1;
}

.toast-notification i {
    color: #10b981;
    font-size: 20px;
}

.toast-notification.error i {
    color: #ef4444;
}

.toast-notification.error {
    border-left: 4px solid #ef4444;
}

.toast-notification .toast-msg {
    font-weight: 600;
}

@media (max-width: 768px) {
    .toast-container {
        top: auto;
        bottom: 30px;
        right: 50%;
        transform: translateX(50%);
        width: 90%;
        align-items: center;
    }

    .toast-notification {
        transform: translateY(100px);
        min-width: 100%;
    }

    .toast-notification.active {
        transform: translateY(0);
    }
}

/* --- Variant Selection Popup --- */
.variant-popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.variant-popup-backdrop.active {
    display: flex;
    opacity: 1;
}

.variant-popup {
    background: #000000;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #334155;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.variant-popup-backdrop.active .variant-popup {
    transform: scale(1);
}

.variant-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.variant-popup-header h3 {
    margin: 0;
    font-size: 20px;
    color: #fff;
    font-weight: 800;
}

.close-popup-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.close-popup-btn:hover {
    color: #fff;
}

.variant-popup-label {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 20px;
}

.variant-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.variant-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #1A1A1A;
    border-radius: 12px;
    border: 1px solid #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variant-option-item:hover {
    border-color: #16A34A;
    background: #000000;
    transform: translateX(5px);
}

.v-opt-name {
    color: #F3F4F6;
    font-weight: 600;
    font-size: 15px;
}

.v-opt-price {
    color: #818cf8;
    font-weight: 800;
    font-size: 16px;
}

.variant-option-item.out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

.v-opt-stock-msg {
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
}

/* --- Checkout Page Styles --- */
.checkout-layout {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #000000;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: flex-start;
}

.checkout-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
}

.checkout-card-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000000;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 15px;
}

.checkout-card-title i {
    color: #16A34A;
}

.form-group-v3 {
    margin-bottom: 20px;
}

.form-group-v3 label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #475569;
}

.form-group-v3 input,
.form-group-v3 select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #000000;
    transition: all 0.2s;
    background: #F3F4F6;
}

.form-group-v3 input:focus,
.form-group-v3 select:focus {
    border-color: #16A34A;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

.payment-method-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s;
    background: #F3F4F6;
    position: relative;
}

.payment-method-option:hover {
    border-color: #cbd5e1;
}

.payment-method-option.active {
    border-color: #16A34A;
    background: #f5f3ff;
}

.payment-method-option input {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    accent-color: #16A34A;
}

.pay-opt-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pay-opt-info strong {
    font-size: 16px;
    color: #000000;
    margin-bottom: 4px;
}

.pay-opt-info span {
    font-size: 13px;
    color: #64748b;
}

.payment-method-option i {
    font-size: 24px;
    color: #94a3b8;
}

.payment-method-option.active i {
    color: #16A34A;
}

.checkout-items-list {
    margin-bottom: 25px;
    max-height: 350px;
    overflow-y: auto;
    padding-right: 5px;
}

.checkout-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E5E7EB;
}

.checkout-item:last-child {
    border-bottom: none;
}

.check-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    background: #F3F4F6;
}

.check-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.check-item-name {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 4px;
    line-height: 1.4;
}

.check-item-meta {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
}

.checkout-totals {
    border-top: 2px dashed #e2e8f0;
    padding: 20px 0;
    margin-top: 10px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: #64748b;
}

.total-row.grand-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #E5E7EB;
    font-size: 22px;
    font-weight: 800;
    color: #000000;
}

.place-order-btn {
    width: 100%;
    padding: 18px;
    background: #16A34A;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.place-order-btn:hover {
    background: #16A34A;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.place-order-btn:disabled {
    background: #94a3b8;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.sticky-top {
    position: sticky;
    top: 100px;
}

@media (max-width: 992px) {
    .checkout-form-grid {
        grid-template-columns: 1fr;
    }

    .sticky-top {
        position: static;
    }
}

/* Redesigned Checkout Layout */
.card-header-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.btn-text-primary {
    background: none;
    border: none;
    color: #16A34A;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    transition: 0.3s;
}

.btn-text-primary:hover {
    color: #16A34A;
    text-decoration: underline;
}

.saved-addresses-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.address-card-v2 {
    background: #fff;
    border: 1px solid #E5E7EB;
    padding: 15px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.address-card-v2:hover {
    border-color: #cbd5e1;
    background: #F3F4F6;
}

.address-card-v2.active {
    border-color: #16A34A;
    background: #f5f3ff;
}

.addr-radio {
    width: 20px;
    height: 20px;
    accent-color: #16A34A;
    cursor: pointer;
}

.addr-details-v2 {
    flex: 1;
}

.addr-details-v2 strong {
    font-size: 15px;
    display: block;
    color: #000000;
    margin-bottom: 2px;
}

.addr-details-v2 span {
    font-size: 13px;
    color: #64748b;
}

.btn-edit-address {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    padding: 8px;
    border-radius: 8px;
}

.btn-edit-address:hover {
    color: #16A34A;
    background: #f5f3ff;
}

.new-address-form-wrap {
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Removed duplicate toast CSS */

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 30px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #000000;
}

.faq-question i {
    font-size: 14px;
    color: #94a3b8;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #16A34A;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-out;
    background: #F3F4F6;
    color: #475569;
    font-size: 15px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.main-media {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
}

.thumbnail-media {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.thumbnail-media:hover {
    transform: scale(1.05);
    border: 2px solid #16A34A;
}

.thumbnail-media.thumb-active {
    border: 2px solid #16A34A;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    transform: scale(1.05);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease;
    border: 1px solid #E5E7EB;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-quote i {
    color: #16A34A;
    font-size: 24px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.5;
}

/* --- Carousel & Slider System --- */
.carousel-section {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.carousel-container {
    position: relative;
    width: 100%;
    margin-top: 50px;
    padding: 0 50px;
}

.carousel-track-wrap {
    overflow: hidden !important;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 33.333% !important;
    padding: 15px;
    box-sizing: border-box;
    width: 33.333%;
}

@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 50% !important;
        width: 50%;
    }

    .carousel-container {
        padding: 0 30px;
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        flex: 0 0 100% !important;
        width: 100%;
    }

    .carousel-container {
        padding: 0;
    }
}

/* Glassmorphism Card */
.glass-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    padding: 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-height: 400px;
    overflow: hidden !important;
    /* Force hide overflow */
    position: relative;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Team & Author Images */
.team-img-wrap,
.author-img-wrap {
    width: 130px;
    height: 130px;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.team-img-wrap::after,
.author-img-wrap::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16A34A, #a855f7);
    z-index: -1;
    opacity: 0.2;
}

.team-img,
.author-img {
    width: 100%;
    height: 100%;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 6px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    background: #F3F4F6;
}

.team-img img,
.author-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* Text Content */
.team-info,
.author-info {
    width: 100%;
}

.team-info h3,
.author-info strong {
    display: block;
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 800;
    color: #000000;
}

.team-info .designation,
.author-info span {
    color: #16A34A;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.team-info .desc,
.testimonial-quote p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Testimonials Specific */
.testimonial-quote {
    margin-bottom: 20px;
    width: 100%;
}

.quote-icon {
    font-size: 32px;
    color: #16A34A;
    opacity: 0.15;
    margin-bottom: 12px;
    display: block;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 25px;
    width: 100%;
}

/* Buttons & Dots */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #000000;
}

.carousel-btn:hover {
    background: #16A34A;
    color: #fff;
    border-color: #16A34A;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    width: 24px;
    background: #16A34A;
    border-radius: 4px;
}

/* --- Dynamic Footer Styles --- */
.main-footer {
    padding: 80px 0 30px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: inherit;
}

.footer-text-content {
    line-height: 1.8;
    opacity: 0.8;
    font-size: 15px;
    margin: 0;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s;
    font-size: 15px;
}

.footer-links-list a:hover {
    opacity: 1;
    padding-left: 5px;
    color: #16A34A;
}

.footer-social-v2 {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social-v2 a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.footer-social-v2 a:hover {
    background: #16A34A;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom-v2 {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom-v2 p {
    margin: 0;
    opacity: 0.6;
    font-size: 14px;
}

.footer-empty-msg {
    grid-column: 1/-1;
    text-align: center;
    padding: 40px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .footer-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-grid-v2 {
        grid-template-columns: 1fr;
    }
}

/* --- Sticky Header System --- */
.main-header.sticky-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.main-header.sticky-header .header-container {
    padding: 10px 40px;
}

/* --- Search Autocomplete Dropdown --- */
.header-search {
    position: relative;
}

.search-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    z-index: 9999;
    overflow: hidden;
    max-height: 420px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.search-autocomplete-dropdown.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.search-autocomplete-dropdown::-webkit-scrollbar {
    width: 5px;
}

.search-autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.search-ac-header {
    padding: 12px 16px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #F3F4F6;
}

.search-ac-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid #F3F4F6;
    text-decoration: none;
}

.search-ac-item:last-child {
    border-bottom: none;
}

.search-ac-item:hover,
.search-ac-item.highlighted {
    background: #F3F4F6;
}

.search-ac-img {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: cover;
    background: #E5E7EB;
    flex-shrink: 0;
    border: 1px solid #E5E7EB;
}

.search-ac-info {
    flex: 1;
    min-width: 0;
}

.search-ac-name {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.search-ac-name mark {
    background: transparent;
    color: #16A34A;
    font-weight: 800;
}

.search-ac-price {
    font-size: 13px;
    font-weight: 700;
    color: #16A34A;
    margin-top: 3px;
}

.search-ac-arrow {
    font-size: 12px;
    color: #cbd5e1;
    flex-shrink: 0;
}

.search-ac-footer {
    padding: 12px 16px;
    background: #F3F4F6;
    border-top: 1px solid #E5E7EB;
}

.search-ac-footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: #000000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    letter-spacing: 0.5px;
}

.search-ac-footer-btn:hover {
    background: #1A1A1A;
}

.search-ac-empty {
    padding: 30px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}

.search-ac-empty i {
    display: block;
    font-size: 28px;
    margin-bottom: 10px;
    color: #cbd5e1;
}

.header-container.no-search {
    justify-content: space-between;
}

.header-container.no-search .header-search {
    display: none;
}

/* Notification Styles */
.notification-icon {
    position: relative;
    cursor: pointer;
    font-size: 20px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.2s;
}

.notification-icon:hover {
    background: #E5E7EB;
    color: #000000;
}

.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #E5E7EB;
    margin-top: 10px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.notification-icon:hover .notification-dropdown,
.notification-dropdown.active {
    display: block;
    animation: fadeInDown 0.2s ease-out;
}

.notif-header {
    padding: 15px 20px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.notif-header button {
    background: none;
    border: none;
    color: #16A34A;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.notif-header button:hover {
    text-decoration: underline;
}

.notif-body {
    max-height: 350px;
    overflow-y: auto;
}

.notif-item {
    padding: 15px 20px;
    border-bottom: 1px solid #F3F4F6;
    transition: all 0.2s;
    display: flex;
    gap: 12px;
    text-decoration: none !important;
}

.notif-item:hover {
    background: #F3F4F6;
}

.notif-item.unread {
    background: #f0f4ff;
}

.notif-item.unread:hover {
    background: #e5edff;
}

.notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.notif-icon.order {
    background: #e0f2fe;
    color: #0369a1;
}

.notif-icon.account {
    background: #fef3c7;
    color: #b45309;
}

.notif-icon.success {
    background: #dcfce7;
    color: #15803d;
}

.notif-icon.info {
    background: #E5E7EB;
    color: #475569;
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 4px;
    display: block;
}

.notif-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 4px;
    display: block;
}

.notif-time {
    font-size: 11px;
    color: #94a3b8;
}

.notif-empty {
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

.notif-footer {
    padding: 12px;
    text-align: center;
    border-top: 1px solid #E5E7EB;
    background: #F3F4F6;
}

.notif-footer a {
    font-size: 13px;
    font-weight: 600;
    color: #16A34A;
    text-decoration: none;
}

.notif-footer a:hover {
    text-decoration: underline;
}

/* Orders Page Styles - My Orders (matches modern, card-based layout) */
.profile-card .orders-list {
    margin-top: 12px;
}

.orders-accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.order-card {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.03);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.06);
}

.order-summary {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-summary .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
}

.order-summary .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
}

.order-summary .date {
    color: #94a3b8;
    margin-left: 10px;
}

.order-summary .body {
    display: flex;
    gap: 16px;
    align-items: center;
}

.order-summary .thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eef2f7;
    flex-shrink: 0;
}

.order-summary .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-summary .info {
    flex: 1;
}

.order-summary .info .order-id {
    color: #b91c1c;
    font-weight: 800;
    margin-bottom: 6px;
}

.order-summary .info .items {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.order-summary .info .total {
    font-weight: 800;
    font-size: 16px;
    color: #1A1A1A;
}

.order-summary .chev {
    color: #94a3b8;
    font-size: 12px;
}

.order-details {
    display: none;
    padding: 18px 20px;
    background: #F3F4F6;
    border-top: 1px solid #eef2f7;
    font-size: 13px;
    color: #475569;
}

.order-details h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #334155;
}

.order-details .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.order-details .items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-details .items-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #eef2f7;
}

.inline-review-form {
    background: #fff;
}

.inline-review-form .stars {
    font-size: 22px;
    color: #6B7280;
}

.inline-review-form .star {
    cursor: pointer;
    display: inline-block;
    padding: 2px 6px;
    font-size: 22px;
    color: #6B7280;
}

.inline-review-form .star.filled {
    color: #6B7280;
}

.order-details .items-list li .left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.order-details .items-list img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #eef2f7;
}

.write-review-btn {
    background: #fff;
    color: #16A34A;
    border: 1px solid rgba(99, 102, 241, 0.12);
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.write-review-btn:hover {
    background: #16A34A;
    color: #fff;
    border-color: #16A34A;
}

.review-prompt {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    color: #065f46;
    font-weight: 700;
}

@media (max-width: 768px) {
    .order-summary .body {
        flex-direction: row;
    }

    .order-details .grid {
        grid-template-columns: 1fr;
    }

    .order-summary .thumb {
        width: 56px;
        height: 56px;
    }
}

/* Order and Review Modals */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
}

.custom-modal-content h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #000000;
}

.custom-modal-content select,
.custom-modal-content textarea,
.custom-modal-content input[type="text"],
.custom-modal-content input[type="number"] {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    margin-bottom: 15px;
    color: #334155;
    box-sizing: border-box;
}

.custom-modal-content textarea {
    min-height: 60px;
    resize: vertical;
}

.custom-modal-btn {
    width: 100%;
    padding: 12px;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}

.custom-modal-btn.danger { background: #ef4444; }
.custom-modal-btn.warning { background: #6B7280; }
.custom-modal-btn.success { background: #10b981; }

.custom-modal-radio-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    background: #F3F4F6;
    cursor: pointer;
    font-size: 13px;
    color: #475569;
    font-weight: 600;
}

.custom-modal-radio-label.exchange.active {
    border: 2px solid #6B7280;
    background: #fffbeb;
    color: #92400e;
}

.custom-modal-radio-label.refund.active {
    border: 2px solid #3b82f6;
    background: #eff6ff;
    color: #1e40af;
}

.custom-modal-delete-btn {
    margin-left: 8px;
    padding: 10px;
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    height: 40px;
    width: 40px;
}