.auth-main .auth-wrapper.v3 .auth-form {
    background: none !important
}

.auth-main {
    background: none !important
}

body {
    background: #f6f8f5
}

.auth-section {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
    margin-top: 100px
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
    padding: 30px
}

.auth-card h3 {
    font-weight: 700;
    color: #0f4706;
    margin-bottom: 5px
}

.auth-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 25px
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    color: #333
}

.form-control {
    height: 48px;
    border-radius: 10px;
    font-size: 14px
}

.form-control:focus {
    border-color: #0f4706;
    box-shadow: 0 0 0 .15rem rgba(15, 71, 6, .25)
}

.btn-register,
.btn-login {
    height: 48px;
    border-radius: 10px;
    font-weight: 600;
    background: #0f4706;
    border: none
}

.btn-register:hover,
.btn-login:hover {
    background: #0c3a05
}

.login-link,
.register-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px
}

.login-link a,
.register-link a {
    color: #ff7a18;
    font-weight: 700;
    text-decoration: none
}

.login-link a:hover,
.register-link a:hover {
    text-decoration: underline
}

.password-toggle {
    position: relative
}

.password-toggle .toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d
}

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

.form-check-label {
    font-size: 13px;
    color: #6c757d
}

.form-check-label a {
    color: #0f4706;
    text-decoration: none;
    font-weight: 600
}

.form-check-label a:hover {
    text-decoration: underline
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 10px
}

.auth-links a {
    font-size: 13px;
    color: #0f4706;
    text-decoration: none;
    font-weight: 600
}

.auth-links a:hover {
    text-decoration: underline
}

@media (max-width:576px) {
    .auth-card {
        padding: 25px 20px
    }
}



.edit-profile-container {
    max-width: 900px;
    margin: 120px auto 40px;
    padding: 0 15px;
}

.profile-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.btn-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #e0e0e0;
}

.page-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f4706;
    margin: 0;
}

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

.required {
    color: #ff0000;
    margin-left: 3px;
}

.form-control {
    height: 48px;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: #0f4706;
    box-shadow: 0 0 0 0.15rem rgba(15, 71, 6, 0.25);
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.profile-image-section {
    margin-bottom: 25px;
}

.image-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.current-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0f4706;
}

.image-upload-area {
    flex: 1;
}

.file-input-wrapper {
    position: relative;
}

.custom-file-upload {
    display: inline-block;
    padding: 10px 20px;
    background: #0f4706;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.custom-file-upload:hover {
    background: #0c3a05;
}

