@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');
* {
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', Arial, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    color: #2b2338;
}

header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.top-bar {
    background-color: #2b2338;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.top-bar-link {
    color: #e7d9f2;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
}

.top-bar-link:hover {
    color: #fff;
}

.top-bar-message {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 30px;
    flex-wrap: wrap;
}

.header-logo a {
    color: #6b3fa0;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.main-nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.main-nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.main-nav-links a:hover {
    color: #6b3fa0;
}

.quiz-pill {
    background-color: #f3ecf9;
    color: #6b3fa0 !important;
    padding: 8px 18px;
    border-radius: 20px;
}

.quiz-pill:hover {
    background-color: #6b3fa0;
    color: #fff !important;
}

.main-nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.search-form {
    display: flex;
    align-items: center;
    background-color: #f3ecf9;
    border-radius: 20px;
    padding: 0 14px;
    width: 200px;
}

.search-icon {
    font-size: 0.85rem;
    opacity: 0.7;
}

.search-form input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 8px 8px;
    color: #2b2338;
    font-family: 'Tajawal', Arial, sans-serif;
    font-size: 0.85rem;
}

.search-form input::placeholder {
    color: #999;
}

.header-icons {
    display: flex;
    gap: 18px;
}

.icon-link {
    position: relative;
    text-decoration: none;
    color: #2b2338;
    font-size: 1.3rem;
}

.icon-badge {
    position: absolute;
    top: -6px;
    left: -10px;
    background-color: #6b3fa0;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 900px) {
    .main-nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }
    .search-form {
        width: 140px;
    }
    .top-bar {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        padding: 10px 20px;
    }
}

.slider {
    max-width: 1300px;
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.6s ease;
}

.slide {
    min-width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    padding: 0 70px;
    position: relative;
    overflow: hidden;
}

