/* ============================================================
   CraftCart India — Custom Overrides for ShopGrids Template
   ============================================================

   NOTE: Base styles are provided by shopgrids.css
   This file contains ONLY CraftCart-specific customizations
   ============================================================ */

/* --- CraftCart Logo Text (when no logo image) --- */
.navbar-brand h2,
.footer-logo h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

/* --- Admin Panel Link in Topbar --- */
.top-middle .useful-links li a[href*="/admin"] {
    color: #0167F3;
    font-weight: 600;
}

/* --- Flash Messages Customization --- */
.alert {
    border-radius: 4px;
    font-size: 14px;
}

.alert i {
    font-size: 18px;
    vertical-align: middle;
}

/* --- Newsletter Form AJAX Message --- */
#newsletterMsg {
    font-size: 13px;
    margin-top: 10px;
}

#newsletterMsg.success {
    color: #28a745;
}

#newsletterMsg.error {
    color: #dc3545;
}

/* --- Shopping Cart Badge Override --- */
#cartCountBadge {
    transition: transform 0.2s ease;
}

#cartCountBadge.pulse {
    animation: pulse 0.5s ease;
}

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

/* --- Rupee Symbol Support --- */
/* Disabled - PHP already adds ₹ symbol */
/* .price::before,
.amount::before {
    content: '₹';
    margin-right: 2px;
} */

/* --- Logout Button in Topbar (styled as link) --- */
.top-end button[type="submit"] {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    font-size: inherit;
    font-family: inherit;
}

.top-end button[type="submit"]:hover {
    color: #0167F3;
}

/* --- Admin-Specific Styles (if admin pages load public header) --- */
body.admin-page {
    background-color: #f4f6f9;
}

body.admin-page .header,
body.admin-page .footer {
    display: none; /* Hide public header/footer on admin pages */
}

/* --- Print Styles Override --- */
@media print {
    .header,
    .footer,
    .preloader,
    .scroll-top,
    .alert {
        display: none !important;
    }
}

/* --- Additional CraftCart-Specific Utilities --- */
.text-indian-rupee::before {
    content: '₹';
    margin-right: 3px;
}

.bg-craftcart {
    background-color: #0167F3;
    color: #fff;
}

.btn-craftcart {
    background-color: #0167F3;
    border-color: #0167F3;
    color: #fff;
}

.btn-craftcart:hover {
    background-color: #0150c2;
    border-color: #0150c2;
    color: #fff;
}

/* --- Topbar Height and Alignment Fixes --- */

/* Reduce topbar height */
.topbar {
    padding: 10px 0 !important;
}

/* Align useful links to left */
.top-middle {
    text-align: left !important;
}

.top-middle .useful-links {
    justify-content: flex-start !important;
}

/* Reduce header middle height */
.header-middle {
    padding: 15px 0 !important;
}

/* Header breadcrumb styling */
.header-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.header-breadcrumb .breadcrumb-nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 8px;
    font-size: 15px;
    align-items: center;
}

.header-breadcrumb .breadcrumb-nav li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-breadcrumb .breadcrumb-nav li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-breadcrumb .breadcrumb-nav li a:hover {
    color: #0167F3;
}

.header-breadcrumb .breadcrumb-nav li a i {
    font-size: 16px;
}

.header-breadcrumb .breadcrumb-nav li .separator {
    color: #ccc;
    font-weight: 400;
}

.header-breadcrumb .breadcrumb-nav li .page-name {
    color: #999;
}

/* --- Shop Page Alignment Fixes --- */

/* Remove excessive top spacing on all pages */
main {
    padding-top: 0 !important;
}

.section {
    padding-top: 30px !important;
    padding-bottom: 50px !important;
}

/* Breadcrumbs - Reduce height */
.breadcrumbs {
    padding: 20px 0 !important;
    background: #f8f9fa;
    margin-bottom: 0 !important;
}

.breadcrumbs .page-title {
    font-size: 24px !important;
    margin: 0 !important;
}