.custom-file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-info {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.btn-submit {
    padding: 12px 40px;
    background: #0f4706;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #0c3a05;
}

.btn-cancel {
    padding: 12px 40px;
    background: #fff;
    color: #666;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #f5f5f5;
    border-color: #999;
}

.error-text {
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

@media (max-width: 768px) {
    .profile-card {
        padding: 25px 20px;
    }

    .image-upload-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-submit,
    .btn-cancel {
        width: 100%;
    }
}

/* Blog Detail Page Styles */
.blog_detail_section {
    padding: 60px 0 80px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.blog_detail_wrapper {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

/* Blog Cover Image */
.post_image_ {
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
}

.post_image_ figure {
    margin: 0;
    line-height: 0;
}

.post_image_ img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* Blog Content Area */
.post_content_ {
    padding: 40px;
}

/* Post Meta Information */
.post_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.post_info ol {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.post_info ol li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.post_info ol li i {
    color: #ff7a18;
    font-size: 16px;
}

.post_share_links {
    display: flex;
    align-items: center;
}

.post_share_links p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.post_share_links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ff7a18;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post_share_links a:hover {
    background: #0f4706;
    transform: translateY(-2px);
}

/* Blog Entry Content */
.post_entry {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    clear: both;
}

.post_entry p {
    margin-bottom: 20px;
}

.post_entry h1,
.post_entry h2,
.post_entry h3,
.post_entry h4,
.post_entry h5,
.post_entry h6 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #0f4706;
    font-weight: 700;
}

.post_entry h1 {
    font-size: 32px;
}

.post_entry h2 {
    font-size: 28px;
}

.post_entry h3 {
    font-size: 24px;
}

.post_entry h4 {
    font-size: 20px;
}

.post_entry ul,
.post_entry ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post_entry li {
    margin-bottom: 10px;
}

.post_entry img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.post_entry blockquote {
    background: #f9f9f9;
    border-left: 4px solid #ff7a18;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

/* Fix Footer Overlap Issue */
footer {
    position: relative;
    z-index: 10;
    margin-top: 0;
    clear: both;
}

.blog_detail_section::after {
    content: '';
    display: table;
    clear: both;
}

/* Responsive */
@media (max-width: 768px) {
    .blog_detail_section {
        padding: 40px 0 60px;
    }

    .post_content_ {
        padding: 25px 20px;
    }

    .post_info {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .post_image_ img {
        max-height: 300px;
    }

    .post_entry {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .post_info ol {
        flex-direction: column;
        gap: 10px;
    }
}

/* Dashboard Container */
.dashboard-container {
    max-width: 1200px;
    margin: 120px auto 40px;
    padding: 0 15px;
}

/* Tab Navigation */
.dashboard-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
    overflow-x: auto;
    white-space: nowrap;
}

.dashboard-tab {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.dashboard-tab:hover {
    color: #0f4706;
}

.dashboard-tab.active {
    color: #0f4706;
    border-bottom-color: #ff7a18;
}

/* Content Sections */
.dashboard-content {
    display: none;
}

.dashboard-content.active {
    display: block;
}

/* Profile Section */
.profile-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.profile-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f4706;
    margin: 0;
}

.btn-edit {
    padding: 10px 25px;
    background: #ff7a18;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit:hover {
    background: #e66a0a;
}

.profile-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-group {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.info-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.info-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Orders Section */
.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.orders-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f4706;
    margin: 0;
}

.order-filter {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

.empty-orders {
    background: #fff;
    border-radius: 12px;
    padding: 80px 40px;
    text-align: center;
}

.empty-orders img {
    max-width: 250px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.empty-orders h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.empty-orders p {
    color: #888;
    font-size: 15px;
}

/* Order Card */
.order-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.order-id {
    font-size: 14px;
    color: #666;
}

.order-id strong {
    color: #0f4706;
    font-weight: 600;
}

.order-date {
    font-size: 13px;
    color: #888;
}

.order-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-delivered {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-pending {
    background: #fff3e0;
    color: #f57c00;
}

.status-cancelled {
    background: #ffebee;
    color: #c62828;
}

.status-processing {
    background: #e3f2fd;
    color: #1565c0;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.item-qty {
    font-size: 13px;
    color: #888;
}

.item-price {
    font-size: 16px;
    font-weight: 700;
    color: #0f4706;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.order-total {
    font-size: 14px;
    color: #666;
}

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

.btn-view-details {
    padding: 8px 20px;
    background: #0f4706;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-details:hover {
    background: #0c3a05;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-tabs {
        gap: 10px;
    }

    .dashboard-tab {
        padding: 12px 20px;
        font-size: 14px;
    }

    .profile-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .item-image {
        width: 100%;
        height: 200px;
    }

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

    .order-id {
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
}

.edit-profile-container {
    max-width: 900px;
    margin: 120px auto 40px;
    padding: 0 15px;
}

.profile-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.btn-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #e0e0e0;
}

.page-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f4706;
    margin: 0;
}

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

.required {
    color: #ff0000;
    margin-left: 3px;
}

.form-control {
    height: 48px;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: #0f4706;
    box-shadow: 0 0 0 0.15rem rgba(15, 71, 6, 0.25);
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.profile-image-section {
    margin-bottom: 25px;
}

.image-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.current-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0f4706;
}

.image-upload-area {
    flex: 1;
}

.file-input-wrapper {
    position: relative;
}

.custom-file-upload {
    display: inline-block;
    padding: 10px 20px;
    background: #0f4706;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.custom-file-upload:hover {
    background: #0c3a05;
}

.custom-file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-info {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.btn-submit {
    padding: 12px 40px;
    background: #0f4706;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #0c3a05;
}

.btn-cancel {
    padding: 12px 40px;
    background: #fff;
    color: #666;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #f5f5f5;
    border-color: #999;
}

.error-text {
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

@media (max-width: 768px) {
    .profile-card {
        padding: 25px 20px;
    }

    .image-upload-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-submit,
    .btn-cancel {
        width: 100%;
    }
}

#newsletter-message {
    margin-top: 10px;
}

#newsletter-message .success {
    color: #28a745;
    font-weight: bold;
}

#newsletter-message .error {
    color: #dc3545;
    font-weight: bold;
}

/* User dropdown */
.user-dropdown {
    position: relative;
}

.user-dropdown .user-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    position: absolute;
    top: 160%;
    right: -15%;
    min-width: 200px;
    background: #fff;
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: none;
    z-index: 999;
}

/* .user-dropdown:hover .user-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  } */

.user-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 16px;
    color: #333;
    display: flex;
    align-items: center;
}

.user-menu .dropdown-item:hover {
    background: #f5f5f5;
}

.user-menu .logout {
    color: #dc3545;
}

@media (max-width: 991px) {
    .user-dropdown .user-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .user-dropdown .user-menu.show {
        display: block;
    }
}


/* Desktop - User Dropdown */
@media (min-width: 992px) {
    .user-dropdown {
        position: relative;
    }

    .user-dropdown .user-menu {
        position: absolute;
        top: 160%;
        right: -15%;
        min-width: 200px;
        background: #fff;
        border-radius: 8px;
        padding: 8px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        border: none;
        z-index: 999;
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease;
        list-style: none;
        margin: 0;
    }

    .user-dropdown .user-menu.show {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .user-menu li {
        margin: 0;
    }

    .user-menu .dropdown-item {
        font-size: 14px;
        padding: 10px 16px;
        color: #333;
        display: flex;
        align-items: center;
        text-decoration: none;
        transition: background 0.2s ease;
    }

    .user-menu .dropdown-item:hover {
        background: #f5f5f5;
    }

    .user-menu .logout {
        color: #dc3545;
    }

    .user-menu .dropdown-divider {
        margin: 4px 0;
        border-top: 1px solid #e0e0e0;
    }

    /* Hide mobile-only menu items on desktop */
    .mobile-only-menu {
        display: none !important;
    }
}

/* Mobile - Inline Menu Items */
@media (max-width: 991px) {

    /* Hide the user icon button in mobile */
    .user-dropdown .user-toggle {
        display: none !important;
    }

    /* Hide desktop dropdown divider */
    .user-menu .dropdown-divider {
        display: none !important;
    }

    /* Remove dropdown styling in mobile - make it inline nav items */
    .user-dropdown .user-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        background: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
        list-style: none !important;
        margin: 0 !important;
    }

    .user-menu li {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Style menu items as regular nav links */
    .user-menu .dropdown-item {
        padding: 15px 20px !important;
        color: #fff !important;
        display: block !important;
        background: transparent !important;
        border: none !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        border-radius: 0 !important;
    }

    .user-menu .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
    }

    /* Remove all icons from mobile menu */
    .user-menu .dropdown-item i {
        display: none !important;
    }

    /* Ensure logout has same styling */
    .user-menu .logout {
        color: #fff !important;
        padding: 15px 20px !important;
    }

    .user-menu .logout:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }
}

.main_header {
    background-color: rgba(15, 71, 6, 1.0) !important;
}

.cart-page {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 70vh;
}

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

.cart-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}


.cart-table-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

    /* FIX */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}



.cart-table {
    width: 100%;
    min-width: 700px;
    /* IMPORTANT */
    border-collapse: collapse;
}

.cart-table thead th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
}

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

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

