/*
  Ramdhaanya Custom Styles
  Brand Colors:
  - Primary (Navy Blue): #0a1f3f
  - Secondary (Gold): #edbc5c
  - Tertiary (Light Beige): #f0d5a3
*/

/* Additional color overrides for brand consistency */


/* Links */
a:hover {
    color: var(--tg-secondary-color) !important;
}

/* Pricing tables */
.pricing-box.active,
.pricing-box:hover {
    border-color: var(--tg-secondary-color) !important;
}

/* Section backgrounds */
.bg-primary {
    background-color: var(--tg-primary-color) !important;
}

.bg-secondary {
    background-color: var(--tg-secondary-color) !important;
}

.bg-tertiary {
    background-color: var(--tg-tertiary-color) !important;
}

/* Text colors */
.text-primary {
    color: var(--tg-primary-color) !important;
}

.text-secondary {
    color: var(--tg-secondary-color) !important;
}

/* Button primary - keep text white on hover */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #fff !important;
}

/* Form controls focus */
.form-control:focus {
    border-color: var(--tg-secondary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(237, 188, 92, 0.25) !important;
}

/* Shopping cart badge */
.mini-cart-count {
    background-color: var(--tg-secondary-color) !important;
}

/* Product price */
.price,
.woocommerce-Price-amount {
    color: var(--tg-secondary-color) !important;
    font-weight: 600;
}

/* Breadcrumb */
.breadcrumb-item.active {
    color: var(--tg-secondary-color) !important;
}

/* Login/Register forms */
.login-wrap,
.register-wrap {
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(10, 31, 63, 0.1);
    margin: 50px 0;
}

.login-wrap .title,
.register-wrap .title {
    color: var(--tg-primary-color);
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
}

.login-wrap .form-group,
.register-wrap .form-group {
    margin-bottom: 20px;
}

.login-wrap label,
.register-wrap label {
    color: var(--tg-primary-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.login-wrap .form-control,
.register-wrap .form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-footer,
.register-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-footer a,
.register-footer a {
    color: var(--tg-secondary-color);
    font-weight: 500;
}

/* Alert styles */
.alert-danger {
    background-color: #fff3f3;
    border-color: #ffcccc;
    color: #d63384;
}

.alert-success {
    background-color: #f0f9f4;
    border-color: var(--tg-tertiary-color);
    color: var(--tg-primary-color);
}

.alert-warning {
    background-color: #fffbf0;
    border-color: var(--tg-secondary-color);
    color: #856404;
}

/* Loading states */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--tg-primary-color);
}

/* Product cards */
.product-card:hover {
    box-shadow: 0 5px 20px rgba(237, 188, 92, 0.3);
    transform: translateY(-5px);
}

/* Features section */
.features-item:hover {
    border-color: var(--tg-secondary-color);
}

/* Footer */
footer {
    background-color: var(--tg-primary-color);
}

/* Navigation active state */
.navigation li.active > a,
.navigation li:hover > a {
    color: var(--tg-secondary-color) !important;
}

/* Enhanced active navigation indicator */
.navbar-wrap .navigation > li.active > a,
.main-menu .navigation > li.active > a {
    color: var(--tg-secondary-color) !important;
    position: relative;
}

.navbar-wrap .navigation > li.active > a::after,
.main-menu .navigation > li.active > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--tg-secondary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-wrap .navigation > li > a:hover::after,
.main-menu .navigation > li > a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--tg-secondary-color);
    border-radius: 2px;
    opacity: 0.6;
}

.navbar-wrap .navigation > li.active > a::after {
    opacity: 1;
}

/* Mobile menu active state */
.mobile-menu .navigation li.active > a {
    color: var(--tg-secondary-color) !important;
    background-color: rgba(237, 188, 92, 0.15) !important;
    border-left: 3px solid var(--tg-secondary-color);
    font-weight: 600;
}

/* Sticky header - Smooth transition without glitch */
#header-top-fixed {
    height: 0;
    transition: height 0.3s ease;
}

body.header-sticky #header-top-fixed {
    height: 80px;
}

.menu-area {
    transition: all 0.35s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    perspective: 1000px;
}