/* Remove white space between breadcrumb and content */
.product-grids.section {
    padding-top: 30px !important;
}

.breadcrumb-nav {
    margin: 0 !important;
    padding: 0 !important;
}

.breadcrumb-nav li {
    font-size: 14px;
}

/* Product Grid Topbar - Fix alignment */
.product-grid-topbar {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.product-grid-topbar .row {
    align-items: center;
}

/* Sort by dropdown and showing text alignment */
.product-sorting {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.product-sorting label {
    margin: 0;
    font-weight: 500;
    white-space: nowrap;
}

.product-sorting select {
    max-width: 200px;
    display: inline-block;
}

.product-sorting .total-show-product {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

/* Grid/List toggle buttons alignment */
.product-grid-topbar .nav-tabs {
    border: none;
    justify-content: flex-end;
}

.product-grid-topbar .nav-tabs .nav-link {
    border: 1px solid #eee;
    margin-left: 5px;
    padding: 10px 15px;
    color: #666;
}

.product-grid-topbar .nav-tabs .nav-link.active {
    background-color: #0167F3;
    border-color: #0167F3;
    color: #fff;
}

.product-grid-topbar .nav-tabs .nav-link:hover {
    border-color: #0167F3;
    color: #0167F3;
}

/* Product cards spacing */
.product-grids .row {
    margin-left: -12px;
    margin-right: -12px;
}

.product-grids .row > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 24px;
}

/* Single product card */
.single-product {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.single-product:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: #0167F3;
}

.single-product .product-image {
    position: relative;
    overflow: hidden;
    padding: 15px;
}

.single-product .product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
}

.single-product .product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Price display fixes */
.single-product .price {
    font-size: 18px;
    font-weight: 700;
    color: #0167F3;
    margin-top: auto;
}

.single-product .price span:first-child {
    color: #0167F3;
}

.single-product .price .discount-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 8px;
}

/* Star ratings display */
.single-product .review {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 8px 0;
    list-style: none;
    padding: 0;
}

.single-product .review li {
    line-height: 1;
}

.single-product .review li i {
    font-size: 14px;
    color: #FFA500;
}

.single-product .review .review-count {
    font-size: 13px;
    color: #666;
    margin-left: 5px;
}

/* Category label */
.single-product .category {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

/* Product title */
.single-product .title {
    font-size: 16px;
    font-weight: 600;
    margin: 8px 0;
    line-height: 1.4;
}

.single-product .title a {
    color: #081828;
    text-decoration: none;
}

.single-product .title a:hover {
    color: #0167F3;
}

/* Discount badge */
.single-product .new {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #f73232;
    color: #fff;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.single-product .new.trending {
    background: #0167F3;
}

/* ============================
   Product List View Styles
   ============================ */
.single-product-list {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.single-product-list:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: #ddd;
}

.single-product-list .product-image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.single-product-list .product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.single-product-list:hover .product-image img {
    transform: scale(1.05);
}

.single-product-list .product-info {
    padding: 0;
}

.single-product-list .category {
    display: inline-block;
    background: #f8f9fa;
    color: #666;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.single-product-list .title {
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0;
    line-height: 1.4;
}

.single-product-list .title a {
    color: #081828;
    text-decoration: none;
    transition: color 0.3s;
}

.single-product-list .title a:hover {
    color: #0167F3;
}

.single-product-list .review {
    margin: 10px 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3px;
}

.single-product-list .review li {
    display: inline-block;
}

.single-product-list .review li i {
    color: #FFA500;
    font-size: 14px;
}

.single-product-list .review .review-count {
    color: #888;
    font-size: 13px;
    margin-left: 5px;
}

.single-product-list .description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}

.single-product-list .product-price-action {
    text-align: center;
    padding: 10px 0;
}

.single-product-list .price {
    margin-bottom: 15px;
}

.single-product-list .price span:first-child {
    color: #0167F3;
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.single-product-list .price .discount-price {
    color: #999;
    font-size: 16px;
    text-decoration: line-through;
    display: block;
    margin-top: 5px;
}

.single-product-list .button .btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
}