.slide-1 {
    background: linear-gradient(135deg, #6b3fa0 0%, #4a2b70 100%);
}

.slide-2 {
    background: linear-gradient(135deg, #2b2338 0%, #1a1522 100%);
}

.slide-3 {
    background: linear-gradient(135deg, #f3ecf9 0%, #e7d9f2 100%);
}

.slide-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.slide-3 .shape {
    border-color: rgba(107, 63, 160, 0.15);
}

.shape-1 {
    width: 260px;
    height: 260px;
    top: -80px;
    left: -80px;
}

.shape-2 {
    width: 160px;
    height: 160px;
    bottom: -60px;
    left: 120px;
}

.slide-content {
    text-align: right;
    color: #fff;
    position: relative;
    z-index: 1;
}

.slide-content.dark {
    color: #2b2338;
}

.slide-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.slide-content.dark .slide-tag {
    background-color: rgba(107, 63, 160, 0.12);
    color: #6b3fa0;
}

.slide-content h2 {
    font-size: 2.4rem;
    font-weight: 900;
    margin: 0 0 24px;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active {
    background-color: #fff;
    width: 24px;
    border-radius: 5px;
}

.hero-btn {
    display: inline-block;
    background-color: #2b2338;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 40px;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.hero-btn:hover {
    background-color: #6b3fa0;
}

.hero-btn.small {
    padding: 12px 30px;
    font-size: 0.9rem;
}

.size-guide {
    max-width: 1300px;
    margin: 60px auto 0;
    padding: 0 30px;
}

.size-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.size-card {
    background-color: #f3ecf9;
    border-radius: 8px;
    padding: 28px 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.size-card:hover {
    background-color: #6b3fa0;
}

.size-card:hover h3,
.size-card:hover p {
    color: #fff;
}

.size-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.size-card h3 {
    color: #2b2338;
    font-size: 1.05rem;
    margin: 0 0 6px;
    font-weight: 700;
}

.size-card p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    transition: color 0.2s ease;
}

.stats,
.features,
.products,
.testimonial-grid {
    display: grid;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.stats {
    grid-template-columns: repeat(4, 1fr);
    padding: 40px 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: #6b3fa0;
}

.stat-label {
    display: block;
    color: #555;
    font-size: 0.88rem;
    margin-top: 4px;
}

.features {
    grid-template-columns: repeat(4, 1fr);
    padding: 20px 30px 60px;
}

.feature-card {
    background-color: #f3ecf9;
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.feature-card:hover {
    background-color: #e7d9f2;
}

.feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.feature-card h3 {
    color: #2b2338;
    font-size: 1rem;
    margin: 0 0 8px;
    font-weight: 700;
}

.feature-card p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.products {
    grid-template-columns: repeat(4, 1fr);
    padding: 20px 30px 70px;
}

.product-card {
    background-color: #f3f4f5;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    position: relative;
}

.product-card:nth-child(6n+1) {
    background-color: #f3ecf9;
}

.product-card:nth-child(6n+2) {
    background-color: #fbe6e9;
}

.product-card:nth-child(6n+3) {
    background-color: #e7f0e6;
}

.product-card:nth-child(6n+4) {
    background-color: #eceef0;
}

.product-card:nth-child(6n+5) {
    background-color: #faf3df;
}

.product-card:nth-child(6n+6) {
    background-color: #e4eef2;
}

.product-card:hover {
    box-shadow: 0 10px 24px rgba(107, 63, 160, 0.15);
    transform: translateY(-3px);
}

.product-card .product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 20px;
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 14px;
    background-color: #fff;
}

.product-card h2 {
    font-size: 1rem;
    color: #2b2338;
    margin: 8px 0 4px;
    font-weight: 700;
}

.product-card p {
    color: #666;
    font-size: 0.82rem;
}

.price {
    font-weight: 900;
    color: #6b3fa0;
    font-size: 1.2rem;
}

.add-btn {
    display: block;
    margin: 0 20px 20px;
    background-color: #6b3fa0;
    color: #fff;
    text-align: center;
    padding: 11px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.add-btn:hover {
    background-color: #522f7a;
}

.section-title {
    text-align: center;
    color: #2b2338;
    font-size: 1.9rem;
    font-weight: 900;
    margin-bottom: 34px;
}

.testimonials {
    padding: 70px 30px;
    text-align: center;
    background-color: #faf8fc;
}

.testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 34px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
    text-align: right;
    box-shadow: 0 2px 10px rgba(107, 63, 160, 0.08);
}

.stars {
    color: #6b3fa0;
    font-size: 1.1rem;
    margin: 0 0 10px;
}

.testimonial-text {
    color: #333;
    line-height: 1.6;
    margin: 0 0 12px;
    font-size: 0.9rem;
}

.testimonial-author {
    color: #666;
    font-weight: 700;
    margin: 0;
    font-size: 0.85rem;
}

.product-detail {
    max-width: 700px;
    margin: 50px auto;
    background-color: #f9f6fc;
    padding: 40px;
    border-radius: 8px;
}

.product-detail h2 {
    color: #2b2338;
    font-size: 1.7rem;
    font-weight: 900;
}

.detail-image {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 24px;
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: #6b3fa0;
    background-color: #fff;
    padding: 9px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
}

.back-link:hover {
    background-color: #6b3fa0;
    color: #fff;
}

.details {
    line-height: 1.8;
    color: #333;
    font-size: 0.95rem;
    margin-top: 16px;
}

.info-page {
    max-width: 750px;
    margin: 50px auto;
    background-color: #f9f6fc;
    padding: 40px;
    border-radius: 8px;
}

.info-page.wide {
    max-width: 1150px;
}

.info-page h2 {
    color: #2b2338;
    font-size: 1.7rem;
    font-weight: 900;
    border-bottom: 2px solid #e7d9f2;
    padding-bottom: 16px;
    margin-bottom: 26px;
}

.faq-item {
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7d9f2;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: #6b3fa0;
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #e7d9f2;
}

.cart-item img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    margin: 0 0 6px;
    color: #2b2338;
    font-weight: 700;
}

.remove-btn {
    color: #c0392b;
    text-decoration: none;
    border: 1px solid #c0392b;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.remove-btn:hover {
    background-color: #c0392b;
    color: #fff;
}

.cart-total {
    margin-top: 24px;
    text-align: left;
}

.cart-total h3 {
    color: #6b3fa0;
    font-size: 1.2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 20px;
}

.contact-form label {
    color: #2b2338;
    font-weight: 700;
    margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    color: #2b2338;
    font-family: 'Tajawal', Arial, sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #6b3fa0;
    outline: none;
}

.contact-form button {
    margin-top: 16px;
    background-color: #6b3fa0;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #522f7a;
}

footer {
    text-align: center;
    padding: 36px 20px;
    color: #888;
    font-size: 0.85rem;
    border-top: 1px solid #eee;
}

.collection-layout {
    display: flex;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px 20px;
    align-items: flex-start;
}

.filter-sidebar {
    width: 220px;
    flex-shrink: 0;
    background-color: #f9f6fc;
    border-radius: 8px;
    padding: 20px;
}

.filter-sidebar h3 {
    color: #2b2338;
    font-size: 1.05rem;
    margin: 0 0 16px;
    border-bottom: 2px solid #e7d9f2;
    padding-bottom: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 12px;
    cursor: pointer;
}

.filter-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #6b3fa0;
    cursor: pointer;
}

.collection-layout .products {
    flex: 1;
    margin: 0;
    padding: 0;
}

.quiz-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(43, 35, 56, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.quiz-box {
    border-radius: 12px;
    padding: 50px 40px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
    color: #fff;
}

.quiz-close {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    color: #fff;
    cursor: pointer;
}

.quiz-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.quiz-box h2 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 900;
    margin: 0 0 8px;
}

.quiz-box>p {
    color: #eee;
    margin: 0 0 26px;
    font-size: 0.95rem;
}

.quiz-options {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.quiz-option {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 26px 14px;
    text-decoration: none;
    color: #2b2338;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.quiz-option:hover {
    background-color: #6b3fa0;
    color: #fff;
    border-color: #fff;
}

.quiz-icon {
    font-size: 2.2rem;
}

.quiz-skip {
    background: none;
    border: none;
    color: #fff;
    text-decoration: underline;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: 'Tajawal', Arial, sans-serif;
}

.quiz-skip:hover {
    color: #e7d9f2;
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(255, 255, 255, 0.85);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    z-index: 2;
    transition: all 0.2s ease;
}

.wishlist-btn:hover {
    background-color: #fff;
    transform: scale(1.1);
}

.trust-strip {
    background-color: #2b2338;
    overflow: hidden;
    white-space: nowrap;
    margin-top: 0;
    padding: 14px 0;
    width: 100%;
    position: relative;
}

.trust-strip-track {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    animation: trust-scroll 15s linear infinite;
}

.trust-strip-track span {
    color: #f3ecf9;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.trust-strip-track .dot-sep {
    color: #8a5bc4;
    font-weight: 400;
    flex-shrink: 0;
}

@keyframes trust-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.badges-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1300px;
    margin: 12px auto 0;
    flex-wrap: wrap;
}

.sleep-icon-wrap {
    width: 220px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sleep-icon-wrap svg {
    width: 100%;
    height: auto;
    display: block;
}

.reviews-carousel-section {
    background-color: #2b2338;
    padding: 60px 20px;
}

.reviews-carousel-section .section-title {
    color: #fff;
}

.reviews-carousel-wrap {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
}

.reviews-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 6px 20px;
    scrollbar-width: none;
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 280px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.review-photo-placeholder {
    width: 100%;
    height: 200px;
    background-color: #e7d9f2;
    background-image: linear-gradient(135deg, #e7d9f2 25%, #d9c2ef 25%, #d9c2ef 50%, #e7d9f2 50%, #e7d9f2 75%, #d9c2ef 75%, #d9c2ef 100%);
    background-size: 28px 28px;
}

.review-body {
    padding: 18px;
}

.review-title {
    color: #2b2338;
    font-size: 1.05rem;
    font-weight: 900;
    margin: 6px 0 10px;
}

.review-text {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0 0 16px;
    min-height: 130px;
}

.review-author {
    color: #2b2338;
    font-weight: 700;
    font-size: 0.88rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.verified {
    color: #2e8555;
    font-weight: 700;
    font-size: 0.75rem;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #6b3fa0;
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
}

.carousel-arrow:hover {
    background-color: #522f7a;
}

.carousel-arrow-right {
    right: -50px;
}

.carousel-arrow-left {
    left: -50px;
}

.promo-hero {
    max-width: 1300px;
    margin: 50px auto 0;
    padding: 0 30px;
    text-align: center;
}

.promo-banner {
    background-color: #e7d9f2;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 30px;
}

.promo-banner-title {
    color: #4a2b70;
    font-weight: 900;
    font-size: 1.1rem;
    margin: 0 0 6px;
}

.promo-banner-stars {
    color: #d99b2b;
    font-size: 1.1rem;
    margin: 0;
}

.promo-banner-stars span {
    color: #4a2b70;
    font-size: 0.9rem;
    font-weight: 700;
    margin-right: 8px;
}

.promo-tag {
    color: #6b3fa0;
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0 0 10px;
}

.promo-title {
    color: #2b2338;
    font-size: 2.4rem;
    font-weight: 900;
    margin: 0 0 14px;
}

.promo-sub {
    color: #555;
    font-size: 1rem;
    margin: 0 0 40px;
}

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

.promo-card {
    text-decoration: none;
    color: #2b2338;
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
}

.promo-card-img {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}

.promo-card:hover .promo-card-img {
    transform: translateY(-4px);
}

.promo-card-img-1 {
    background-color: #f3ecf9;
}

.promo-card-img-2 {
    background-color: #fbe6e9;
}

.promo-card-img-3 {
    background-color: #e7f0e6;
}

.promo-card-img-4 {
    background-color: #eceef0;
}

.order-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0 40px;
}

.order-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.order-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e7d9f2;
    color: #6b3fa0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
}

.order-step.done .order-step-circle {
    background-color: #6b3fa0;
    color: #fff;
}

.order-step-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.order-step.current .order-step-label {
    color: #6b3fa0;
}

.order-step-line {
    width: 60px;
    height: 3px;
    background-color: #e7d9f2;
    margin: 0 8px 26px;
}

.order-step-line.done {
    background-color: #6b3fa0;
}

.order-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f9f6fc;
    border-radius: 8px;
    padding: 18px 20px;
    text-decoration: none;
    color: #2b2338;
    margin-bottom: 14px;
}

.order-summary-card h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.order-summary-card p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.order-status-badge {
    background-color: #6b3fa0;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.admin-order-card {
    background-color: #f9f6fc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.admin-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.admin-order-header h3 {
    margin: 0 0 4px;
    color: #2b2338;
}

.admin-order-header p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.admin-order-items {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e7d9f2;
}

.admin-order-item-line {
    margin: 4px 0;
    color: #444;
    font-size: 0.9rem;
}

.admin-status-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-status-btn {
    background-color: #fff;
    border: 2px solid #e7d9f2;
    color: #6b3fa0;
    padding: 9px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: 'Tajawal', Arial, sans-serif;
    transition: all 0.2s ease;
}

.admin-status-btn:hover {
    background-color: #f3ecf9;
}

.admin-status-btn.active {
    background-color: #6b3fa0;
    color: #fff;
    border-color: #6b3fa0;
}

.why-us {
    max-width: 1100px;
    margin: 70px auto 0;
    padding: 0 30px;
    text-align: center;
}

.why-us-sub {
    color: #666;
    font-size: 1rem;
    margin: 0 0 40px;
}

.why-us-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.why-us-item p {
    color: #2b2338;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 16px 0 0;
}

.why-us-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: #6b3fa0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
}

.why-us-statement {
    color: #2b2338;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.5;
    margin: 0 0 10px;
}

.why-us-statement-sub {
    color: #6b3fa0;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.size-finder-promo {
    max-width: 1300px;
    margin: 40px auto 0;
    padding: 0 30px;
}

.size-finder-promo-text {
    background: linear-gradient(135deg, #6b3fa0 0%, #4a2b70 100%);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.size-finder-promo-text h2 {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 900;
    margin: 0 0 10px;
}

.size-finder-promo-text p {
    color: #e7d9f2;
    font-size: 1rem;
    margin: 0 0 24px;
}

.size-finder-section {
    max-width: 700px;
    margin: 60px auto;
    padding: 0 30px;
    text-align: center;
}

.size-finder-sub {
    color: #666;
    margin: 0 0 34px;
}

.size-finder-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    justify-content: center;
    background-color: #f9f6fc;
    padding: 24px;
    border-radius: 8px;
}

.size-finder-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}

.size-finder-field label {
    color: #2b2338;
    font-weight: 700;
    font-size: 0.9rem;
}

.size-finder-field input {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Tajawal', Arial, sans-serif;
    width: 140px;
}

.size-finder-form .hero-btn {
    padding: 12px 26px;
}

.size-finder-result {
    margin-top: 30px;
    background-color: #e7d9f2;
    padding: 26px;
    border-radius: 8px;
}

.size-finder-result h3 {
    color: #2b2338;
    margin: 0 0 8px;
}

.size-finder-result p {
    color: #444;
    margin: 0;
}

.size-finder-result-empty {
    background-color: #fbe6e9;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
    font-family: 'Tajawal', Arial, sans-serif;
}

.admin-sidebar {
    width: 240px;
    flex-shrink: 0;
    background-color: #2b3a55;
    display: flex;
    flex-direction: column;
    padding: 24px 0;
}

.admin-sidebar-top {
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.admin-sidebar-title {
    color: #fff;
    font-weight: 900;
    font-size: 1.1rem;
}

.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.admin-sidebar-link {
    color: #cbd5e1;
    text-decoration: none;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.95rem;
}

.admin-sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.admin-sidebar-link.active {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.admin-sidebar-bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-content {
    flex: 1;
    background-color: #faf6f0;
    padding: 40px;
}

.admin-content h2 {
    color: #2b3a55;
    margin: 0 0 24px;
}

.admin-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.admin-stat-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 22px;
    text-align: center;
}

.admin-stat-highlight {
    background-color: #2b3a55;
}

.admin-stat-highlight .admin-stat-number,
.admin-stat-highlight .admin-stat-label {
    color: #fff;
}

.admin-stat-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: #2b3a55;
    margin: 0 0 4px;
}

.admin-stat-label {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.admin-orders-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.admin-orders-table th,
.admin-orders-table td {
    padding: 14px 18px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.admin-orders-table th {
    color: #666;
    font-size: 0.85rem;
}

.admin-orders-table a {
    color: #6b3fa0;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 900px) {
    .stats,
    .features,
    .products,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .size-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .slide {
        padding: 0 30px;
    }
    .slide-content h2 {
        font-size: 1.6rem;
    }
    .collection-layout {
        flex-direction: column;
    }
    .filter-sidebar {
        width: 100%;
    }
    .promo-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .promo-title {
        font-size: 1.8rem;
    }
    .badges-row {
        gap: 10px;
    }
    .sleep-icon-wrap {
        width: 140px;
    }
    .trust-strip-track span {
        font-size: 0.8rem;
    }
    .carousel-arrow-right {
        right: 6px;
    }
    .carousel-arrow-left {
        left: 6px;
    }
    .why-us-icons {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .why-us-statement {
        font-size: 1.3rem;
    }
    .admin-layout {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 16px;
    }
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats,
    .features,
    .products,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .size-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .quiz-options {
        flex-direction: column;
    }
    .promo-cards {
        grid-template-columns: 1fr;
    }
    .order-step-line {
        width: 30px;
    }
    .order-step-label {
        font-size: 0.7rem;
    }
    .size-finder-promo-text {
        padding: 30px 20px;
    }
    .size-finder-promo-text h2 {
        font-size: 1.3rem;
    }
}