.cart-product-image {
    width: 80px;
    height: 80px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-product-name {
    font-weight: 600;
    color: #333;
}

.cart-price {
    font-weight: 700;
    color: #dc3545;
    font-size: 18px;
}

.cart-quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-btn:hover {
    background: #f8f9fa;
}

.cart-qty-input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 18px;
    padding: 5px 10px;
}

.cart-remove-btn:hover {
    color: #c62828;
}

.cart-summary {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cart-summary-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: #666;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    border-top: 2px solid #e0e0e0;
    margin-top: 15px;
    padding-top: 15px;
}

.summary-row.total .amount {
    color: #0d6c6a;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: #0d6c6a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-checkout:hover {
    background: #0a5654;
}

.btn-continue {
    width: 100%;
    padding: 15px;
    background: #fff;
    color: #0d6c6a;
    border: 2px solid #0d6c6a;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}

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

.cart-empty {
    text-align: center;
    padding: 100px 20px;
    background: #fff;
    border-radius: 10px;
}

.cart-empty i {
    font-size: 100px;
    color: #ddd;
    margin-bottom: 20px;
}

.cart-empty h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .cart-table {
        font-size: 14px;
    }

    .cart-product {
        flex-direction: column;
        text-align: center;
    }

    .cart-product-image {
        width: 60px;
        height: 60px;
    }
}

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

    .cart-table thead th,
    .cart-table tbody td {
        padding: 12px 10px;
        font-size: 14px;
    }

    .cart-product {
        gap: 10px;
    }

    .cart-product-image {
        width: 50px;
        height: 50px;
    }

    .cart-price {
        font-size: 15px;
    }
}


