* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #fff;
    overflow-x: hidden;
}

.container-fluid {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/* Header */
.header {
     background-image: url('images/bgjpg.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px 0;
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-img {
    height: auto;
    width: 240px;
    max-width: 45vw;
    object-fit: contain;
    margin-left: 12px;
}


.social-icons {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: center;
        transition: 0.5s ease;
}
.social-icons a:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}
.social-icons a { margin: 0 6px; display: inline-flex; }
.social-icon-img { width: 40px; height: 40px; display: block; }

@media (max-width: 480px) {
        .social-icon-img { width: 22px; height: 22px; }
        .logo-img { width: 150px; height: 25px; margin-left: 20px;}
}



.navbar .nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    color: #ff6b35;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.logo { display: flex; align-items: center; flex: 0 0 auto; }
.social-icons { flex: 1 1 auto; justify-content: center; }
.hamburger { flex: 0 0 auto; }

@media (min-width: 421px) {
    .header-inner { position: relative; }
    .social-icons { position: static; left: auto; top: auto; transform: none; }
    .logo-img{ margin-left: 8px; }
}

.hamburger {
    width: 46px;
    height: 36px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-right: 50px;
    color: #000;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.2s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Side menu */
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-110%);
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    color: #111;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    transition: transform 0.28s ease;
    z-index: 3000;
    padding: 20px 16px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.side-menu.open {
    transform: translateY(0);
}

.side-overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 2500;
}

.side-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.side-close {
    background: transparent;
    border: none;
    font-size: 20px;
    position: absolute;
    right: 70px;
    top: 12px;
    cursor: pointer;
}

.side-nav { margin-top: 40px; display:flex; flex-direction:column; gap:16px }
.side-nav a { color:#111; text-decoration:none; font-weight:700 }

/* Main content area (white panel like screenshot) */
.page-content { background:#fff; color:#111; padding:60px 0; justify-content: center; }
.content-wrap { max-width:900px; margin:0 auto; text-align:left; padding:0 30px; }
.content-heading { font-size:18px; font-weight:400; margin-bottom:6px}
.lead { font-size:14px; margin-bottom:24px }

/* Sticky CTA */
.sticky-cta { position:fixed; left:0; right:0; bottom:18px; display:flex; justify-content:center; z-index:2200 }
.cta-btn { display:inline-flex; align-items:center; gap:12px; background:#222; color:#fff; padding:14px 36px; border-radius:10px; text-decoration:none; font-weight:700 }
.cta-btn .cart { font-size:18px }

/* Hide main content until verification */
.main-content.hidden { display:none }

/* Utility: hide elements when 'hidden' class is applied (used by filters panel and product cards) */
.filters-content.hidden { display: none; }

/* Global helper: hide any element given the 'hidden' helper class */
.hidden { display: none !important; }

/* Page CTA inside content (not visible during verification because main-content is hidden) */
.page-cta { margin-top: 30px; display:flex; justify-content:center }
.large-cta { display:block; width:100%; max-width:900px; background:#222; color:#fff;
     padding:12px 16px; border-radius:8px; text-align:center; text-decoration:none;
    font-weight:800; border:2px solid #222; transition: all 0.3s ease; justify-self:center; }
.large-cta:hover { background:transparent; color:#222; border-color:#222 }

/* when CTA is moved to top because block posts exist */
.large-cta.cta-top { max-width:940px; background:#111; color:#fff; border-color:#111; padding:14px 20px; border-radius:8px; }


.hero-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e0e0e0;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Terms Section */
.terms-section {
    /* background-color: #1a1a1a; */
    padding: 40px 20px;
    position: relative;
}

.terms-text {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

.modal-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background image (save the attached image to images/hood-bg.jpg) */
    background-color: rgba(0,0,0,0.5);
    background-image: url('images/hoodbg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background-color: rgba(45,45,45,0.88);
    padding: 40px 28px;
    border-radius: 10px;
    text-align: center;
    max-width: 520px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.modal-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ff6b35;
    text-transform: uppercase;
}

.modal-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.terms-content {
    text-align: left;
    margin: 20px 0;
    padding: 15px;
    background-color: #1a1a1a;
    border-radius: 5px;
    border: 1px solid #444;
}

.terms-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.terms-content li {
    margin-bottom: 8px;
    color: #ccc;
    font-size: 16px;
}

.modal-btn {
    display: block;
    background-color: #ff6b35;
    color: #fff;
    padding: 12px 30px;
    margin: 10px auto;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #ff6b35;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.modal-btn:hover {
    background-color: transparent;
    color: #ff6b35;
}

.modal-hidden {
    display: none !important;
}

/* Footer */
.footer {
    /* background-color: #1a1a1a; */
    padding: 30px 20px;
    border-top: 2px solid #ff6b35;
    text-align: center;
}

.footer-link {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    margin: 0 15px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #000;
}

.footer-nav {
    margin-top: 15px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .brand-title {
        font-size: 48px;
        letter-spacing: 4px;
    }

    .section-heading {
        font-size: 24px;
    }

    .hero-text,
    .official-text,
    .hours-text {
        font-size: 16px;
    }

    .modal-content {
        padding: 30px;
    }
}

/* Products page */
.products-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #1a1a1a;
}
.products-toolbar .search-sort {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.search-icon{
    cursor: pointer;
}

/* Login / Auth styles (matches provided screenshot) */
.auth-root {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    padding: 40px 20px;
}
.auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    color: #111827;
    border-radius: 12px;
    padding: 40px 36px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.08);
    text-align: center;
}
.auth-brand { font-size: 36px; margin-bottom: 8px; }
.auth-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.auth-sub { font-size: 28px; font-weight: 800; margin: 4px 0 8px; }
.auth-lead { color: #6b7280; margin-bottom: 18px; }
.auth-form .field { display:block; margin: 12px 0; }
.auth-form input[type="email"], .auth-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 15px;
    background: #fff;
}
.auth-form input:focus { outline: none; border-color: #60a5fa; box-shadow: 0 0 0 4px rgba(96,165,250,0.08); }
.remember { display:flex; align-items:center; gap:8px; color:#6b7280; font-size:14px; margin-top:6px; }
.actions { margin-top: 18px; }
.btn.primary { background: #2563eb; text-decoration: none; color: #fff; padding: 12px 22px; border-radius: 8px; border: none; font-weight:700; cursor:pointer; }
p .pbtn{ text-decoration: none;}
.btn.primary a {  text-decoration: none; }

@media (max-width:480px) {
    .auth-card { padding: 28px 18px; margin: 12px; }
    .auth-sub { font-size: 22px; }
}
.products-toolbar input[type="text"],
.products-toolbar select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
}
.header-row { display: flex; justify-content: space-between; /* pushes items apart */ align-items: center; /* vertically centers them */ padding: 10px; }
.cart-area {
    position: fixed;
    top: 30px;
    right: 20px;
    z-index: 1000;
    display: block; /* always visible */
}
.cart-icon {
    /* background: #ff6b35; */
    color: #fff;
    border: none;
    /* padding: 7px 25px; */
    /* border-radius: 6px; */
    font-size: 20px;
    cursor: pointer;
}

.cart-icon {
    background: transparent !important;
    box-shadow: none !important;
}
.cart-count {
    background: #fff;
    color: #ff6b35;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    position: absolute;
    top: -6px;
    right: 14px;
    min-width: 18px;
    text-align: center;
}

.cart-icon.has-items .cart-count {
    background: #fff;
    color: #ff6b35;
}

/* cart modal styles */
.cart-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
}
.cart-modal.hidden { display:none; }
.cart-content {
    background: #fff;
    color: #111;
    width: 100%;
    height: 80vh;
    max-width: 800px;
    max-height: 200vh;
    overflow-y: auto;
    padding: 24px;
    border-radius: 8px;
    position: relative;
}
.cart-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}
.cart-items .cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
}
.cart-items .cart-item .item-left {
    display: flex;
    align-items: center;
}
.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin-right: 12px;
}
.cart-item .item-details h4 {
    margin:0;
    font-size: 14px;
}
.cart-item .item-qty {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}
.cart-item .item-qty button {
    width: 25px;
    height: 25px;
    line-height: 1;
    text-align: center;
    padding: 0;
    border: 1px solid #ccc;
    background: #f8f8f8;
    cursor: pointer;
}
.cart-item .item-price {
    min-width: 80px;
    text-align: right;
    font-weight: bold;
}
.order-summary {
    margin-top: 24px;
}
.order-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 8px;
    transition: 0.5 ease;
}
.btn.primary { background: #007bff; color: #fff; }
.btn.secondary { background: #6c757d; color: #fff; }
.btn.primary:hover { background: #9bb2c7; color: #000; }
.btn.secondary:hover { background: #5d96d3; color: #000; }

.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 1fr; /* keep rows equal height so each row has same number of visible items */
    gap: 12px;
    padding: 0px;
    align-items: start;
    justify-items: stretch;
}

/* Mobile-specific: force two columns and shrink header elements so everything fits */
@media (max-width: 420px) {
    .products-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .header {
        width: 100%;
        height: auto;
        padding: 8px 0;
    }
    .container-fluid { padding: 8px 12px; }
    .header-inner { padding: 4px; }
    .logo-img { width: 100px; height: 30px; margin-left: 8px; }
    .social-icons { gap: 6px; }
    .social-icon-img { width: 18px; height: 18px; }
    .hamburger { margin-right: 50px; }
    .cart-area{ top: 20px; right: 30px; }
}
@media (max-width: 430px){
    .products-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .cart-area{ right: 8px;}
    .logo-img { width: 170px; height: 20px; margin-left: 10%; }
}
@media (max-width: 390px){
    .products-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .cart-area{ right: 8px;}
    .logo-img { width: 170px; height: 20px; margin-left: 10%; }
}

/* Top filters panel styling for screenshot layout */
.filters-panel {
    width: 100%;
    background: #fbf5ec;
    padding: 18px 24px;
}
.filters-toggle {
    width: 100%;
    padding: 14px;
    border: 2px solid #000;
    background: #fff;
    font-weight: 800;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.filters-toggle .toggle-icon { font-size: 14px; }
.top-actions { margin-bottom: 12px; }
.back-to-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 2px solid #000;
    border-radius: 6px;
    text-decoration: none;
    color: #000;
    background: #fff;
    font-weight: 700;
}
.back-to-shop .back-icon { width: 18px; height: 18px; object-fit: contain; }

.search-row { margin: 12px 0 18px 0; }

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-container .filter-input {
    padding-right: 40px; /* Make room for the icon */
}

.search-icon {
    position: absolute;
    right: 10px;
    color: #666;
    font-size: 16px;
    pointer-events: none; /* Prevent icon from interfering with input */
}
.filter-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    font-size: 16px;
    background: #fff;
    color: #111;
}

.filters-heading {
    margin: 10px 0 12px 0;
    font-weight: 800;
    color: #111;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.filter-btn {
    background: #fff;
    border: 2px solid #e6e6e6;
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    text-align: center;
}
.filter-btn:hover { border-color: #ccc; background: #fcfbfb; }
.filter-btn.active { background: #111; color: #fff; border-color: #111; }

.back-row { margin: 14px 0; text-align: center; }
.back-btn {
    display: inline-block;
    width: 90%;
    max-width: 900px;
    padding: 16px;
    background: #efefef;
    border-radius: 6px;
    border: 2px solid #e6e6e6;
    font-weight: 900;
    color: #111;
    cursor: pointer;
    transition: all 0.3s ease;
}
.back-btn:hover {
    background: #ff6b35;
    color: #fff;
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.sort-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.sort-label { margin-right: 8px; font-weight: 700; color: #111; }
.sort-select {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    background: #fff;
    font-size: 14px;
}
.sort-arrow { 
    padding: 8px 10px;
    border: 1px solid #dcdcdc;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.products-section { 
    padding: 18px 24px; background: transparent;
    
 }

@media (max-width:900px) {
    /* stack filters in one column on smaller screens */
    .filter-grid { grid-template-columns: 1fr; }
    .back-to-shop { width: max-content; }
    .back-btn { width: 100%; }
}


/* detail overlay */
.product-detail {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
}
.product-detail.hidden { display:none; }
.detail-content {
    background: #fff;
    padding: 24px;
    /* border-radius: 8px; */
    max-width: 100%;
    max-height: 700px;
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
    color: #111;
    display: flex;
    margin-top: auto;
    overflow-y: auto;
    flex-direction: row;
    gap: 80px;
    align-items: flex-start;
}
.detail-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 35px;
    cursor: pointer;
}
.detail-back {
    position: absolute;
    top: 12px;
    left: 12px;
    border: 2px solid black;
    font-size: 16px;
    cursor: pointer;
    color: #111;
    font-weight: 700;
    padding: 6px 12px;
}
.detail-back:hover {
    opacity: 0.7;
    color: #070707;
}
.detail-image-container {
    position: relative;
    flex-shrink: 0;
    margin-top: 40px;
    margin-left: 60px;
}
.detail-content img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    margin-bottom: 16px;
    justify-content: left;
}
#detailImage {
    display: block;
    width: 600px;
    height: 600px;
    object-fit: cover;
}
.detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    margin-top: 55px;
    text-align: left;
}
.detail-actions h3 {
    font-size: 24px;
    margin-bottom: 8px;
}
.detail-actions p {
    color: #111;
    margin-bottom: 16px;
}
.detail-images-gallery {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #ddd;
}
.detail-images-gallery h4 {
    font-size: 14px;
    color: #111;
    margin-bottom: 12px;
    font-weight: 600;
}
.gallery-thumbnails {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.gallery-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    border: 2px solid #ddd;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}
.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-thumbnail:hover {
    border-color: #ff6b35;
    transform: scale(1.05);
}
.gallery-thumbnail.active {
    border-color: #ff6b35;
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
}

/* second stle */
.back-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #070707;
    border-radius: 10px;
    color: #fff;
    padding: 10px 14px;
    text-decoration: none;
    font-size: 20px;
    display: none;
    z-index: 3500;
    transition: all 0.3s ease;
}
.back-top.show { display: block; }
.back-top:hover {
    background: #c9b7b0;
    color: #070707;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}
.product-card {
    background: #fff;
    color: #000;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
    transition:  0.5s,  0.5s;
}
.product-card:hover {
    transform: translateY(-6px);
    /* box-shadow: 0 8px 20px rgba(0,0,0,0.2); */
}
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0 0 12px 0;
    display: block;
    transition:  0.3s ease;
}
.product-card img:hover {
    transform: scale(1.05);
}
.product-card .desc {
    font-size: 14px;
    color: #000;
    margin: 8px 0;
}
.product-card img.clickable { cursor: pointer; }

/* Product Pricing Display */
.product-card .pricing {
    margin: 4px 0;
    padding: 6px;
    border-radius: 6px;
}

.product-card .pricing span {
    display: block;
    font-size: 12px;
    font-weight: 200;
    color: #504c4c;
    margin: 4px 0;
}

.product-card .pricing span:first-child {
    font-size: 14px;
    font-weight: 100;
    color: #ff6b35;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.product-card .notes {
    margin: 10px 0;
    font-size: 12px;
    color: #000;
}

.product-card .notes p {
    margin: 3px 0;
    color: #000;
    font-weight: 50;
}

/* slider inside card */
.img-slider {
    position: relative;
}
.img-slider img {
    display: block;
    width: 100%;
    border-radius: 4px;
}
.slide-btn {
    position: absolute;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}
.slide-btn:hover {
    background: rgba(0,0,0,0.8);
}
.slide-btn.prev { top: 50%; left: 10px; }
.slide-btn.next { top: 50%; right: 10px; }
.quantity {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 16px 0;
}
.quantity button {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
}
.quantity button:hover {
    background: #e55a24;
}
.quantdiv {
    margin-top: 20px;
}
.detail-add {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    width: 50%;
    transition: 0.3s ease;
}
.detail-add:hover {
    background: #6d6767;
}

/* Size Selection */
.size-selection {
    margin: 20px 0;
    text-align: left;
}

.size-selection h4 {
    margin-bottom: 15px;
    color: #ff6b35;
    font-size: 18px;
    font-weight: 600;
}

.size-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.size-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition:  0.2s;
}

.size-option:hover {
    background-color: #333;
}

.size-option input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #ff6b35;
}

.size-label {
    font-size: 16px;
    color: #6d6767;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.size-label strong {
    color: #000;
    font-weight: 700;
    font-size: 18px;
}

/* Warning Modal - appears within cart modal */
.warning-modal {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 10px;
}

.warning-modal.hidden {
    display: none;
}

.warning-content {
    background-color: #2d2d2d;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    max-width: 350px;
    border: 2px solid #ff6b35;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.warning-content h3 {
    color: #ff6b35;
    margin-bottom: 15px;
    font-size: 24px;
}

.warning-content p {
    color: #e0e0e0;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.warning-btn {
    background-color: #ff6b35;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.warning-btn:hover {
    background-color: #e55a2b;
}

.product-card h4 {
    margin: 8px 0;
    font-size: 18px;
}
.product-card .price {
    font-weight: 10;
    margin-bottom: 8px;
    color: #000;
}
.product-card button {
    /* background: #ff6b35; */
    /* border: none; */
    color: #000;
    border: 2px solid #000;
    padding: 8px 16px;
    cursor: pointer;
}
.product-card button:hover {
    background: #ff6b35;
    color: #fff;
    border-color: #ff6b35;
}

@media (max-width: 600px) {
    .products-toolbar {
        flex-direction: column;
        gap: 12px;
    }
    .products-toolbar .search-sort {
        width: 100%;
        justify-content: center;
    }
}

/* Icons for modal buttons */
.modal-btn .icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 20px;
    text-align: center;
    margin-right: 10px;
    border-radius: 50%;
    font-weight: 700;
}

.modal-yes .icon {
    background-color: #28a745;
    color: #fff;
    border: 2px solid #28a745;
}

.modal-no .icon {
    background-color: #c0392b;
    color: #fff;
    border: 2px solid #c0392b;
}

/* responsive product detail modal */
@media (max-width: 968px) {
    .detail-content {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        padding: 16px;
    }
    .detail-image-container {
        margin-left: 0;
        margin-top: 20px;
    }
    #detailImage {
        width: 80%;
        height: auto;
        margin-left: 10%;
    
    }
    .detail-actions {
        text-align: center;
    }
    .detail-actions .detail-meta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .slide-btn.prev {
        top: 50%; left: 10%; 
    }
    .slide-btn.next {
        top: 50%; right: 10%;
    }
    .quantity {
        justify-content: center;
        color: #000;
    }
    .gallery-thumbnails{
        align-items: center;

    }
}

/* Cart Modal Responsive Styles */
@media (max-width: 768px) {
    .cart-content {
        width: 95%;
        height: 90vh;
        max-width: none;
        padding: 16px;
        border-radius: 8px;
    }

    .cart-items .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 16px;
    }

    .cart-items .cart-item .item-left {
        width: 100%;
    }

    .cart-item img {
        width: 60px;
        height: 60px;
        margin-right: 12px;
    }

    .cart-item .item-details h4 {
        font-size: 16px;
    }

    .cart-item .item-price {
        align-self: flex-end;
        margin-top: -8px;
    }

    .cart-item .item-qty {
        margin-top: 8px;
    }

    .order-summary {
        margin-top: 20px;
    }

    .btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        margin-top: 12px;
    }
    .content-wrap {
        margin-left: 10%;
        padding: 0 16px;
        
    }
    .lead{
        font-size: 16px;
    }
    .page-content{
        padding: 40px 0;
        font-size: 14px;
    }
    .large-cta{
        width: 100%;
        margin-left: 25px;
    }
    .logo-img{
    height: 30px;
    width: auto;
    object-fit: contain;
    margin-left: 30px;
    width: 250px;
    height: 30px;   
    }

}
@media (max-width: 640px) {
    .logo-img{
    /* height: 45px;
    width: auto; */
    object-fit: contain;
    margin-left: 30px;
    width: 200px;
    height: 30px;
}
    .large-cta{
        width: 100%;
        margin-left: 25px;
        align-self: center;
    }
    .page-content{
        margin-right: 20px;
        font-size: 14px;
    }
}