.menu-area.sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: var(--tg-primary-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    z-index: 999 !important;
    padding: 10px 0 !important;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.menu-area.sticky .menu-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.menu-area.sticky .menu-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.menu-area.sticky .navbar-wrap {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
}

.menu-area.sticky .header-action {
    z-index: 1000 !important;
    position: relative !important;
    margin-left: auto !important;
}

.menu-area.sticky .header-action ul {
    display: flex !important;
    align-items: center !important;
}

.menu-area.sticky .header-action li {
    margin-left: 15px !important;
}

.menu-area.sticky .header-action i {
    color: #fff !important;
}

/* Logo Size */
.logo img {
    max-width: 120px !important;
    height: auto !important;
}

.menu-area.sticky .logo img {
    max-width: 100px !important;
}

@media (max-width: 991px) {
    .logo img {
        max-width: 100px !important;
    }
}

@media (max-width: 767px) {
    .logo img {
        max-width: 80px !important;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Mobile Menu Fixes */
.mobile-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    left: auto !important;
    width: 300px !important;
    max-width: 80vw !important;
    height: 100vh !important;
    background: #fff !important;
    z-index: 10000 !important;
    transition: right 0.3s ease, visibility 0.3s ease !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3) !important;
    display: block !important;
    visibility: hidden !important;
    opacity: 1 !important;
}

.mobile-menu.mobile-menu-visible {
    right: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-menu .menu-box {
    padding: 20px !important;
    height: 100% !important;
    width: 100% !important;
    display: block !important;
    background: #fff !important;
}

.mobile-menu .close-btn {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    font-size: 24px !important;
    cursor: pointer !important;
    color: #0a1f3f !important;
    z-index: 10001 !important;
    display: block !important;
}

.mobile-menu .nav-logo {
    margin-bottom: 30px !important;
    padding-top: 10px !important;
    display: block !important;
}

.mobile-menu .nav-logo img {
    max-width: 150px !important;
    display: block !important;
}

.mobile-menu .menu-outer {
    display: block !important;
    width: 100% !important;
}

.mobile-menu .navigation {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

.mobile-menu .navigation li {
    margin-bottom: 10px !important;
    display: block !important;
}

.mobile-menu .navigation li a {
    display: block !important;
    padding: 12px 15px !important;
    color: #0a1f3f !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
}

.mobile-menu .navigation li a:hover {
    background-color: #edbc5c !important;
    color: #fff !important;
}

.mobile-menu .social-links {
    margin-top: 30px !important;
    display: block !important;
}

.mobile-menu .social-links ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    gap: 10px !important;
}

.mobile-menu .social-links ul li {
    display: inline-block !important;
}

.mobile-menu .social-links ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: #f5f5f5 !important;
    color: #0a1f3f !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.mobile-menu .social-links ul li a:hover {
    background: #edbc5c !important;
    color: #fff !important;
}

.menu-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 9998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.menu-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-nav-toggler {
    display: none !important;
    cursor: pointer !important;
    padding: 10px !important;
    z-index: 1000 !important;
    position: relative !important;
}

.mobile-nav-toggler i {
    font-size: 24px !important;
    color: var(--tg-primary-color) !important;
}

.menu-area.sticky .mobile-nav-toggler i {
    color: #fff !important;
}

/* Mobile view icon colors and alignment */
@media (max-width: 1199px) {
    .header-action {
        display: flex !important;
        align-items: center !important;
        order: 2 !important;
    }

    .header-action ul {
        display: flex !important;
        align-items: center !important;
        list-style: none !important;
    }

    .header-action li {
        display: flex !important;
        align-items: center !important;
    }

    .header-action a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .header-action i {
        color: var(--tg-primary-color) !important;
        font-size: 20px !important;
    }

    .menu-area.sticky .header-action i {
        color: #fff !important;
    }

    .mobile-nav-toggler {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        order: 3 !important;
    }

    .logo {
        order: 1 !important;
    }

    .menu-nav {
        display: flex !important;
        align-items: center !important;
    }

    /* Hide off-canvas button on mobile/tablet */
    .header-action .offCanvas-btn,
    .header-action .offCanvas-btn.d-none.d-xl-block,
    .header-action .navSidebar-button,
    .offCanvas-btn.d-none.d-xl-block,
    li.offCanvas-btn,
    a.navSidebar-button {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* Hide desktop menu on mobile, show on desktop */
@media (max-width: 1199px) {
    .navbar-wrap.main-menu,
    .navbar-wrap.main-menu.d-none.d-xl-flex,
    .menu-nav .navbar-wrap {
        display: none !important;
        visibility: hidden !important;
    }

    .mobile-nav-toggler {
        display: flex !important;
        visibility: visible !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 10px !important;
    }

    .header-action {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }

    .header-action ul {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-action li {
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .mobile-menu {
        display: block !important;
    }

    .mobile-menu.mobile-menu-visible {
        display: block !important;
    }

    /* Mobile header layout */
    .col-12 {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .menu-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        flex: 1 !important;
    }

    .menu-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .logo {
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Align mobile toggler with header action */
    .col-12 > .mobile-nav-toggler,
    .col-12 > .menu-wrap {
        display: flex !important;
        align-items: center !important;
    }
}

@media (min-width: 1200px) {
    .mobile-nav-toggler {
        display: none !important;
    }

    .mobile-menu {
        display: none !important;
    }

    .menu-backdrop {
        display: none !important;
    }

    .navbar-wrap.main-menu {
        display: flex !important;
    }
}

/* Contact Form Styling */
.contact-form-wrap {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(10, 31, 63, 0.1);
}

.contact-form-wrap .title {
    color: var(--tg-primary-color);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-form-wrap > p {
    color: #666;
    margin-bottom: 30px;
}

.contact-form-wrap .form-grp {
    margin-bottom: 20px;
}

.contact-form-wrap .form-grp input,
.contact-form-wrap .form-grp textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 15px;
    color: var(--tg-primary-color);
    background: #f8f8f8;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form-wrap .form-grp input::placeholder,
.contact-form-wrap .form-grp textarea::placeholder {
    color: #999;
}

.contact-form-wrap .form-grp input:focus,
.contact-form-wrap .form-grp textarea:focus {
    outline: none;
    border-color: var(--tg-secondary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(237, 188, 92, 0.1);
}

.contact-form-wrap .form-grp textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-wrap .btn {
    padding: 15px 40px;
    background-color: var(--tg-primary-color);
    color: #fff;
    border: 2px solid var(--tg-primary-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-wrap .btn:hover {
    background-color: var(--tg-secondary-color);
    border-color: var(--tg-secondary-color);
    color: var(--tg-primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 188, 92, 0.3);
}

/* Contact Info Items */
.contact-info-item {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(10, 31, 63, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(237, 188, 92, 0.2);
}

.contact-info-item .icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: var(--tg-secondary-color);
    color: var(--tg-primary-color);
    font-size: 30px;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-info-item:hover .icon {
    background: var(--tg-primary-color);
    color: var(--tg-secondary-color);
}

.contact-info-item .title {
    color: var(--tg-primary-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info-item p {
    color: #666;
    margin: 0;
    line-height: 1.8;
}

/* Contact Map */
.contact-map {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 500px;
    box-shadow: 0 5px 20px rgba(10, 31, 63, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
}

/* Alert Styling */
.contact-form-wrap .alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-form-wrap .alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

/* Policy Pages Styling */
.policy-content-area {
    background: #f8f8f8;
}

.policy-content {
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(10, 31, 63, 0.08);
}

.policy-content .lead {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.policy-content h3 {
    color: var(--tg-primary-color);
    font-size: 28px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--tg-secondary-color);
}

.policy-content h3:first-of-type {
    margin-top: 0;
}

.policy-content h4 {
    color: var(--tg-primary-color);
    font-size: 20px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.policy-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-content ul,
.policy-content ol {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 30px;
}

.policy-content ul li,
.policy-content ol li {
    margin-bottom: 10px;
}

.policy-content ul li strong,
.policy-content ol li strong {
    color: var(--tg-primary-color);
    font-weight: 600;
}

.policy-content a {
    color: var(--tg-secondary-color);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.policy-content a:hover {
    color: var(--tg-primary-color);
}

.policy-content .contact-list {
    list-style: none;
    padding-left: 0;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--tg-secondary-color);
}

.policy-content .contact-list li {
    margin-bottom: 10px;
}

.policy-content .policy-note {
    background: #fff9e6;
    border-left: 4px solid var(--tg-secondary-color);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.policy-content .policy-note p {
    margin-bottom: 10px;
}

.policy-content .policy-note p:last-child {
    margin-bottom: 0;
}

.policy-content .shipping-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.policy-content .shipping-table thead {
    background: var(--tg-primary-color);
    color: #fff;
}

.policy-content .shipping-table th,
.policy-content .shipping-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #e8e8e8;
}

.policy-content .shipping-table tbody tr:nth-child(even) {
    background: #f8f8f8;
}

.policy-content .shipping-table tbody tr:hover {
    background: #fff9e6;
}

@media (max-width: 767px) {
    .policy-content {
        padding: 30px 20px;
    }

    .policy-content h3 {
        font-size: 24px;
    }

    .policy-content h4 {
        font-size: 18px;
    }

    .policy-content .shipping-table {
        font-size: 14px;
    }

    .policy-content .shipping-table th,
    .policy-content .shipping-table td {
        padding: 10px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--tg-tertiary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--tg-secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--tg-primary-color);
}

/* Video Section */
.video-area {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 31, 63, 0.85);
    z-index: 1;
}

.video-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.video-content .title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.video-content .title span {
    color: var(--tg-secondary-color);
}

.video-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.video-play-btn {
    margin: 40px 0;
}

.video-play-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--tg-secondary-color);
    color: var(--tg-primary-color);
    border-radius: 50%;
    font-size: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.video-play-btn a::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--tg-secondary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.video-play-btn a:hover {
    transform: scale(1.1);
    background: #fff;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.video-player {
    margin-top: 30px;
    animation: fadeIn 0.5s ease;
}

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

/* Lotus Animation for Featured Products */
@keyframes lotusBloom {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-15deg);
    }
    50% {
        transform: scale(1.05) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes lotusFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes petalOpen {
    0% {
        opacity: 0;
        transform: scale(0.5);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
}

/* Featured Products Section Enhancement */
.features-products-wrap {
    position: relative;
    margin-bottom: 80px;
}

.features-products-wrap:hover .features-products-thumb .main-img img {
    animation: lotusFloat 3s ease-in-out infinite;
}

.features-products-thumb .main-img img {
    animation: lotusBloom 0.8s ease-out;
    transition: all 0.3s ease;
}

.features-products-thumb .shape-img {
    animation: petalOpen 1.2s ease-out;
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Stagger animation for multiple products */
.features-products-wrap:nth-child(1) .features-products-thumb .main-img img {
    animation-delay: 0.1s;
}

.features-products-wrap:nth-child(2) .features-products-thumb .main-img img {
    animation-delay: 0.3s;
}

.features-products-wrap:nth-child(3) .features-products-thumb .main-img img {
    animation-delay: 0.5s;
}

.features-products-wrap:nth-child(4) .features-products-thumb .main-img img {
    animation-delay: 0.7s;
}

/* Glow effect like lotus */
.features-products-thumb .main-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(237, 188, 92, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 50%;
    z-index: -1;
}

.features-products-wrap:hover .features-products-thumb .main-img::before {
    opacity: 1;
    animation: pulse 2s infinite;
}

/* Product container enhancement */
.features-products-thumb {
    position: relative;
    transition: transform 0.3s ease;
}

.features-products-wrap:hover .features-products-thumb {
    transform: scale(1.02);
}

/* Smooth entrance for product content */
.features-product-content {
    animation: fadeIn 0.8s ease-out;
    animation-delay: 0.5s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.features-products-wrap:nth-child(even) .features-product-content {
    animation-delay: 0.7s;
}

/* Hero Image Size and Animation */
.banner-images .main-img {
    max-width: 800px;
    width: 100%;
    height: auto;
    z-index: 1 !important;
}

@media (max-width: 991px) {
    .banner-images .main-img {
        max-width: 600px;
    }
}

@media (max-width: 767px) {
    .banner-images .main-img {
        max-width: 400px;
    }
}

/* Hero Image Animations */
@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes heroPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Hero Parallax Effect */
.hero-parallax {
    filter: drop-shadow(0 10px 30px rgba(237, 188, 92, 0.3));
    will-change: transform;
    position: relative;
    z-index: 1;
}

.hero-parallax:hover {
    filter: drop-shadow(0 20px 50px rgba(237, 188, 92, 0.5));
}

.banner-images {
    position: relative;
    perspective: 1000px;
}

.banner-images .bg-shape {
    will-change: transform;
}

/* Video Background Styling */
.video-area {
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.video-area .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 63, 0.2);
    z-index: 1;
}

.video-area .container {
    position: relative;
    z-index: 2;
}

.video-top-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 3;
    pointer-events: none;
}

/* Features Image Size */
.features-img img {
    transform: scale(1.6);
    transform-origin: center;
}

@media (max-width: 991px) {
    .features-img img {
        transform: scale(1.3);
    }
}

@media (max-width: 767px) {
    .features-img img {
        transform: scale(1.1);
    }
}

/* Shop Product Buy Now Buttons */
.home-shop-area .btn-two,
.shop-content-bottom .btn-two {
    background-color: var(--tg-primary-color) !important;
    border-color: var(--tg-primary-color) !important;
    color: #fff !important;
}

.home-shop-area .btn-two:hover,
.shop-content-bottom .btn-two:hover {
    background-color: var(--tg-secondary-color) !important;
    border-color: var(--tg-secondary-color) !important;
    color: var(--tg-primary-color) !important;
}

/* Ingredients Section Icon Size */
.ingredients-thumb {
    overflow: visible !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.ingredients-thumb img {
    /* max-width: 102px; */
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    clip-path: none !important;
}

@media (max-width: 991px) {
    .ingredients-thumb {
        min-height: 140px;
    }

    .ingredients-thumb img {
        max-width: 100px;
        max-height: 120px;
    }
}

@media (max-width: 767px) {
    .ingredients-thumb {
        min-height: 120px;
    }

    .ingredients-thumb img {
        max-width: 85px;
        max-height: 102px;
    }
}

/* Features Section Icon Size */
.features-icon img {
    max-width: 70px;
    width: 70px;
    height: 70px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .features-icon img {
        max-width: 60px;
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 767px) {
    .features-icon img {
        max-width: 55px;
        width: 55px;
        height: 55px;
    }
}

/* Why Choose Ramdhaanya Section Alignment */
.brand-area .brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 120px;
}

.brand-area .brand-item h4 {
    margin-bottom: 10px;
    white-space: nowrap;
}

.brand-area .brand-item p {
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

/* Banner Shape Images - Reduced Size */
.banner-images img[src*="banner_shape03"],
.banner-images img[src*="banner_shape04"] {
    max-width: 35% !important;
    max-height: 250px !important;
    width: auto !important;
    height: auto !important;
}

@media (max-width: 991px) {
    .banner-images img[src*="banner_shape03"],
    .banner-images img[src*="banner_shape04"] {
        max-width: 30% !important;
        max-height: 200px !important;
    }
}

@media (max-width: 767px) {
    .banner-images img[src*="banner_shape03"],
    .banner-images img[src*="banner_shape04"] {
        max-width: 25% !important;
        max-height: 150px !important;
    }
}

/* Blog Page Styles - Scoped to blog page only */
.blog-area {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.blog-area .row {
    margin-left: -15px;
    margin-right: -15px;
}

.blog-area .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
}

.blog-area .blog-post-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(10, 31, 63, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(237, 188, 92, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.blog-area .blog-post-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(237, 188, 92, 0.25);
    border-color: var(--tg-secondary-color);
}

.blog-area .blog-post-thumb {
    position: relative;
    overflow: hidden;
    height: 280px;
    width: 100%;
}

.blog-area .blog-post-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 31, 63, 0.3) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.blog-area .blog-post-item:hover .blog-post-thumb::before {
    opacity: 0.8;
}

.blog-area .blog-post-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block !important;
    max-width: 100% !important;
}

.blog-area .blog-post-item:hover .blog-post-thumb img {
    transform: scale(1.15) rotate(2deg);
}

.blog-area .blog-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--tg-secondary-color) 0%, #d4a63d 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(237, 188, 92, 0.4);
}

.blog-area .blog-post-content {
    padding: 35px 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-area .blog-meta {
    margin-bottom: 18px;
}

.blog-area .blog-meta ul {
    display: flex;
    gap: 25px;
    padding: 0;
    list-style: none;
    margin: 0;
    flex-wrap: wrap;
}

.blog-area .blog-meta li {
    color: #777;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.blog-area .blog-meta li i {
    color: var(--tg-secondary-color);
    margin-right: 6px;
    font-size: 14px;
}

.blog-area .blog-post-content .title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.5;
    min-height: 60px;
}

.blog-area .blog-post-content .title a {
    color: var(--tg-primary-color);
    transition: all 0.3s ease;
    display: block;
}

.blog-area .blog-post-content .title a:hover {
    color: var(--tg-secondary-color);
}

.blog-area .blog-post-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 15px;
    flex: 1;
}

.blog-area .blog-post-content .read-more {
    color: var(--tg-primary-color);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 25px;
    background: linear-gradient(135deg, rgba(237, 188, 92, 0.1) 0%, rgba(237, 188, 92, 0.05) 100%);
    border-radius: 30px;
    border: 2px solid transparent;
    align-self: flex-start;
}

.blog-area .blog-post-content .read-more:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--tg-secondary-color) 0%, #d4a63d 100%);
    border-color: var(--tg-secondary-color);
    gap: 15px;
    box-shadow: 0 5px 20px rgba(237, 188, 92, 0.3);
}

.blog-area .blog-post-content .read-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.blog-area .blog-post-content .read-more:hover i {
    transform: translateX(3px);
}

.pagination-wrap {
    text-align: center;
    margin-top: 20px;
}

.pagination {
    display: inline-flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination .page-item .page-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(237, 188, 92, 0.2);
    border-radius: 12px;
    color: var(--tg-primary-color);
    font-weight: 700;
    transition: all 0.3s ease;
    background: #fff;
}

.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover {
    background: linear-gradient(135deg, var(--tg-secondary-color) 0%, #d4a63d 100%);
    border-color: var(--tg-secondary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(237, 188, 92, 0.3);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
    background: #fff;
}

@media (max-width: 991px) {
    .blog-area .blog-post-thumb {
        height: 250px;
    }

    .blog-area .blog-post-content {
        padding: 30px 25px 25px;
    }

    .blog-area .blog-post-content .title {
        font-size: 19px;
        min-height: 58px;
    }

    .blog-area .blog-post-content .read-more {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .blog-area .blog-post-thumb {
        height: 220px;
    }

    .blog-area .blog-post-content {
        padding: 25px 20px 20px;
    }

    .blog-area .blog-post-content .title {
        font-size: 18px;
        min-height: auto;
    }

    .blog-area .blog-meta ul {
        gap: 15px;
    }

    .blog-area .blog-post-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .blog-area .blog-post-content .read-more {
        padding: 10px 18px;
        font-size: 12px;
    }

    .blog-area .blog-category {
        padding: 6px 15px;
        font-size: 11px;
    }

    .pagination .page-item .page-link {
        width: 45px;
        height: 45px;
    }
}

/* Profile Icon Styling */
.header-action ul li.header-profile a {
  display: inline-block;
  font-size: 18px;
  color: #1a1a1a;
  transition: all 0.3s ease;
}

.header-action ul li.header-profile a:hover {
  color: #edbc5c;
}

.header-action ul li.header-profile a i {
  font-size: 20px;
}

/* ===================================
   Profile Page Styles
   =================================== */


/* Profile Sidebar */
.profile-sidebar .profile-user-info {
  border: 1px solid #e8e8e8;
}

.profile-sidebar .avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a1f3f 0%, #edbc5c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 36px;
  box-shadow: 0 4px 12px rgba(237, 188, 92, 0.3);
}

.profile-menu {
  border: 1px solid #e8e8e8;
  overflow: hidden;
}

.profile-menu ul {
  padding: 0;
  margin: 0;
}

.profile-menu-item {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  border: none;
  background: white;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
}

.profile-menu-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0a1f3f 0%, #edbc5c 100%);
  transition: width 0.3s ease;
  z-index: 0;
}

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

.profile-menu-item:hover {
  background: #f8f9fa;
  color: #0a1f3f;
  padding-left: 28px;
}

.profile-menu-item:hover::before {
  width: 4px;
}

.profile-menu-item.active {
  background: linear-gradient(90deg, #0a1f3f 0%, #edbc5c 100%);
  color: white;
  font-weight: 600;
  padding-left: 24px;
}

.profile-menu-item.active::before {
  width: 4px;
  background: #edbc5c;
}

.profile-menu-item.active:hover {
  background: linear-gradient(90deg, #edbc5c 0%, #0a1f3f 100%);
  color: white;
  padding-left: 28px;
}

.profile-menu-item i {
  width: 20px;
  text-align: center;
  font-size: 16px;
  z-index: 1;
  position: relative;
}

.profile-menu-item span {
  z-index: 1;
  position: relative;
}

.profile-menu-item.text-danger {
  color: #dc3545;
  border-top: 2px solid #f0f0f0;
  margin-top: 4px;
}

.profile-menu-item.text-danger:hover {
  background: #fff5f5;
  color: #c82333;
}

.profile-menu-item.text-danger::before {
  background: #dc3545;
}

/* Profile user info enhancements */
.profile-user-info h5 {
  font-weight: 600;
  color: #333;
  font-size: 18px;
}

.profile-user-info p.small {
  font-size: 13px;
  color: #666;
}

/* Profile Content Area */
.profile-content {
  min-height: 500px;
  border: 1px solid #e8e8e8;
}

.profile-details .row {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.profile-details .row:last-child {
  border-bottom: none;
}

/* Address Card */
.address-card {
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.address-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* Form Styling */
.profile-content .form-control:focus {
  border-color: var(--tg-primary-color);
  box-shadow: 0 0 0 0.2rem rgba(10, 31, 63, 0.15);
}

.profile-content .form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

/* Orders Empty State */
.orders-tab .text-center i {
  opacity: 0.3;
}

/* ===================================
   Order Cards Styling
   =================================== */

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-card {
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px;
  background: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.order-card:hover {
  border-color: #edbc5c;
  box-shadow: 0 6px 20px rgba(237, 188, 92, 0.15);
  transform: translateY(-2px);
}

/* Order Header */
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 2px solid #f5f5f5;
  margin-bottom: 16px;
}

.order-info h6 {
  font-size: 18px;
  font-weight: 700;
  color: #0a1f3f;
  margin: 0 0 6px 0;
}

.order-info p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

/* Order Status Badge */
.order-status .badge {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 20px;
  text-transform: uppercase;
}

.order-status .bg-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.order-status .bg-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.order-status .bg-info {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.order-status .bg-warning {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
  color: #333 !important;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

/* Order Items */
.order-items {
  background: #f8fbf5;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e8f0dc;
}

.order-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.order-item:first-child {
  padding-top: 0;
}

.item-name {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  flex: 1;
}

.item-name .text-muted {
  font-weight: 400;
  font-size: 13px;
  color: #666 !important;
}

.item-price {
  font-size: 16px;
  font-weight: 700;
  color: #edbc5c;
  white-space: nowrap;
  margin-left: 16px;
}

/* Order Footer */
.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 2px solid #f5f5f5;
  flex-wrap: wrap;
  gap: 12px;
}

.order-total strong {
  font-size: 20px;
  color: #0a1f3f;
  font-weight: 700;
}

.order-payment {
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-payment .text-muted {
  font-size: 13px;
  color: #666 !important;
  background: #f0f0f0;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.order-payment .text-muted::before {
  content: "💳";
  margin-right: 6px;
  font-size: 14px;
}

/* Loading State */
.orders-tab .spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}

/* Empty State Enhancement */
.orders-tab .text-center {
  padding: 60px 20px;
}

.orders-tab .text-center i {
  display: block;
  margin: 0 auto 20px;
  color: #ddd;
}

.orders-tab .text-center p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 767px) {
  .order-card {
    padding: 16px;
  }

  .order-header {
    flex-direction: column;
    gap: 12px;
  }

  .order-info h6 {
    font-size: 16px;
  }

  .order-status {
    width: 100%;
  }

  .order-status .badge {
    display: inline-block;
  }

  .order-items {
    padding: 12px;
  }

  .order-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .item-price {
    margin-left: 0;
    font-size: 15px;
  }

  .order-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .order-total {
    width: 100%;
  }

  .order-payment {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .order-info h6 {
    font-size: 15px;
  }

  .order-total strong {
    font-size: 18px;
  }

  .item-name {
    font-size: 14px;
  }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .profile-sidebar {
    margin-bottom: 30px;
  }

  .profile-menu-item {
    font-size: 13px;
    padding: 12px 15px;
  }
  
  .profile-sidebar .avatar-circle {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .profile-content {
    padding: 20px !important;
  }
  
  .profile-details .col-md-3,
  .profile-details .col-md-9 {
    margin-bottom: 5px;
  }
}

/* Button gap support for older browsers */
.d-flex.gap-2 > * {
  margin-right: 8px;
}

.d-flex.gap-2 > *:last-child {
  margin-right: 0;
}

/* Alert styling */
.profile-content .alert {
  border-radius: 8px;
  border-left: 4px solid;
}

.profile-content .alert-success {
  border-left-color: #28a745;
}

.profile-content .alert-danger {
  border-left-color: #dc3545;
}

/* Badge styling */
.badge {
  padding: 6px 12px;
  font-weight: 500;
  font-size: 12px;
}

.bg-success {
  background-color: var(--tg-primary-color) !important;
}


/* ===================================
   Cart & Checkout Page Styles
   =================================== */

/* Cart Table */
.cart-table-wrap {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cart-table {
  width: 100%;
  margin-bottom: 0;
}

.cart-table thead {
  background: #f8f9fa;
}

.cart-table thead th {
  padding: 15px;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #dee2e6;
}

.cart-table tbody td {
  padding: 20px 15px;
  vertical-align: middle;
  border-bottom: 1px solid #dee2e6;
}

.cart-table .product-col {
  min-width: 300px;
}

.cart-table .product-info {
  display: flex;
  gap: 15px;
  align-items: center;
}

.cart-table .product-info img {
  border-radius: 8px;
  border: 1px solid #eee;
}

.cart-table .product-details h6 {
  margin: 0 0 5px 0;
  font-size: 16px;
  font-weight: 600;
}

.cart-table .quantity-input {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cart-table .qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--tg-primary-color);
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.25s ease;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(10, 31, 63, 0.3);
}

.cart-table .qty-btn:hover {
  background: var(--tg-secondary-color);
  color: var(--tg-primary-color);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(237, 188, 92, 0.5);
}

.cart-table .qty-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(10, 31, 63, 0.2);
}

.cart-table .qty-input {
  width: 40px;
  height: 36px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 20px;
  font-weight: 700;
  color: var(--tg-primary-color);
  -moz-appearance: textfield;
}

.cart-table .qty-input::-webkit-outer-spin-button,
.cart-table .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-table .qty-input:focus {
  outline: none;
}

.cart-table .remove-btn {
  background: #dc3545;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.cart-table .remove-btn:hover {
  background: #c82333;
  transform: scale(1.1);
}

/* Cart Summary */
.cart-summary {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 100px;
}

.cart-summary .summary-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.cart-summary .summary-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 15px;
}

.cart-summary .summary-total {
  font-size: 18px;
  color: var(--tg-primary-color);
  padding-top: 15px;
}

/* Coupon Section */
.coupon-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff9e6 100%);
  border-radius: 12px;
  padding: 18px;
  border: 2px dashed var(--tg-secondary-color);
  margin-bottom: 20px;
}

.coupon-section .form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--tg-primary-color);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.coupon-section .form-label::before {
  content: '\f02b';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--tg-secondary-color);
}

.coupon-section .input-group {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.coupon-section .input-group .form-control {
  border: 2px solid #e9ecef;
  border-right: none;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 8px 0 0 8px;
}

.coupon-section .input-group .form-control:focus {
  border-color: var(--tg-secondary-color);
  box-shadow: none;
}

.coupon-section .input-group .form-control::placeholder {
  text-transform: none;
  letter-spacing: normal;
  color: #adb5bd;
}

.coupon-section .input-group .btn {
  background: var(--tg-primary-color);
  border: 2px solid var(--tg-primary-color);
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 0 8px 8px 0;
  transition: all 0.3s ease;
}

.coupon-section .input-group .btn:hover:not(:disabled) {
  background: var(--tg-secondary-color);
  border-color: var(--tg-secondary-color);
  color: #fff;
}

.coupon-section .input-group .btn:hover:disabled {
  background: #2F405C;
  border-color: #2F405C;
  color: #fff;
}

.coupon-section .input-group .btn:disabled {
  background: #2F405C;
  border-color: #2F405C;
  color: #fff;
  opacity: 1;
  cursor: not-allowed;
}

.coupon-section .alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border: none;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
}

.coupon-section .alert-success i {
  color: #28a745;
}

.coupon-section .alert-success strong {
  color: var(--tg-primary-color);
  letter-spacing: 1px;
}

.coupon-section .btn-link.text-danger {
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

.coupon-section .btn-link.text-danger:hover {
  text-decoration: underline;
}

/* Checkout Page */
.checkout-form-wrap {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.checkout-form-wrap h4 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
}

.checkout-form-wrap .form-group label {
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.checkout-form-wrap .form-control {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 14px;
}

.checkout-form-wrap .form-control:focus {
  border-color: var(--tg-primary-color);
  box-shadow: 0 0 0 0.2rem rgba(130, 180, 64, 0.15);
}

.checkout-form-wrap .form-control.is-invalid {
  border-color: #dc3545;
}

.checkout-form-wrap .invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 13px;
  margin-top: 5px;
}

/* Checkout Order Summary */
.checkout-order-summary {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 100px;
}

.checkout-order-summary h4 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.checkout-order-summary .order-items {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
}

.checkout-order-summary .order-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.checkout-order-summary .order-item:last-child {
  border-bottom: none;
}

.checkout-order-summary .item-details h6 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 5px 0;
}

.checkout-order-summary .item-price {
  font-weight: 600;
  color: var(--tg-primary-color);
}

.checkout-order-summary .order-totals {
  border-top: 2px solid #f0f0f0;
  padding-top: 15px;
}

.checkout-order-summary .total-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 15px;
}

.checkout-order-summary .total-amount {
  font-size: 18px;
  color: var(--tg-primary-color);
  padding-top: 15px;
  border-top: 2px solid #f0f0f0;
}

.checkout-order-summary .payment-method h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.checkout-order-summary .form-check {
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: 6px;
  margin-bottom: 10px;
}

.checkout-order-summary .form-check-input:checked {
  background-color: var(--tg-primary-color);
  border-color: var(--tg-primary-color);
}

/* Responsive */
@media (max-width: 991px) {
  .cart-summary,
  .checkout-order-summary {
    position: static;
    margin-top: 30px;
  }

  .cart-table .product-col {
    min-width: auto;
  }

  .cart-table .product-info {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .cart-table-wrap {
    padding: 15px;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table tbody tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    background: #fff;
  }

  .cart-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .cart-table tbody td:last-child {
    border-bottom: none;
  }

  .cart-table tbody td.product-col {
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 8px;
  }

  .cart-table .product-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .cart-table .product-info img {
    width: 60px !important;
    height: 60px !important;
  }

  .cart-table .product-details h6 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .cart-table .product-details .text-muted {
    font-size: 12px;
  }

  .cart-table tbody td.price-col::before,
  .cart-table tbody td.quantity-col::before,
  .cart-table tbody td.remove-col::before {
    content: attr(data-label);
    font-weight: 600;
    color: #666;
    font-size: 13px;
  }

  .cart-table .quantity-input {
    max-width: none;
  }

  .cart-table .qty-btn {
    width: 32px;
    height: 32px;
  }

  .cart-table .qty-input {
    width: 45px;
    height: 32px;
  }

  .cart-actions {
    text-align: center;
  }

  .cart-actions .btn {
    width: 100%;
  }

  .checkout-form-wrap,
  .checkout-order-summary {
    padding: 20px;
  }
}
.header-mini-cart .checkout-link {
  display: flex;
  gap: 10px;
  margin: 0;
}

.header-mini-cart .checkout-link .button {
  flex: 1;
  text-align: center;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.header-mini-cart .checkout-link .wc-forward {
  background: #f0f0f0;
  color: #333;
}

.header-mini-cart .checkout-link .wc-forward:hover {
  background: #e0e0e0;
}

.header-mini-cart .checkout-link .checkout {
  background: var(--tg-primary-color);
  color: white;
}

.header-mini-cart .checkout-link .checkout:hover {
  background: var(--tg-secondary-color);
  color: var(--tg-primary-color);
}

/* Scrollbar styling */
.header-mini-cart .woocommerce-mini-cart::-webkit-scrollbar {
  width: 6px;
}

.header-mini-cart .woocommerce-mini-cart::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.header-mini-cart .woocommerce-mini-cart::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.header-mini-cart .woocommerce-mini-cart::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .header-action ul li.header-shop-cart .header-mini-cart {
    min-width: 300px;
    right: -50px;
  }
}


/* ===================================
   Product Detail Page Styles
   =================================== */

.product-details-area {
  background: #f8f9fa;
}

/* Product Images */
.product-details-images .main-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: white;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.product-details-images .main-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 500px;
}

.product-details-images .thumbnail-images {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-details-images .thumbnail {
  width: 80px;
  height: 80px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  background: white;
  padding: 5px;
}

.product-details-images .thumbnail:hover {
  border-color: var(--tg-primary-color);
  transform: translateY(-2px);
}

.product-details-images .thumbnail.active {
  border-color: var(--tg-primary-color);
  box-shadow: 0 2px 8px rgba(130, 180, 64, 0.3);
}

.product-details-images .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-details-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.product-details-content .product-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
}

/* Rating */
.product-rating .stars i {
  font-size: 16px;
  margin-right: 2px;
}

/* Price */
.product-price {
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-price .current-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--tg-primary-color);
}

.product-price .old-price {
  font-size: 20px;
  color: #999;
  text-decoration: line-through;
}

.product-price .discount-badge {
  background: #ff4444;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* Weight Options */
.weight-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.weight-btn {
  padding: 10px 20px;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 80px;
}

.weight-btn:hover {
  border-color: var(--tg-primary-color);
  color: var(--tg-primary-color);
}

.weight-btn.active {
  background: var(--tg-primary-color);
  color: white;
  border-color: var(--tg-primary-color);
}

/* Quantity Input */
.product-quantity .quantity-input {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 150px;
}

.product-quantity .qty-btn {
  width: 40px;
  height: 40px;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.product-quantity .qty-btn:hover {
  background: var(--tg-primary-color);
  color: white;
  border-color: var(--tg-primary-color);
}

.product-quantity .qty-input {
  width: 60px;
  height: 40px;
  text-align: center;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
}

/* Action Buttons */
.product-actions .btn {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
}

.product-actions .btn i {
  font-size: 14px;
}

/* Product Meta */
.product-meta {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.product-meta .meta-item {
  padding: 8px 0;
  font-size: 14px;
  color: #666;
}

.product-meta .meta-item strong {
  color: #333;
  min-width: 120px;
  display: inline-block;
}

/* Product Tabs */
.product-tabs {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.product-tabs .nav-tabs {
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 30px;
}

.product-tabs .nav-link {
  border: none;
  background: none;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
}

.product-tabs .nav-link:hover {
  color: var(--tg-primary-color);
}

.product-tabs .nav-link.active {
  color: var(--tg-primary-color);
  border-bottom-color: var(--tg-primary-color);
  background: none;
}

.product-tabs .tab-pane h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.product-tabs .tab-pane h5 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 20px;
  color: #333;
}

.product-tabs .tab-pane ul {
  padding-left: 20px;
}

.product-tabs .tab-pane li {
  margin-bottom: 10px;
  color: #666;
}

/* Nutrition Table */
.product-tabs .table {
  margin-top: 20px;
}

.product-tabs .table td {
  padding: 12px 15px;
  border-color: #e0e0e0;
}

.product-tabs .table td:first-child {
  font-weight: 600;
  color: #333;
  width: 40%;
}

/* Reviews */
.review-item {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 15px;
}

.review-item .stars i {
  font-size: 14px;
  margin-right: 2px;
}

.review-item strong {
  font-size: 15px;
  color: #333;
}

.review-item p {
  margin: 10px 0 0 0;
  color: #666;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
  .product-details-content {
    margin-top: 30px;
  }
  
  .product-details-content .product-title {
    font-size: 24px;
  }
  
  .product-price .current-price {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .product-details-images .main-image img {
    max-height: 350px;
  }
  
  .product-details-content {
    padding: 20px;
  }
  
  .product-actions .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .product-actions .btn.me-2 {
    margin-right: 0 !important;
  }
  
  .product-tabs {
    padding: 20px;
  }
  
  .product-tabs .nav-link {
    padding: 10px 15px;
    font-size: 14px;
  }
}

/* ===================================
   Cart Dropdown Hover Fix - UPDATED
   =================================== */

/* Remove gap between icon and dropdown */
.header-action ul li.header-shop-cart {
  position: relative;
}

/* Create invisible bridge between icon and dropdown */
.header-action ul li.header-shop-cart::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
  z-index: 998;
}

.header-action ul li.header-shop-cart .header-mini-cart {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  min-width: 350px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
  pointer-events: none;
}

/* Show dropdown on hover of parent li */
.header-action ul li.header-shop-cart:hover .header-mini-cart {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

/* Add arrow pointer */
.header-action ul li.header-shop-cart .header-mini-cart::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

/* Mini cart items */
.header-mini-cart .woocommerce-mini-cart {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 15px;
}

.header-mini-cart .woocommerce-mini-cart-item {
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 12px;
}

.header-mini-cart .woocommerce-mini-cart-item:last-child {
  border-bottom: none;
}

.header-mini-cart .mini-cart-img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.header-mini-cart .mini-cart-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.header-mini-cart .mini-cart-content {
  flex: 1;
}

.header-mini-cart .product-title {
  font-size: 14px;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.header-mini-cart .product-title a {
  color: #333;
  text-decoration: none;
}

.header-mini-cart .product-title a:hover {
  color: var(--tg-primary-color);
}

.header-mini-cart .mini-cart-price {
  font-size: 13px;
  color: #666;
}

.header-mini-cart .remove_from_cart_button {
  color: #dc3545;
  font-size: 20px;
  text-decoration: none;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.header-mini-cart .remove_from_cart_button:hover {
  background: #dc3545;
  color: white;
}

/* Cart total */
.header-mini-cart .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 2px solid #f0f0f0;
  margin-bottom: 15px;
  font-size: 16px;
}

/* Checkout buttons */
.header-mini-cart .checkout-link {
  display: flex;
  gap: 10px;
  margin: 0;
}

.header-mini-cart .checkout-link .button {
  flex: 1;
  text-align: center;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.header-mini-cart .checkout-link .wc-forward {
  background: #f0f0f0;
  color: #333;
}

.header-mini-cart .checkout-link .wc-forward:hover {
  background: #e0e0e0;
}

.header-mini-cart .checkout-link .checkout {
  background: var(--tg-primary-color);
  color: white;
}

.header-mini-cart .checkout-link .checkout:hover {
  background: var(--tg-secondary-color);
  color: var(--tg-primary-color);
}

/* Scrollbar styling */
.header-mini-cart .woocommerce-mini-cart::-webkit-scrollbar {
  width: 6px;
}

.header-mini-cart .woocommerce-mini-cart::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.header-mini-cart .woocommerce-mini-cart::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.header-mini-cart .woocommerce-mini-cart::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .header-action ul li.header-shop-cart .header-mini-cart {
    min-width: 300px;
    right: -50px;
  }
}

/* ===================================
   Improved Input Fields for Cart & Checkout
   =================================== */

/* Form Control Improvements */
.cart-area .form-control,
.checkout-area .form-control,
.checkout-form-wrap .form-control {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: #333;
  transition: all 0.3s ease;
  background: #fff;
  height: auto;
}

.cart-area .form-control:focus,
.checkout-area .form-control:focus,
.checkout-form-wrap .form-control:focus {
  border-color: var(--tg-primary-color);
  box-shadow: 0 0 0 4px rgba(130, 180, 64, 0.1);
  outline: none;
}

.cart-area .form-control::placeholder,
.checkout-area .form-control::placeholder,
.checkout-form-wrap .form-control::placeholder {
  color: #999;
  font-size: 14px;
}

/* Form Labels */
.checkout-form-wrap .form-label,
.checkout-area .form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 14px;
  display: block;
}

/* Textarea */
.checkout-form-wrap textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Form Check (Radio/Checkbox) */
.checkout-area .form-check {
  padding: 14px 18px;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.checkout-area .form-check:hover {
  background: #f0f4f8;
  border-color: var(--tg-primary-color);
}

.checkout-area .form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 0;
  cursor: pointer;
  border: 2px solid #ddd;
}

.checkout-area .form-check-input:checked {
  background-color: var(--tg-primary-color);
  border-color: var(--tg-primary-color);
}

.checkout-area .form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(130, 180, 64, 0.1);
  border-color: var(--tg-primary-color);
}

.checkout-area .form-check-label {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  margin-left: 8px;
}

/* Invalid State */
.checkout-form-wrap .form-control.is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.checkout-form-wrap .form-control.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.checkout-form-wrap .invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
}

/* Input Groups */
.input-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Select Dropdown */
.checkout-form-wrap select.form-control {
  cursor: pointer;
  padding-right: 40px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 12px;
}

/* Quantity Input in Cart */
.cart-table .qty-input {
  width: 60px;
  height: 40px;
  text-align: center;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
}

.cart-table .qty-input:focus {
  border-color: var(--tg-primary-color);
  box-shadow: 0 0 0 4px rgba(130, 180, 64, 0.1);
  outline: none;
}

/* Quantity Buttons in Cart */
.cart-table .qty-btn {
  width: 36px;
  height: 40px;
  border: 2px solid #e0e0e0;
  background: white;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-table .qty-btn:hover {
  background: var(--tg-primary-color);
  color: white;
  border-color: var(--tg-primary-color);
  transform: translateY(-1px);
}

.cart-table .qty-btn:active {
  transform: translateY(0);
}

/* Responsive Form Improvements */
@media (max-width: 767px) {
  .checkout-form-wrap .form-control {
    padding: 10px 14px;
    font-size: 14px;
  }
  
  .checkout-form-wrap .form-label {
    font-size: 13px;
  }
  
  .cart-table .quantity-input {
    justify-content: center;
  }
}

/* Form Row Spacing */
.checkout-form-wrap .row .col-md-6,
.checkout-form-wrap .row .col-md-4 {
  margin-bottom: 0;
}

.checkout-form-wrap .form-group {
  margin-bottom: 20px;
}

/* Success State (Optional) */
.checkout-form-wrap .form-control.is-valid {
  border-color: #28a745;
}

.checkout-form-wrap .form-control.is-valid:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.1);
}

/* Disabled State */
.checkout-form-wrap .form-control:disabled,
.checkout-area .form-check-input:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ========================================
   MOBILE VIEW - CENTER ALL IMAGES
   ======================================== */
@media (max-width: 991.98px) {
  /* Banner images centering */
  .banner-images {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .banner-images .main-img {
    margin: 0 auto;
    display: block;
  }

  .banner-images .main-img img {
    margin: 0 auto;
    display: block;
  }

  /* Features image centering */
  .features-img {
    text-align: center;
    margin: 0 auto 40px;
  }

  .features-img img {
    margin: 0 auto;
    display: block;
  }

  /* Featured products image centering - IMPORTANT: Override unequal margins */
  .features-products-thumb,
  .features-products-wrap:nth-child(2n) .features-products-thumb,
  .features-products-wrap:nth-child(3n+3) .features-products-thumb {
    text-align: center;
    margin: 0 auto 50px auto !important;
    padding: 0 !important;
  }

  .features-products-thumb .main-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .features-products-thumb .main-img img {
    margin: 0 auto;
    display: block;
  }

  /* Ingredients image centering */
  .ingredients-img {
    text-align: center;
    margin: 0 auto 40px;
  }

  .ingredients-img img {
    margin: 0 auto;
    display: block;
  }

  /* Shop product images centering */
  .home-shop-item,
  .shop-item {
    text-align: center;
  }

  .home-shop-thumb,
  .shop-thumb {
    display: flex;
    justify-content: center;
  }

  .home-shop-thumb img,
  .shop-thumb img {
    margin: 0 auto;
  }

  /* General content centering */
  .features-product-content {
    text-align: center;
  }

  .features-product-bottom {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Center the entire products wrap row */
  .features-products-wrap .row {
    justify-content: center;
  }

  .features-products-wrap .col-lg-6 {
    display: flex;
    justify-content: center;
  }
}

/* Featured Products Price Styling - All Devices */
.features-product-price {
  margin-bottom: 25px;
}

.features-product-price .price {
  font-size: 42px;
  font-weight: 700;
  color: var(--tg-secondary-color);
}

.features-product-price .old-price {
  font-size: 24px;
  text-decoration: line-through;
  color: #999;
  margin-left: 15px;
  font-weight: 400;
}

@media (max-width: 991.98px) {
  /* Tablet view - center product images */
  .features-products .features-products-wrap .features-products-thumb,
  .features-products .features-products-wrap:nth-child(2n) .features-products-thumb,
  .features-products .features-products-wrap:nth-child(3n+3) .features-products-thumb {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 400px !important;
  }

  .features-product-price {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  /* Extra small devices */
  .banner-images {
    padding: 0 15px;
  }

  .banner-images .main-img {
    max-width: 100%;
  }

  /* Video section - prevent cropping on mobile */
  .video-area {
    min-height: 300px;
    padding: 60px 0;
  }

  .video-background {
    width: 100% !important;
    height: 100% !important;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .video-bg {
    min-height: 300px !important;
  }

  /* Featured products - PERFECT CENTERING on mobile */
  /* Override all responsive.css margin rules with higher specificity */
  .features-products .features-products-wrap .features-products-thumb,
  .features-products .features-products-wrap:nth-child(1) .features-products-thumb,
  .features-products .features-products-wrap:nth-child(2) .features-products-thumb,
  .features-products .features-products-wrap:nth-child(3) .features-products-thumb,
  .features-products .features-products-wrap:nth-child(2n) .features-products-thumb,
  .features-products .features-products-wrap:nth-child(3n) .features-products-thumb,
  .features-products .features-products-wrap:nth-child(3n+3) .features-products-thumb,
  section.features-products .features-products-thumb {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 40px !important;
    padding: 0 !important;
    max-width: 320px !important;
    width: 100% !important;
    float: none !important;
  }

  /* Center the parent row and column */
  .features-products-wrap .row {
    justify-content: center !important;
  }

  .features-products-wrap .col-lg-6,
  .features-products-wrap .col-md-8 {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .features-products-thumb .main-img {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }

  .features-products-thumb .main-img img {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  /* Hide the shape images on mobile for cleaner look */
  .features-products-thumb .shape-img {
    display: none !important;
  }

  /* Center the ::before pseudo-element (the circle background) */
  .features-products-thumb::before {
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .ingredients-img {
    padding: 0 15px;
  }

  .ingredients-img img:first-child {
    max-width: 250px;
  }

  /* Center all section content */
  .features-product-content,
  .ingredients-content {
    text-align: center;
    padding: 0 15px;
  }

  .ingredients-list-wrap {
    justify-content: center;
  }

  /* Featured Products Price Styling */
  .features-product-price {
    text-align: center;
    margin-bottom: 20px;
  }

  .features-product-price .price {
    font-size: 36px;
    font-weight: 700;
    color: var(--tg-secondary-color);
  }

  .features-product-price .old-price {
    font-size: 20px;
    text-decoration: line-through;
    color: #999;
    margin-left: 12px;
  }
}

/* Footer Social Icons - Fix hover visibility */
.footer-social a:hover {
    background: var(--tg-secondary-color) !important;
    color: var(--tg-primary-color) !important;
}

.footer-social a:hover i {
    color: var(--tg-primary-color) !important;
}

/* Cart Popup - Fix hover disappearing issue */
.header-shop-cart .header-mini-cart {
    top: 100% !important;
    transition: all 0.3s ease-in-out !important;
}

.header-shop-cart .header-mini-cart::before {
    top: -20px !important;
    height: 25px !important;
}

.header-shop-cart {
    position: relative;
}

.header-shop-cart:hover .header-mini-cart {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0px) !important;
}

/* Banner Shop Now Button Hover - White text on hover */
.banner-content .btn-two:hover {
    color: #fff !important;
}