.checkout-page {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 70vh;
}

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

.checkout-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.checkout-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #999;
}

.step.active {
    color: #0d6c6a;
    font-weight: 600;
}

.step-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step.active .step-number {
    background: #0d6c6a;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.checkout-form {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-label .required {
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #0d6c6a;
    box-shadow: 0 0 0 3px rgba(13, 108, 106, 0.1);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.order-summary {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item-image {
    width: 60px;
    height: 60px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.summary-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-item-details {
    flex: 1;
}

.summary-item-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 5px;
}

.summary-item-quantity {
    font-size: 13px;
    color: #666;
}

.summary-item-price {
    font-weight: 700;
    color: #0d6c6a;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: #666;
    font-size: 15px;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    border-top: 2px solid #e0e0e0;
    margin-top: 15px;
    padding-top: 15px;
}

.summary-row.total .amount {
    color: #0d6c6a;
}

.btn-place-order {
    width: 100%;
    padding: 15px;
    background: #0d6c6a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-place-order:hover {
    background: #0a5654;
    transform: translateY(-2px);
}

.secure-checkout {
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 13px;
}

.secure-checkout i {
    color: #28a745;
    margin-right: 5px;
}

@media (max-width: 992px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: relative;
        top: 0;
    }

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

    .checkout-steps {
        flex-direction: column;
        align-items: center;
    }
}

.failure-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #f8f9fa;
}

.failure-container {
    max-width: 600px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.failure-icon {
    background: linear-gradient(135deg, #dc3545 0%, #c62828 100%);
    color: #fff;
    padding: 50px;
}

.failure-icon i {
    font-size: 80px;
    animation: shake 0.8s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-10px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(10px);
    }
}

.failure-body {
    padding: 40px 30px;
}

.failure-title {
    font-size: 32px;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 15px;
}

.failure-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-details {
    background: #fff3f3;
    border-left: 4px solid #dc3545;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
}

.error-details h4 {
    color: #dc3545;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.error-details p {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.help-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: left;
}

.help-section h4 {
    color: #0d6c6a;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-section li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    font-size: 14px;
}

.help-section li:before {
    content: "•";
    color: #0d6c6a;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 0;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #dc3545;
    color: #fff;
}

.btn-primary:hover {
    background: #c62828;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fff;
    color: #0d6c6a;
    border: 2px solid #0d6c6a;
}

.btn-secondary:hover {
    background: #0d6c6a;
    color: #fff;
}

.support-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    color: #666;
    font-size: 14px;
}

.support-info a {
    color: #0d6c6a;
    text-decoration: none;
    font-weight: 600;
}

.support-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }

    .failure-title {
        font-size: 26px;
    }
}


.success-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #f8f9fa;
}

