/* Flair Nest Frontend Theme CSS */

/* ============================================
   BASE STYLES
   ============================================ */
body {
    font-family: "Instrument Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Instrument Sans", sans-serif;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar.sticky-top {
    position: sticky;
    top: 0;
}

/* Navbar brand styling moved to buttons.css */

/* Cart Icon Styling */
.cart-icon-desktop,
.cart-icon-mobile {
    position: relative;
    font-size: 1.5rem;
}

.cart-icon-desktop i,
.cart-icon-mobile i {
    font-size: 2rem;
    font-weight: 700;
    color: #fee7ed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 0.3s ease;
}

.cart-icon-desktop:hover i,
.cart-icon-mobile:hover i {
    color: #fdb8c9;
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ff4444;
    color: white;
    border-radius: 3px;
    padding: 2px 5px;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    line-height: 1;
}

/* Mobile Drawer Styling */
.mobile-drawer {
    background: #f5f5f5;
}

.mobile-drawer .offcanvas-header {
    background: #333;
    color: white;
    padding: 20px;
}

.mobile-drawer .offcanvas-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
}

.mobile-drawer .btn-close {
    filter: brightness(0) invert(1);
}

.mobile-drawer .offcanvas-body {
    padding: 20px 15px;
}

.mobile-drawer .nav-item {
    margin-bottom: 5px;
}