.single-product-list .wishlist-compare {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.single-product-list .wishlist-btn {
    color: #666;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}

.single-product-list .wishlist-btn:hover {
    color: #0167F3;
}

.single-product-list .wishlist-btn i {
    margin-right: 5px;
}

/* List view wrapper spacing */
.list-view-wrapper {
    margin-top: 20px;
}

/* Grid/List Toggle Button Styles */
.product-grid-topbar .nav-tabs {
    border: none;
    justify-content: flex-end;
}

.product-grid-topbar .nav-tabs .nav-link {
    border: 1px solid #e1e1e1;
    background: #fff;
    color: #666;
    padding: 10px 15px;
    margin-left: 5px;
    border-radius: 5px;
    transition: all 0.3s;
}

.product-grid-topbar .nav-tabs .nav-link:hover {
    background: #f8f9fa;
    color: #0167F3;
}

.product-grid-topbar .nav-tabs .nav-link.active {
    background: #0167F3;
    color: #fff;
    border-color: #0167F3;
}

.product-grid-topbar .nav-tabs .nav-link i {
    font-size: 18px;
}

/* Responsive adjustments for list view */
@media (max-width: 991px) {
    .single-product-list .product-price-action {
        margin-top: 20px;
        text-align: left;
    }

    .single-product-list .button .btn {
        width: auto;
    }
}

@media (max-width: 767px) {
    .single-product-list .product-image img {
        height: 250px;
    }

    .single-product-list .title {
        font-size: 18px;
    }

    .single-product-list .product-price-action {
        text-align: center;
    }

    .single-product-list .button .btn {
        width: 100%;
    }
}

/* Sidebar widgets spacing */
.product-sidebar .single-widget {
    margin-bottom: 30px;
    padding: 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
}

.product-sidebar .single-widget h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #081828;
}

/* Sidebar search */
.product-sidebar .single-widget.search input {
    border: 1px solid #eee;
    padding: 12px 15px;
    width: calc(100% - 50px);
    border-radius: 5px 0 0 5px;
}

.product-sidebar .single-widget.search button {
    width: 50px;
    height: 46px;
    background: #0167F3;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* Category list */
.product-sidebar .list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-sidebar .list li {
    margin-bottom: 12px;
}

.product-sidebar .list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.product-sidebar .list li a:hover,
.product-sidebar .list li a.active {
    color: #0167F3;
    padding-left: 5px;
}

.product-sidebar .list li a span {
    color: #999;
    font-size: 13px;
}

/* Pagination fixes */
.pagination {
    margin-top: 40px;
}

.pagination-list {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    justify-content: center;
}

.pagination-list li a,
.pagination-list li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #eee;
    border-radius: 5px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination-list li.active a,
.pagination-list li a:hover {
    background: #0167F3;
    border-color: #0167F3;
    color: #fff;
}

/* Responsive fixes */
@media (max-width: 991px) {
    .product-sorting {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-sorting select {
        max-width: 100%;
    }

    .product-grid-topbar .nav-tabs {
        justify-content: flex-start;
        margin-top: 15px;
    }
}

/* --- Auth Pages (Login/Register) Alignment Fixes --- */

/* Auth section spacing */
.account-login.section {
    padding: 50px 0;
}

/* Form card styling */
.register-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Title section alignment */
.register-form .title {
    text-align: center;
    margin-bottom: 30px;
}

.register-form .title h3 {
    font-size: 28px;
    font-weight: 700;
    color: #081828;
    margin-bottom: 10px;
}

.register-form .title p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Form group spacing */
.register-form .form-group {
    margin-bottom: 20px;
}

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

.register-form .form-group label span {
    color: #f73232;
}

/* Form inputs */
.register-form .form-control {
    height: 48px;
    padding: 12px 18px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
}

.register-form .form-control:focus {
    border-color: #0167F3;
    box-shadow: 0 0 0 0.2rem rgba(1, 103, 243, 0.1);
}

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

/* Button styling */
.register-form .login-btn {
    margin-top: 10px;
    margin-bottom: 15px;
}

.register-form .login-btn .btn {
    width: 100%;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.register-form .login-btn .btn i {
    font-size: 18px;
}

/* Checkbox alignment */
.register-form .checkbox {
    margin-bottom: 15px;
}

.register-form .checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    color: #666;
    margin: 0;
    cursor: pointer;
}

.register-form .checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.register-form .checkbox a {
    color: #0167F3;
    text-decoration: none;
}

.register-form .checkbox a:hover {
    text-decoration: underline;
}

/* Forgot password link */
.register-form .lost-pass {
    display: block;
    text-align: right;
    color: #0167F3;
    font-size: 14px;
    text-decoration: none;
    margin-top: 10px;
}

.register-form .lost-pass:hover {
    text-decoration: underline;
}

/* Outer link (sign up/sign in) */
.register-form .outer-link {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 0;
}

.register-form .outer-link a {
    color: #0167F3;
    font-weight: 600;
    text-decoration: none;
}

.register-form .outer-link a:hover {
    text-decoration: underline;
}

/* Small helper text */
.register-form .text-muted {
    font-size: 13px;
    color: #999;
    margin-top: 5px;
    display: block;
}

/* Invalid feedback */
.register-form .invalid-feedback {
    font-size: 13px;
    color: #dc3545;
    margin-top: 5px;
}

/* Responsive auth forms */
@media (max-width: 767px) {
    .register-form {
        padding: 30px 20px;
    }

    .register-form .title h3 {
        font-size: 24px;
    }

    .account-login.section {
        padding: 30px 0;
    }
}

/* --- Contact Page Alignment Fixes --- */

/* Contact section spacing */
.contact-us.section {
    padding: 50px 0;
}

/* Contact form main */
.contact-us .form-main {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Contact form title */
.contact-us .form-main .title {
    margin-bottom: 30px;
}

.contact-us .form-main .title h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0167F3;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-us .form-main .title h3 {
    font-size: 32px;
    font-weight: 700;
    color: #081828;
    margin: 0;
}

/* Contact form groups */
.contact-us .form-main .form-group {
    margin-bottom: 25px;
}

.contact-us .form-main .form-group label {
    font-weight: 500;
    color: #081828;
    margin-bottom: 10px;
    display: block;
    font-size: 14px;
}

.contact-us .form-main .form-group label span {
    color: #f73232;
}

/* Contact form inputs */
.contact-us .form-main .form-group input,
.contact-us .form-main .form-group textarea {
    width: 100%;
    height: 50px;
    padding: 12px 20px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
    background: #fff;
}

.contact-us .form-main .form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-us .form-main .form-group input:focus,
.contact-us .form-main .form-group textarea:focus {
    border-color: #0167F3;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(1, 103, 243, 0.1);
}

/* Contact form button */
.contact-us .form-main .form-group.button {
    margin-top: 10px;
}

.contact-us .form-main .form-group.button .btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

/* Contact info cards */
.contact-us .single-head {
    margin-top: 0;
}

.contact-us .single-info {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    text-align: center;
}

.contact-us .single-info i {
    font-size: 40px;
    color: #0167F3;
    margin-bottom: 15px;
    display: block;
}

.contact-us .single-info .title {
    font-size: 18px;
    font-weight: 700;
    color: #081828;
    margin-bottom: 10px;
}

.contact-us .single-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-us .single-info ul li {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.contact-us .single-info ul li a {
    color: #0167F3;
    text-decoration: none;
}

.contact-us .single-info ul li a:hover {
    text-decoration: underline;
}

/* Map section */
.map-section {
    margin-top: 50px;
}

.map-section .mapouter {
    position: relative;
    text-align: right;
    height: 500px;
    width: 100%;
}

.map-section .gmap_canvas {
    overflow: hidden;
    background: none !important;
    height: 500px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.map-section iframe {
    border-radius: 8px;
}

/* Responsive contact page */
@media (max-width: 991px) {
    .contact-us .form-main {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .contact-us .form-main .title h3 {
        font-size: 26px;
    }

    .contact-us .single-info {
        padding: 25px;
    }
}

/* ============================
   About Page Styles
   ============================ */

/* About Us Section */
.about-us {
    padding: 80px 0;
}

.about-us .sub-heading {
    display: inline-block;
    background: #f8f9ff;
    color: #0167F3;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 30px;
    margin-bottom: 15px;
}

.about-us h2 {
    font-size: 36px;
    font-weight: 700;
    color: #081828;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-us p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-us .button .btn {
    margin-right: 15px;
    padding: 12px 30px;
    font-weight: 600;
}

.about-us .button .btn-alt {
    background: transparent;
    border: 2px solid #0167F3;
    color: #0167F3;
}

.about-us .button .btn-alt:hover {
    background: #0167F3;
    color: #fff;
}

.about-us .about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-us .about-image img {
    width: 100%;
    border-radius: 10px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #fff;
}

.features .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.features .section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #081828;
    margin-bottom: 10px;
}

.features .section-title p {
    color: #666;
    font-size: 16px;
}

.single-feature {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    transition: all 0.3s;
}

.single-feature:hover {
    background: #f8f9ff;
    transform: translateY(-5px);
}

.single-feature .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0167F3 0%, #0052CC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.single-feature .feature-icon i {
    font-size: 36px;
    color: #fff;
}

.single-feature h3 {
    font-size: 20px;
    font-weight: 700;
    color: #081828;
    margin-bottom: 12px;
}

.single-feature p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Our Story Section */
.our-story {
    padding: 80px 0;
}

.our-story .story-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.our-story .story-image img {
    width: 100%;
    border-radius: 10px;
}

.our-story .sub-heading {
    display: inline-block;
    background: #fff;
    color: #0167F3;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 30px;
    margin-bottom: 15px;
}

.our-story h2 {
    font-size: 32px;
    font-weight: 700;
    color: #081828;
    line-height: 1.3;
    margin-bottom: 20px;
}

.our-story p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Stats/Achievement Section */
.our-achievement {
    padding: 80px 0;
    background: #081828;
}

.single-achievement {
    text-align: center;
    padding: 30px 20px;
}

.single-achievement h3 {
    font-size: 48px;
    font-weight: 700;
    color: #0167F3;
    margin-bottom: 10px;
}

.single-achievement h4 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.single-achievement p {
    color: #aaa;
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
}

.cta-section .cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.cta-section .cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-white {
    background: #fff;
    color: #0167F3;
    padding: 14px 35px;
    font-weight: 700;
    border-radius: 5px;
}

.cta-section .btn-white:hover {
    background: #f8f9fa;
    color: #0052CC;
}

/* About Page Responsive */
@media (max-width: 991px) {
    .about-us h2,
    .our-story h2 {
        font-size: 28px;
    }

    .about-us,
    .features,
    .our-story,
    .our-achievement {
        padding: 50px 0;
    }

    .about-us .about-image,
    .our-story .story-image {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .about-us h2,
    .our-story h2,
    .cta-section h2 {
        font-size: 24px;
    }

    .single-achievement h3 {
        font-size: 36px;
    }

    .cta-section {
        padding: 40px 0;
    }

    .cta-section .button {
        margin-top: 20px;
    }
}

/* ============================
   Shopping Cart Page Styles
   ============================ */

.shopping-cart.section {
    padding: 50px 0;
}

/* Cart table header row */
.cart-list-head {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

/* Every row inside the cart list */
.cart-single-list {
    padding: 18px 25px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.cart-single-list:last-child {
    border-bottom: none;
}

/* Header row text */
.cart-single-list:first-child {
    background: #f8f9fa;
    font-weight: 600;
    font-size: 14px;
    color: #081828;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-single-list:first-child p {
    margin: 0;
    font-weight: 600;
    color: #081828;
}

/* Product row hover */
.cart-single-list:not(:first-child):hover {
    background: #fafbff;
}

/* Product image in cart */
.cart-single-list img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
}

/* Product name */
.cart-single-list .product-name {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 5px;
}

.cart-single-list .product-name a {
    color: #081828;
    text-decoration: none;
    transition: color 0.3s;
}

.cart-single-list .product-name a:hover {
    color: #0167F3;
}

/* SKU text */
.cart-single-list .product-des {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* Quantity input */
.count-input .form-control {
    width: 80px;
    height: 40px;
    text-align: center;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #081828;
    padding: 5px;
}

.count-input .form-control:focus {
    border-color: #0167F3;
    box-shadow: 0 0 0 0.15rem rgba(1, 103, 243, 0.12);
    outline: none;
}

/* Price cells */
.cart-single-list p {
    margin: 0;
    font-size: 15px;
    color: #081828;
    font-weight: 500;
}

/* Item subtotal */
.cart-single-list .item-subtotal {
    font-weight: 700;
    color: #0167F3;
}

/* Remove button */
.cart-single-list .remove-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    color: #f73232;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.cart-single-list .remove-item:hover {
    background: #f73232;
    border-color: #f73232;
    color: #fff;
    transform: rotate(90deg);
}

/* Cart totals + coupon area */
.total-amount {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px 25px;
    margin-top: 30px;
}

/* Coupon form */
.total-amount .coupon {
    display: flex;
    gap: 0;
    max-width: 450px;
}

.total-amount .coupon form {
    display: flex;
    width: 100%;
    gap: 0;
}

.total-amount .coupon input {
    flex: 1;
    height: 48px;
    padding: 10px 18px;
    border: 1px solid #e1e1e1;
    border-right: none;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.total-amount .coupon input:focus {
    border-color: #0167F3;
}

.total-amount .coupon .button {
    flex-shrink: 0;
}

.total-amount .coupon .button .btn {
    height: 48px;
    padding: 0 24px;
    border-radius: 0 5px 5px 0;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* Right summary box */
.total-amount .right ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.total-amount .right ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #555;
}

.total-amount .right ul li:last-child {
    border-bottom: none;
}

.total-amount .right ul li span {
    font-weight: 600;
    color: #081828;
}

.total-amount .right ul li.last {
    background: #f8f9fa;
    font-size: 16px;
    font-weight: 700;
    color: #081828;
}

.total-amount .right ul li.last span {
    color: #0167F3;
    font-size: 20px;
}

/* Checkout / continue shopping buttons */
.total-amount .right .button {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.total-amount .right .button .btn {
    flex: 1;
    min-width: 130px;
    height: 48px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.total-amount .right .button .btn-alt {
    background: transparent;
    border: 2px solid #0167F3;
    color: #0167F3;
}

.total-amount .right .button .btn-alt:hover {
    background: #0167F3;
    color: #fff;
}

/* Empty cart state */
.cart-empty {
    padding: 80px 20px;
    text-align: center;
}

.cart-empty i {
    font-size: 80px;
    color: #ccc;
    margin-bottom: 20px;
    display: block;
}

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

.cart-empty p {
    color: #888;
    font-size: 15px;
    margin-bottom: 25px;
}

.cart-empty .btn {
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 991px) {
    .total-amount {
        padding: 20px 15px;
    }

    .total-amount .coupon {
        max-width: 100%;
        margin-bottom: 25px;
    }

    .total-amount .right {
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .cart-single-list {
        padding: 14px 15px;
    }

    .cart-single-list:first-child {
        display: none; /* Hide header row on mobile */
    }

    .cart-single-list img {
        width: 65px;
        height: 65px;
    }

    .count-input .form-control {
        width: 65px;
    }

    .total-amount .right .button {
        flex-direction: column;
    }

    .total-amount .right .button .btn {
        flex: none;
        width: 100%;
    }
}

/* --- End of CraftCart Custom Overrides --- */