.success-container {
    max-width: 600px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.success-icon {
    background: #28a745;
    color: #fff;
    padding: 50px;
}

.success-icon i {
    font-size: 80px;
    animation: checkmark 0.8s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.success-body {
    padding: 40px 30px;
}

.success-title {
    font-size: 32px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 15px;
}

.success-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.order-details {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.order-detail-row:last-child {
    border-bottom: none;
}

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

.order-detail-value {
    color: #333;
    font-weight: 700;
}

.order-detail-value.highlight {
    color: #28a745;
    font-size: 24px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #0d6c6a;
    color: #fff;
}

.btn-primary:hover {
    background: #0a5654;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fff;
    color: #0d6c6a;
    border: 2px solid #0d6c6a;
}

.btn-secondary:hover {
    background: #0d6c6a;
    color: #fff;
}

.info-box {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: left;
}

.info-box h4 {
    color: #0d6c6a;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    font-size: 14px;
}

.info-box li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #0d6c6a;
    font-size: 16px;
    padding: 5px;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    color: #28a745;
    transform: scale(1.1);
}

.success-branding {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e6e6e6;
    gap: 20px;
}

.branding-left {
    flex: 1;
}

.brand-logo {
    max-width: 160px;
    height: auto;
}

.branding-right {
    flex: 1;
    text-align: right;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.brand-name {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
}

.brand-phone {
    font-weight: 600;
    margin-top: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .success-branding {
        flex-direction: column;
        text-align: center;
    }

    .branding-right {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }

    .success-title {
        font-size: 26px;
    }
}


.payment-container {
    max-width: 500px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.payment-header {
    background: linear-gradient(135deg, #0d6c6a 0%, #0a5654 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
}

.payment-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}


.payment-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.payment-header p {
    font-size: 14px;
    opacity: 0.9;
}

.payment-body {
    padding: 40px 30px;
}

.order-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: #666;
}

.order-info-row strong {
    color: #333;
}

.loading-spinner {
    text-align: center;
    padding: 20px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e0e0e0;
    border-top-color: #0d6c6a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-text {
    color: #666;
    font-size: 14px;
}

.cashfree-container {
    min-height: 400px;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #e8f5e9;
    border-radius: 8px;
    margin-top: 20px;
    color: #2e7d32;
    font-size: 14px;
}

.secure-badge i {
    font-size: 20px;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
    border-left: 4px solid #dc3545;
}

.btn-back {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #dc3545;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

.btn-back:hover {
    background: #c82333;
}


.product-section {
    padding: 60px 0;
    background: #fff;
    overflow: visible;
}

.product-images {
    position: sticky;
    top: 100px;
}

.main-product-image {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}



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

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

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

.thumbnail:hover,
.thumbnail.active {
    border-color: #0d6c6a;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product Info */
.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    color: #ffc107;
}

.review-count {
    color: #666;
    font-size: 14px;
}

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

.price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.current-price {
    font-size: 36px;
    font-weight: 700;
    /* color: #dc3545; */
}

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

.discount-badge {
    background: #dc3545;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 10px;
}

.best-seller-badge {
    background: #ff8c00;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 10px;
}

.tax-info {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.features-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.features-list li:before {
    content: "•";
    color: #0d6c6a;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 0;
}

/* Offers Section - Clean Outlined Style */
.offers-section {
    background: #fff;
    border: 1px solid #dc3545;
    /* Thinner, cleaner border */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
}

.offers-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 15px;
    margin-top: 0;
}

.offer-item {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

/* Style for individual lines inside your PHP variable */
.offer-item div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Optional: Add a subtle hint of color to the background */
.offers-section {
    background-color: rgba(220, 53, 69, 0.02);
}

/* Quantity & Actions */
.quantity-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.quantity-btn {
    background: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: #f8f9fa;
}

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



.wishlist-btn {
    background: #fff;
    border: 2px solid #e0e0e0;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.wishlist-btn:hover {
    border-color: #dc3545;
    color: #dc3545;
}

/* Shipping Info */
.shipping-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Social Share */
.social-share {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn.facebook {
    background: #3b5998;
}

.social-btn.twitter {
    background: #000;
}

.social-btn.pinterest {
    background: #bd081c;
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn.email {
    background: #666;
}

.social-btn.whatsapp {
    background: #25d366;
}

/* Product Tabs */
.product-tabs {
    margin-top: 60px;
}


.tab-content {
    padding: 30px 0;
}

.tab-pane h3 {
    color: #0d6c6a;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.tab-pane h4 {
    color: #0d6c6a;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.tab-pane h5 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

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

/* Ingredients Table */
.ingredients-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.ingredients-table th,
.ingredients-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.ingredients-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #0d6c6a;
}

.ingredients-table tbody tr:hover {
    background: #f9f9f9;
}

/* Benefits Section */
.benefits-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.benefits-card h3 {
    color: #0d6c6a;
    margin-bottom: 20px;
}

.benefits-card ul {
    list-style: none;
    padding: 0;
}

.benefits-card li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.benefits-card li:before {
    content: "✓";
    color: #0d6c6a;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 0;
}


/* Cart Modal Styles */
.cart-modal {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
}

.cart-modal.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.cart-overlay.show {
    display: block;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.cart-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
}

.cart-body {
    padding: 20px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.cart-empty i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #ddd;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.cart-item-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #dc3545;
    font-weight: 700;
    font-size: 16px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.qty-btn {
    width: 25px;
    height: 25px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.qty-btn:hover {
    background: #f8f9fa;
}

.qty-value {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px;
}

.cart-item-remove:hover {
    color: #c62828;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid #e0e0e0;
    background: #f8f9fa;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 18px;
}

.cart-subtotal-label {
    font-weight: 600;
    color: #333;
}

.cart-subtotal-amount {
    font-weight: 700;
    color: #0d6c6a;
    font-size: 20px;
}

.cart-note {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}

.btn-view-cart {
    width: 100%;
    padding: 15px;
    background: #0d6c6a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-view-cart:hover {
    background: #0a5654;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}



/* @media (max-width: 768px) {
      .cart-modal {
        width: 100%;
        right: -100%;
      }
    } */
/* 1. Ensure the parent row doesn't force equal height columns */
.product-main-row {
    display: flex;
    align-items: flex-start !important;
    position: relative;
}

/* 2. Make the image container sticky */
.product-images {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    /* Adjust this value if you have a fixed header (e.g., 100px) */
    z-index: 10;
}

/* 3. Ensure no parent container has 'overflow: hidden' which breaks sticky */
.product-section {
    overflow: visible !important;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */

/* Tablet & Medium Devices (768px - 991px) */
@media (max-width: 991px) {
    .product-section {
        padding: 40px 0;
    }

    /* .container {
        margin-top: 60px !important;
    } */

    .product-images {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 30px;
    }

    .main-product-image {
        padding: 15px;
    }

    .main-product-image img {
        max-height: 400px;
    }

    .product-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .current-price {
        font-size: 30px;
    }

    .original-price {
        font-size: 20px;
    }

    .tab-pane h3 {
        font-size: 24px;
    }

    .tab-pane h4 {
        font-size: 20px;
    }
}

/* Mobile Devices (max-width: 767px) */
@media (max-width: 767px) {
    .product-section {
        padding: 30px 0;
    }

    .container {
        /* margin-top: 40px !important; */
        padding: 0 15px;
    }

    /* .page_header {
        padding: 0 0 60px !important;
    } */

    /* Product Images */
    .product-images {
        margin-bottom: 25px;
    }

    .main-product-image {
        padding: 10px;
        margin-bottom: 15px;
    }

    .main-product-image img {
        max-height: 300px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .thumbnail-images {
        gap: 8px;
        justify-content: center;
    }

    .discount-badge,
    .best-seller-badge {
        font-size: 11px;
        padding: 4px 10px;
    }

    /* Product Info */
    .product-title {
        font-size: 22px;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .product-rating {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 15px;
    }

    .stars {
        font-size: 14px;
    }

    .review-count {
        font-size: 13px;
    }

    /* Price Section */
    .price-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .price-label {
        font-size: 13px;
    }

    .current-price {
        font-size: 28px;
    }

    .original-price {
        font-size: 18px;
        margin-left: 10px;
        display: block;
        margin-top: 5px;
    }

    .tax-info {
        font-size: 12px;
    }

    /* Features List */
    .features-list li {
        font-size: 14px;
        padding: 8px 0;
        padding-left: 22px;
    }

    .features-list li:before {
        font-size: 18px;
    }

    /* Offers Section */
    .offers-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .offers-section h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

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

    /* Quantity Section */
    .quantity-section {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

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

    .quantity-btn {
        padding: 10px 18px;
        font-size: 18px;
    }

    .quantity-input {
        width: 80px;
        font-size: 16px;
    }

    /* Social Share */
    .social-share {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Product Tabs */
    .product-tabs {
        margin-top: 40px;
    }

    .tab-content {
        padding: 20px 0;
    }

    .tab-pane h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .tab-pane h4 {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 12px;
    }

    .tab-pane h5 {
        font-size: 16px;
    }

    .tab-pane p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Ingredients Table */
    .ingredients-table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ingredients-table th,
    .ingredients-table td {
        padding: 10px 8px;
        white-space: nowrap;
    }

    /* Benefits Card */
    .benefits-card {
        padding: 20px 15px;
    }

    .benefits-card li {
        font-size: 14px;
        padding: 8px 0;
        padding-left: 25px;
    }

    .benefits-card li:before {
        font-size: 18px;
    }

    /* Cart Modal */
    .cart-modal {
        width: 100%;
        right: -100%;
    }

    .cart-modal.open {
        right: 0;
    }

    .cart-header h3 {
        font-size: 18px;
    }

    .cart-item {
        gap: 12px;
        padding: 12px 0;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }

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

    .cart-item-price {
        font-size: 15px;
    }

    .cart-subtotal {
        font-size: 16px;
    }

    .cart-subtotal-amount {
        font-size: 18px;
    }

    .btn-view-cart {
        padding: 12px;
        font-size: 15px;
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .product-title {
        font-size: 20px;
    }

    .current-price {
        font-size: 24px;
    }

    .original-price {
        font-size: 16px;
    }

    .thumbnail {
        width: 55px;
        height: 55px;
    }

    .tab-pane h3 {
        font-size: 20px;
    }

    .tab-pane h4 {
        font-size: 17px;
    }

    .social-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }
}

/* Landscape Orientation Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .product-section {
        padding: 20px 0;
    }

    /* .container {
        margin-top: 20px !important;
    } */

    .main-product-image img {
        max-height: 250px;
    }
}

@media (max-width: 767px) {
    .quantity-section {
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .quantity-controls {
        width: auto !important;
        flex: 0 0 auto !important;
    }

    .quantity-btn {
        padding: 8px 15px !important;
    }

    .quantity-input {
        width: 50px !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .quantity-section {
        gap: 8px !important;
    }

    .quantity-btn {
        padding: 8px 12px !important;
        font-size: 16px !important;
    }

    .quantity-input {
        width: 45px !important;
        font-size: 15px !important;
    }

}


.quantity-btn:last-of-type::before {
    content: "+";
}

.quantity-btn:first-of-type::before {
    content: "−";
}

/* Remove the text content from buttons */
.quantity-btn {
    font-size: 0;
    /* Hide text */
}

.quantity-btn::before {
    font-size: 20px;
    /* Show icon */
}

/* Fix 2: Product Tabs - Horizontal Scroll on Mobile */
@media (max-width: 767px) {
    .product-tabs {
        margin-top: 30px;
        overflow: visible;
    }

    /* Add scroll hint gradient */
    .product-tabs::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        width: 30px;
        height: 50px;
        background: linear-gradient(to right, transparent, white);
        pointer-events: none;
        z-index: 1;
    }
}


/* Desktop - Keep symbols visible */
@media (min-width: 768px) {
    .quantity-btn {
        font-size: 20px !important;
    }
}

/* Mobile - Adjust button size */
@media (max-width: 767px) {
    .quantity-btn {
        font-size: 18px !important;
        padding: 8px 15px !important;
    }
}

/* Secure Checkout */
.secure-checkout {
    margin: 25px 0 15px;
}

.secure-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.payment-icons img {
    height: 38px;
    background: #fff;
    /* padding: 6px 10px; */
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    object-fit: contain;
}


@media (max-width: 767px) {
    .payment-icons {
        justify-content: center;
    }

    .payment-icons img {
        height: 28px;
        padding: 5px 8px;
    }

    .secure-title {
        text-align: center;
        font-size: 13px;
    }
}