.mobile-drawer .nav-link {
    font-size: 0.95rem;
    padding: 12px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-drawer .nav-link:hover,
.mobile-drawer .nav-link.active {
    background: #e0e0e0;
    color: #1a1a1a;
}

.mobile-drawer .nav-link i:first-child {
    font-size: 1.1rem;
}

.mobile-drawer .nav-link .bi-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-drawer .nav-link[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

/* Submenu Styling */
.mobile-drawer .submenu {
    margin-top: 5px;
}

.mobile-drawer .submenu ul {
    margin: 0;
    padding: 0;
}

.mobile-drawer .submenu li {
    list-style: none;
    margin-bottom: 3px;
}

.mobile-drawer .submenu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-drawer .submenu-link:hover {
    background: #d0d0d0;
    color: #1a1a1a;
    padding-left: 18px;
}

.mobile-drawer .submenu-link i {
    font-size: 0.4rem;
    color: #fee7ed;
}

/* Adjust body padding for sticky header */
body {
    padding-top: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0;
    position: relative;
    overflow: visible;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
        no-repeat bottom;
    background-size: cover;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0 60px 80px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Hero Slider Wrapper - Expanded */
.hero-slider-wrapper {
    position: relative;
    padding: 0;
    margin: 0;
}

/* Hero Slider Styles */
.hero-slider-container {
    position: relative;
    height: 450px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-slider-container::before {
    display: none;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

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

.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        transparent 100%
    );
    padding: 20px;
    color: white;
}

.hero-slide-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.hero-slide-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    border: none;
}

.slider-arrow:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow-prev {
    left: 20px;
}

.slider-arrow-next {
    right: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding: 0;
        overflow: hidden;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        text-align: center;
        padding: 40px 20px !important;
    }

    .hero-slider-wrapper {
        margin-top: 0;
    }

    .hero-slider-container {
        height: 350px;
        clip-path: none;
        border-radius: 0;
    }

    .hero-slide img {
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 0;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-content {
        padding: 30px 15px !important;
    }

    .hero-slider-container {
        height: 280px;
        clip-path: none;
    }

    .hero-slide img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slider-arrow-prev {
        left: 10px;
    }

    .slider-arrow-next {
        right: 10px;
    }
} /* ============================================
   PRODUCT CARDS (LISTING)
   ============================================ */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.product-image {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.product-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
}

.product-card .card-text {
    font-size: 0.85rem;
}

.product-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4444;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-section {
    padding: 40px 0;
}

.product-gallery {
    position: sticky;
    top: 20px;
}

.main-image-container {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #fff;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #667eea;
    transform: scale(1.05);
}

.product-info {
    padding-left: 30px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.product-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.price-section {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
}

.original-price {
    font-size: 0.95rem;
    text-decoration: line-through;
    color: #999;
    margin-left: 15px;
}

.discount-badge {
    display: inline-block;
    background: #ff4444;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-left: 15px;
}

.product-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

/* ============================================
   COLOR OPTIONS
   ============================================ */
.color-selection {
    margin-bottom: 25px;
}

.color-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-checkbox-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-checkbox-option input[type="radio"] {
    display: none;
}

.color-checkbox-option input[type="radio"]:checked + .color-checkbox-box {
    border: 2px solid #1a1a1a;
    box-shadow: 0 0 0 1px #fee7ed;
}

.color-checkbox-option input[type="radio"]:checked ~ .color-checkbox-label {
    font-weight: 600;
    color: #1a1a1a;
}

.color-checkbox-box {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
}

.color-checkbox-option:hover .color-checkbox-box {
    border-color: #fee7ed;
}

.color-checkbox-label {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    transition: all 0.3s ease;
}

.color-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.color-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.color-radio-option:hover {
    border-color: #fee7ed;
    background: #fef9fb;
}

.color-radio-option input[type="radio"] {
    display: none;
}

.color-radio-option input[type="radio"]:checked + .color-radio-visual {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 2px #fee7ed;
}

.color-radio-option input[type="radio"]:checked ~ .color-radio-label {
    font-weight: 600;
}

.color-radio-visual {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.color-radio-label {
    font-size: 0.9rem;
    color: #333;
    transition: all 0.3s ease;
}

.color-options {
    margin-bottom: 25px;
}

.color-swatch {
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.color-swatch:hover,
.color-swatch.active {
    border-color: #fee7ed;
    transform: scale(1.15);
}

/* ============================================
   QUANTITY SELECTOR
   ============================================ */
.add-to-cart-section {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

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

.quantity-selector button {
    background: #f8f9fa;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quantity-selector button:hover {
    background: #e0e0e0;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    border: none;
    padding: 10px;
    font-weight: 600;
}

/* ============================================
   PRODUCT META
   ============================================ */
.product-meta {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    margin-top: 20px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.meta-label {
    font-weight: 600;
    color: #666;
}

.meta-value {
    color: #333;
}

/* ============================================
   PRODUCT DETAILS CARD (FULL WIDTH)
   ============================================ */
.product-details-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-details-card .card-body {
    padding: 30px;
}

.product-details-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    padding-bottom: 15px;
    border-bottom: 2px solid #fee7ed;
}

.product-details-content {
    margin-top: 20px;
    color: #333;
    line-height: 1.8;
}

.product-details-content p {
    margin-bottom: 15px;
}

.product-details-content h1,
.product-details-content h2,
.product-details-content h3,
.product-details-content h4,
.product-details-content h5,
.product-details-content h6 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.product-details-content ul,
.product-details-content ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

.product-details-content li {
    margin-bottom: 8px;
}

.product-details-content strong,
.product-details-content b {
    font-weight: 600;
    color: #1a1a1a;
}

.product-details-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.product-details-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.product-details-content table th,
.product-details-content table td {
    padding: 10px;
    border: 1px solid #e0e0e0;
}

.product-details-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.product-details-content blockquote {
    border-left: 4px solid #fee7ed;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

.product-details-content a {
    color: #fee7ed;
    text-decoration: none;
}

.product-details-content a:hover {
    text-decoration: underline;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    background: transparent;
    padding: 15px 0;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #666;
}

.breadcrumb-item.active {
    color: #fee7ed;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 991px) {
    .product-info {
        padding-left: 0;
        margin-top: 30px;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .main-image {
        height: 400px;
    }

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

    .current-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 50px 0;
    }

    .main-image {
        height: 300px;
    }

    .add-to-cart-section {
        flex-direction: column;
    }

    .quantity-selector {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-section {
    min-height: 60vh;
}

.cart-items-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cart-item {
    padding: 15px 0;
}

.cart-item-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-image-placeholder {
    width: 100%;
    height: 80px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ccc;
}

.cart-item-title {
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 600;
}

.cart-item-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.cart-item-title a:hover {
    color: #fee7ed;
}

.color-indicator {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid #ddd;
    vertical-align: middle;
    margin-right: 5px;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.btn-qty {
    background: #f5f5f5;
    border: 1px solid #ddd;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
}

.btn-qty:hover {
    background: #fee7ed;
    border-color: #fee7ed;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 3px;
    font-weight: 600;
    font-size: 0.85rem;
}

.cart-item-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.btn-remove {
    background: transparent;
    border: none;
    color: #ff4444;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    color: #cc0000;
    transform: scale(1.1);
}

.btn-remove-text {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
}

.btn-remove-text:hover {
    color: #ff4444;
    text-decoration: underline;
}

.cart-item-price-small {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a1a;
}

.cart-item-divider {
    margin: 15px 0;
    border-color: #f0f0f0;
}

.cart-summary-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 90px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}

.summary-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.secure-checkout i {
    color: #28a745;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-icon {
    font-size: 5rem;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-cart h4 {
    margin-bottom: 10px;
    color: #666;
}

@media (max-width: 767px) {
    .cart-item-title {
        font-size: 0.9rem;
    }

    .cart-item-price {
        font-size: 0.95rem;
    }

    .cart-summary-card {
        position: relative;
        top: 0;
        margin-top: 20px;
    }
}

/* ============================================
   CHECKOUT AUTH SECTION
   ============================================ */
.checkout-auth-prompt {
    text-align: center;
    padding: 25px 20px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    margin-bottom: 20px;
}

.auth-prompt-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fee7ed 0%, #ffd4e0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 4px 15px rgba(254, 231, 237, 0.3);
}

.auth-prompt-icon i {
    font-size: 24px;
    color: #2c3e50;
}

.auth-prompt-title {
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.auth-prompt-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.checkout-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.checkout-auth-btn i {
    font-size: 1.1rem;
}

.checkout-auth-btn-login {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.checkout-auth-btn-login:hover {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

.checkout-auth-btn-signup {
    background: #ffffff;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.checkout-auth-btn-signup:hover {
    background: #2c3e50;
    color: #ffffff;
    border-color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.2);
}

.checkout-auth-divider {
    text-align: center;
    position: relative;
    margin: 3px 0;
}

.checkout-auth-divider span {
    background: #ffffff;
    padding: 0 12px;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.checkout-auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #dee2e6;
    z-index: 0;
}

@media (max-width: 767px) {
    .checkout-auth-prompt {
        padding: 20px 15px 15px;
    }

    .auth-prompt-icon {
        width: 45px;
        height: 45px;
    }

    .auth-prompt-icon i {
        font-size: 20px;
    }

    .auth-prompt-title {
        font-size: 1.1rem;
    }

    .checkout-auth-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* Checkout Item Styles */
.checkout-item-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.checkout-item-badge {
    font-size: 0.7rem;
}

.checkout-item-title {
    font-size: 0.9rem;
}

/* Checkout Form Validation Styles */
.form-control:invalid:not(:placeholder-shown),
.form-select:invalid:not(:placeholder-shown) {
    border: 2px solid #dc3545;
}

.form-control:valid:not(:placeholder-shown),
.form-select:valid:not(:placeholder-shown) {
    border-color: #ffe4e1;
}

.form-control:focus,
.form-select:focus {
    border-color: #ffe4e1;
    box-shadow: 0 0 0 0.2rem rgba(255, 228, 225, 0.5);
}

/* Checkout Section Styles */
.checkout-section {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

.checkout-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

/* Shipping and Payment Option Styles */
.shipping-option,
.payment-option {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shipping-option:hover,
.payment-option:hover {
    border-color: #ffe4e1;
    background-color: #fff5f5;
}

.shipping-option input:checked ~ label,
.payment-option input:checked ~ label {
    font-weight: 500;
}

.shipping-option input:checked,
.payment-option input:checked {
    border-color: #ffe4e1;
}

.form-check-input:checked {
    background-color: #ffe4e1;
    border-color: #ffe4e1;
}

/* Payment Cards (2 Column Border Selection) */
.payment-radio {
    display: none;
}

.payment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 8px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: #ffffff;
}

.payment-card i {
    font-size: 1.1rem;
    color: #6c757d;
    transition: all 0.3s ease;
}

.payment-card span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #495057;
    transition: all 0.3s ease;
}

.payment-card:hover {
    border-color: #ff8c00;
    background-color: #fff5f0;
}

.payment-card:hover i {
    color: #ff8c00;
}

.payment-radio:checked + .payment-card {
    border-color: #ff8c00;
    background-color: #fff5f0;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.payment-radio:checked + .payment-card i {
    color: #ff8c00;
}

.payment-radio:checked + .payment-card span {
    color: #ff8c00;
    font-weight: 600;
}

/* Checkout Button Styles */
.btn-checkout {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff !important;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.btn-checkout:hover {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

/* Checkout Account Info - Inline */
.checkout-account-info {
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.checkout-account-info .account-info-text {
    font-size: 0.9rem;
    color: #495057;
}

.checkout-account-info .account-info-text i {
    color: #6c757d;
    font-size: 1.1rem;
}

.checkout-account-info .btn-link {
    color: #6c757d;
    font-size: 0.9rem;
    padding: 4px 8px;
}

.checkout-account-info .btn-link:hover {
    color: #2c3e50;
}

@media (max-width: 576px) {
    .checkout-account-info .account-info-text {
        font-size: 0.8rem;
        flex: 1;
    }

    .checkout-account-info .mx-2 {
        margin-left: 0.3rem !important;
        margin-right: 0.3rem !important;
    }
}

/* Cart Summary Styles */
.cart-summary-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.order-totals {
    font-size: 0.95rem;
}

.order-totals h5 {
    font-size: 1.2rem;
    color: #ffe4e1;
}

/* ============================================
   AUTH PAGES (LOGIN/SIGNUP)
   ============================================ */
.auth-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fee7ed 0%, #ffd4e0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(254, 231, 237, 0.3);
}

.auth-header-icon i {
    font-size: 28px;
    color: #2c3e50;
}

.auth-header h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.auth-header p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

/* Auth Form Styles */
.auth-section .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.auth-section .form-control,
.auth-section .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.auth-section .form-control:focus,
.auth-section .form-select:focus {
    border-color: #ffe4e1;
    box-shadow: 0 0 0 0.2rem rgba(255, 228, 225, 0.3);
}

.auth-section .form-control.form-control-lg {
    padding: 14px 18px;
    font-size: 1rem;
}

/* Auth Buttons */
.auth-section .btn-primary {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: none;
    color: #ffffff !important;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.auth-section .btn-primary:hover {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

.auth-section .btn-primary.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    color: #ffffff !important;
}

.auth-section .btn-outline-secondary {
    border: 2px solid #e9ecef;
    color: #6c757d;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-section .btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}

.auth-section .btn-link {
    color: #6c757d;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 8px;
}

.auth-section .btn-link:hover {
    color: #2c3e50;
    text-decoration: underline;
}

/* OTP Step Alert */
.auth-section .alert-info {
    background: linear-gradient(135deg, #e8f4fd 0%, #dceefb 100%);
    border: 2px solid #bee5eb;
    border-radius: 10px;
    color: #0c5460;
    padding: 15px;
    margin-bottom: 20px;
}

.auth-section .alert-info i {
    font-size: 1.2rem;
    vertical-align: middle;
}

.auth-section .alert-danger {
    background: #ffe5e5;
    border: 2px solid #ffcccc;
    border-radius: 8px;
    color: #d32f2f;
    padding: 12px 16px;
}

/* OTP Input Special Styling */
.auth-section input[type="text"].text-center {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 8px;
    font-family: "Courier New", monospace;
}

/* Auth Footer Links */
.auth-section .text-muted a {
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-section .text-muted a:hover {
    color: #ffe4e1;
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .auth-section {
        min-height: auto;
        padding: 30px 0;
    }

    .auth-header-icon {
        width: 50px;
        height: 50px;
    }

    .auth-header-icon i {
        font-size: 24px;
    }

    .auth-header h3 {
        font-size: 1.3rem;
    }

    .auth-section input[type="text"].text-center {
        font-size: 1.5rem;
        letter-spacing: 6px;
    }
}

/* ============================================
   CUSTOMER DASHBOARD
   ============================================ */
.dashboard-section {
    min-height: 80vh;
}

/* Dashboard Avatar */
.dashboard-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fee7ed 0%, #ffd4e0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.dashboard-avatar i {
    font-size: 40px;
    color: #2c3e50;
}

/* Dashboard Navigation */
.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dashboard-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dashboard-nav-item:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.dashboard-nav-item.active {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
}

.dashboard-nav-item.text-danger:hover {
    background: #ffe5e5;
    color: #dc3545 !important;
}

/* Dashboard Cards */
.dashboard-card {
    display: block;
    padding: 30px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.dashboard-card:hover {
    border-color: #2c3e50;
    background: #f8f9fa;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.1);
}

.dashboard-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fee7ed 0%, #ffd4e0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.dashboard-card-icon i {
    font-size: 28px;
    color: #2c3e50;
}

.dashboard-card h5 {
    color: #2c3e50;
    margin-bottom: 8px;
}

/* Order Cards */
.order-card {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: #2c3e50;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.1);
}

.order-card-header small {
    display: block;
    font-size: 0.75rem;
    margin-bottom: 4px;
}

/* Order Item Card */
.order-item-card {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

/* Order Timeline */
.order-timeline {
    padding: 15px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 10px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}

.timeline-item {
    position: relative;
    text-align: center;
    flex: 1;
    z-index: 1;
}

.timeline-icon {
    width: 35px;
    height: 35px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    transition: all 0.3s ease;
}

.timeline-icon i {
    font-size: 16px;
    color: #dee2e6;
}

.timeline-item.active .timeline-icon {
    border-color: #800000;
    background: #800000;
}

.timeline-item.active .timeline-icon i {
    color: #ffffff;
}

.timeline-item.current .timeline-icon {
    border-color: #800000;
    background: #800000;
    animation: pulse 2s infinite;
}

.timeline-item.current .timeline-icon i {
    color: #ffffff;
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(128, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(128, 0, 0, 0);
    }
}

.timeline-content h6 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: #495057;
}

.timeline-content small {
    font-size: 0.7rem;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .dashboard-section {
        padding: 30px 0;
    }

    .dashboard-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 4px;
        padding-bottom: 10px;
    }

    .dashboard-nav-item {
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 10px 14px;
    }

    .timeline {
        flex-direction: column;
        gap: 20px;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 15px;
    }

    .timeline-icon {
        margin: 0;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
    }

    .timeline-icon i {
        font-size: 20px;
    }

    .order-item-card {
        padding: 12px;
    }

    .dashboard-card {
        padding: 20px;
    }

    .dashboard-avatar {
        width: 60px;
        height: 60px;
    }

    .dashboard-avatar i {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .dashboard-section .card-body {
        padding: 20px !important;
    }

    .order-card {
        padding: 15px;
    }

    .order-timeline {
        padding: 20px 15px;
    }

    .table-responsive {
        font-size: 0.9rem;
    }
}