@media (max-width: 860px) {
    .cart-content {
        width: 80%;
        height: 85vh;
        padding: 12px;
    }

    .cart-close {
        top: 8px;
        right: 8px;
        font-size: 20px;
    }

    .cart-item img {
        width: 50px;
        height: 50px;
    }

    .cart-item .item-details h4 {
        font-size: 14px;
    }

    .cart-item .item-qty button {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .large-cta{
        width: 80%;
        margin-left: 30px;
    }
}

/* Strong overrides for very small screens to keep header items vertically aligned */
@media (max-width: 420px) {
    .large-cta{
        width: 80%;
        margin-left: 25px;
    }
    .header .container-fluid {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 6px 12px !important;
    }
    .header .logo { flex: 0 0 auto; }
    .header .social-icons { flex: 1 1 auto; justify-content: center !important; margin: 0 !important; }
    .header .hamburger { flex: 0 0 auto; margin-right: 30px !important; }
    .logo-img { margin: 0 !important; width: 200px !important; max-width: 55% !important; height: auto !important; margin-left: 30px; }
    .social-icon-img { width: 30px !important; height: 30px !important; }
  
}

@media (max-width: 400px){
    .large-cta{
        width: 100%;
        margin-left: 30px;
    }
    .page-content{
        margin-right: 20px;
        font-size: 14px;
    }

}
@media (max-width: 375px){
    .header .container-fluid {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 6px 12px !important;
    }
    .header .logo { flex: 0 0 auto; }
    .header .social-icons { flex: 1 1 auto; justify-content: center !important; margin: 0 !important; }
    .header .hamburger { flex: 0 0 auto; margin-right: 45px !important; }
    .logo-img { margin: 0 !important; width: 200px !important; max-width: 55% !important; height: auto !important; margin-left: 30px; }
    .social-icon-img { width: 30px !important; height: 30px !important; }
    .large-cta{
        width: 100%;
        margin-left: 30px;
    }
    .page-content{
        margin-right: 20px;
        font-size: 14px;
    }
}
@media (max-width: 457px){
    .large-cta{
        width: 80%;
        margin-left: 25px;
      } 
      .products-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
@media (max-width: 820px){
    .products-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .large-cta{
        width: 80%;
        max-width: 700px;
       
        
    }
    .page-content{
        margin-left: 30px;
        font-size: 14px;
    }
}
    
