@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 140px;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #333;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 20px;
}

nav {
    flex: 1;
    text-align: right;
}

nav ul {
    display: inline-block;
    list-style-type: none;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
}

a {
    text-decoration: none;
    color: #555;
}

p {
    color: #555;
}

.menu-icon {
    display: none;
}

.container {
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.row,
.row2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
}

.col-2 {
    flex-basis: 50%;
    min-width: 300px;
}

.col-2 h1 {
    font-size: 50px;
    line-height: 50px;
    margin: 25px 0;
}

.btn {
    display: inline-block;
    background: #ff5235;
    color: #fff;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    transition: background 0.5s;
}

.btn:hover {
    background: #563434;
}

.header {
    background: radial-gradient(#fff, #f3e3e0);
}

.header .row {
    margin-top: -20px;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.site-header .navbar {
    padding: 22px 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-bar {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 60px;
    padding: 14px 20px;
}

.search-bar i {
    color: #ff523b;
    font-size: 18px;
}

.search-bar input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    color: #333;
}

.category-list {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    text-decoration: none;
    color: #333;
    flex: 1 1 180px;
    min-width: 180px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.close-icon {
    display: none;
}

.category-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 12px;
}

.category-item:hover,
.category-item.active {
    border-color: #ff523b;
    transform: translateY(-2px);
}

.hero {
    padding: 70px 0 40px;
    background: radial-gradient(circle at top right, #fff7f0, #ffffff 55%);
}

.hero-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: center;
}

.hero-copy {
    max-width: 540px;
}

.category-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ececec;
    color: #ff523b;
    font-size: 18px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    text-decoration: none;
    color: #333;
    min-width: 180px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-item span:last-child {
    font-weight: 600;
    font-size: 14px;
}

.category-item:hover,
.category-item.active {
    border-color: #ff523b;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.deal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}

.hero-visual img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.section {
    padding: 50px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 34px;
    gap: 16px;
}

.section-heading h2 {
    margin: 0;
    font-size: 30px;
    color: #222;
}

.view-all {
    color: #ff523b;
    text-decoration: none;
    font-weight: 600;
}

.grid {
    display: grid;
    gap: 24px;
}

.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.deal-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover,
.deal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-card img,
.deal-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.product-info,
.deal-copy {
    padding: 22px;
}

.product-info h3,
.deal-copy h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #222;
}

.price,
.deal-price {
    margin: 0;
    font-size: 18px;
    color: #ff523b;
    font-weight: 700;
}

.deal-price small {
    color: #888;
    font-size: 14px;
    font-weight: 500;
    margin-left: 12px;
}

.rating-text {
    margin-top: 10px;
    color: #777;
    font-size: 14px;
}

.deal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.deal-card {
    position: relative;
}

.deal-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ff523b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
    z-index: 1;
}

.deal-card img {
    height: 260px;
    object-fit: cover;
}

.text-link {
    color: #555;
    text-decoration: none;
    font-weight: 600;
}

.text-link:hover {
    color: #ff523b;
}

.categories {
    margin: 70px 0;
}

.col-3 {
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}

.col-3 img {
    width: 100%;
}

.small-container {
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

/*---------------------------------------------------- Features Products -----------------------------------------------------------*/

.col-4 {
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transition: transform 0.5s;
}

.col-4 img {
    width: 100%;
}

.title {
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    line-height: 60px;
    color: #555;
}

.title::after {
    content: '';
    background: #ff523b;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

h4 {
    color: #555;
    font-weight: normal;
}

.col-4 p {
    font-size: 14px;
}

.rating .fa {
    color: #ff523b;
}

.col-4:hover {
    transform: translateY(-5px);
}


/* -------------------------------------------------------Brands--------------------------------------------------------- */

.brands {
    margin: 100px auto;
}

.col-5 {
    width: 160px;
}

.col-5 img {
    width: 100%;
    cursor: pointer;
    filter: grayscale(100%);
}

.col-5 img:hover {
    filter: grayscale(0);
}

/*------------------------ ----------------------------footer----------------------------------------------------- */

.footer {
    background: #000;
    color: #8a8a8a;
    font-size: 14px;
    padding: 20px 0 10px;
}

.footer p {
    color: #8a8a8a;
}

.footer h3 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col-1,
.footer-col-2,
.footer-col-3,
.footer-col-4 {
    min-width: 50px;
    margin-bottom: 20px;
}

.footer-col-1 {
    flex-basis: 20%;
}

.footer-col-2 {
    flex-basis: 1;
    text-align: center;
}

.footer-col-2 img {
    width: 100px;
    margin-bottom: 20px;
}

.footer-col-3,
.footer-col-4 {
    flex-basis: 12%;
    text-align: center;
}

ul {
    list-style-type: none;
}

.app-logo {
    margin-top: 10px;
}

.app-logo img {
    width: 120px;
}

.footer hr {
    border: none;
    background: #b5b5b5;
    height: 1px;
    margin: 20px 0;
}

.copyright {
    text-align: center;
}

/* --------------------------------------------------Cart & Checkout---------------------------------------- */
.cart-link {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.cart-link img {
    width: 28px;
    height: 28px;
}

.cart-link.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
}

.cart-link #cart-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff4d4f;
    color: #fff;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.add-to-cart-btn {
    margin-top: 10px;
    border: none;
    background: #ff523b;
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
}

.add-to-cart-btn:hover {
    background: #563434;
}

.feedback-msg {
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.25s ease;
    color: #2e7d32;
    font-weight: 600;
    margin-top: 6px;
    min-height: 20px;
}

.feedback-msg.show {
    opacity: 1;
    transform: translateY(0);
}

.mini-cart {
    max-width: 1080px;
    margin: 10px auto 0;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    display: none;
}

.mini-cart-header {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.mini-cart-item,
.mini-cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
}

.mini-cart-empty {
    color: #777;
    font-size: 13px;
    margin: 0;
}

.mini-cart-btn {
    margin: 10px 0 0;
    padding: 8px 14px;
}

.cart-page,
.checkout-page {
    padding: 50px 0 80px;
}

.cart-layout {
    display: none;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

#cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item,
.summary-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.cart-item-info p {
    margin: 4px 0 0;
    font-size: 13px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

qty-btn,
.remove-btn {
    border: none;
    background: #f2f2f2;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.remove-btn {
    background: #ff523b;
    color: #fff;
}

.empty-state {
    text-align: center;
    padding: 40px 0;
}

.summary-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
}

.total-row {
    font-weight: 700;
    color: #000;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.checkout-wrap {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 30px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #333;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.checkout-message {
    color: #2e7d32;
    font-weight: 600;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

/* ----------------------------------Order Confirmation ------------------------------------*/
.order-confirmation {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.confirmation-header {
    margin-bottom: 30px;
}

.checkmark-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #4caf50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.confirmation-header h2 {
    font-size: 28px;
    color: #333;
    margin: 15px 0;
}

.confirmation-header p {
    color: #666;
    font-size: 16px;
}

.confirmation-details {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span {
    font-weight: 500;
}

.detail-row strong {
    color: #2e7d32;
    font-weight: 600;
}

.confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-secondary {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    padding: 8px 30px;
    border-radius: 30px;
    text-decoration: none;
    border: 1px solid #ddd;
    transition: background 0.3s;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #e0e0e0;
}


/* --------------------------------single product details ------------------------- */

.page-btn {
    margin: 0 auto 30px;
}

.page-btn span {
    display: inline-block;
    border: 1px solid #ff523b;
    margin-left: 10px;
    margin-top: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 25px;
    cursor: pointer;
}

.page-btn span:hover {
    background: #ff523b;
    color: #fff;
}

.single-product {
    margin-top: 50px;
}

.single-product .col-2 img {
    padding: 0;
}

.single-product .col-2 {
    padding: 0;
}

.single-product h4 {
    margin: 10px 0;
    font-size: 20px;
    font-weight: bold;
}

.single-product select {
    display: block;
    padding: 10px;
    margin-top: 10px;
}

.single-product input {
    width: 50px;
    height: 20px;
    padding-left: 10px;
    font-size: 20px;
    margin-right: 10px;
    border: 1px solid #ff523b;
}

.single-product input:focus {
    outline: none;
}

.single-product .fa {
    color: #ff523b;
    margin-left: 10px;
}



/* ------------------ Modern Single Product Details ------------------ */
.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
    margin: 25px 0 20px;
    flex-wrap: wrap;
    font-style: normal;
}

.product-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-breadcrumb a:hover {
    color: #ff523b;
}

.product-breadcrumb .current {
    color: #222;
    font-weight: 600;
}

.single-product-wrap {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    padding: 35px 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.product-gallery-side {
    position: relative;
}

.product-hero-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff523b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    z-index: 2;
    font-style: normal;
}

.product-main-img-wrap {
    width: 100%;
    max-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fbfbfb;
    border: 1px solid #f0f0f0;
    border-radius: 18px;
    overflow: hidden;
    padding: 20px;
    margin-bottom: 16px;
}

#ProductImg {
    max-width: 100%;
    max-height: 380px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.col-2 .small-img-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 12px;
    margin-bottom: 16px;
    padding: 6px 4px 10px;
    overflow-x: auto;
}

.small-img-col {
    flex: 0 0 auto;
}

.small-img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid #e8e8e8;
    background: #fbfbfb;
    transition: all 0.25s ease;
}

.small-img:hover {
    transform: translateY(-2px);
    border-color: #ff523b;
}

.small-img.active {
    border-color: #ff523b;
    box-shadow: 0 0 0 3px rgba(255, 82, 59, 0.25);
    transform: scale(1.04);
}

.product-info-side {
    padding-left: 20px;
}

.product-category-tag {
    display: inline-block;
    background: rgba(255, 82, 59, 0.1);
    color: #ff523b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-style: normal;
}

.product-details-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.25;
    font-style: normal;
}

.product-price-box {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    font-style: normal;
}

.product-details-price {
    font-size: 26px;
    font-weight: 700;
    color: #ff523b;
    margin: 0;
}

.product-details-old-price {
    font-size: 17px;
    color: #999;
    text-decoration: line-through;
}

.product-discount-badge {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.product-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
    font-style: normal;
    font-size: 13px;
}

.product-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.product-stock-pill.in-stock {
    color: #10b981;
}

.product-stock-pill.low-stock {
    color: #f59e0b;
}

.product-stock-pill.out-stock {
    color: #f43f5e;
}

.product-rating-stars {
    color: #ffb800;
}

.product-rating-stars span {
    color: #666;
    margin-left: 6px;
    font-weight: 500;
}

.product-qty-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
    font-style: normal;
}

.qty-picker {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e0e0e0;
    border-radius: 30px;
    overflow: hidden;
    background: #fafafa;
}

.qty-btn-control {
    background: transparent;
    border: none;
    width: 38px;
    height: 38px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.qty-btn-control:hover {
    background: #e8e8e8;
}

.qty-input-field {
    width: 44px;
    height: 38px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    outline: none;
}

.product-action-btns {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    font-style: normal;
}

.btn-add-cart-main {
    background: #ff523b;
    color: #fff;
    border: none;
    padding: 13px 30px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 82, 59, 0.35);
}

.btn-add-cart-main:hover {
    background: #563434;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 82, 59, 0.45);
}

.btn-whatsapp-order {
    background: #25D366;
    color: #fff;
    border: none;
    padding: 13px 26px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-order:hover {
    background: #128C7E;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.product-desc-box {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.product-desc-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-style: normal;
}

.product-desc-box p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    font-style: normal;
}

.product-perks-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.perk-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-style: normal;
}

.perk-card i {
    font-size: 20px;
    color: #ff523b;
}

.perk-card strong {
    font-size: 12px;
    color: #222;
    display: block;
}

.perk-card span {
    font-size: 10px;
    color: #777;
}

.cart-link.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.scroll-top-btn {
    position: fixed;
    right: 1rem;
    bottom: 1.2rem;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-65px);
}


@media only screen and (max-width: 600px) {

    .menu-icon {
        display: block;
        cursor: pointer;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 280px;
        max-width: 90%;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        padding: 70px 22px 22px;
        background: #fff;
        box-shadow: -18px 0 45px rgba(0, 0, 0, 0.12);
        z-index: 1002;
    }

    body.menu-open nav {
        transform: translateX(0);
    }

    nav ul {
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    nav ul li {
        display: block;
        margin: 0;
        padding: 14px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        color: #333;
        display: block;
        font-weight: 600;
    }

    .close-icon {
        position: absolute;
        top: 22px;
        right: 18px;
        font-size: 20px;
        color: #333;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        z-index: 1001;
    }

    body.menu-open .nav-overlay {
        opacity: 1;
        visibility: visible;
    }

    .navbar {
        justify-content: space-between;
    }

    .menu-icon {
        display: block;
        width: 24px;
        height: 24px;
        cursor: pointer;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-bar input {
        width: 100%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-inner {
        display: flex;
    }

    .hero-copy {
        justify-content: center;
        align-items: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .text-link {
        margin-top: 12px;
        display: inline-block;
    }

    .category-list {
        gap: 1px;
    }

    .col-2,
    .col-3,
    .col-4 {
        flex-basis: 100%;
    }

    .footer-col-1,
    .footer-col-2,
    .footer-col-3,
    .footer-col-4 {
        flex-basis: 100%;
    }

    .cart-layout,
    .checkout-wrap {
        grid-template-columns: 1fr;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .confirmation-actions a {
        width: 100%;
        text-align: center;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .col-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .deal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card img,
    .deal-card img {
        height: 140px;
        object-fit: cover;
    }

    .product-info,
    .deal-copy {
        padding: 12px;
    }

    .category-item {
        display: flex;
        align-items: center;
        gap: 1px;
        padding: 0;
        background: #fff;
        border: 1px solid #ececec;
        border-radius: 14px;
        text-decoration: none;
        color: #333;
        flex: 1 1 180px;
        width: 10px;
        transition: transform 0.3s ease, border-color 0.3s ease;
    }

    .price,
    .deal-price {
        font-size: 15px;
        color: #ff523b;
        font-weight: 700;
    }

    .deal-price small {
        color: #888;
        font-size: 10px;
        font-weight: 500;
    }

    .rating-text {
        color: #777;
        font-size: 8px;
    }

    .product-info h3,
    .deal-copy h3 {
        font-size: 14px;
        color: #222;
    }

    .section {
        padding: 50px 0;
    }

    .section-heading {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 34px;
        gap: 16px;
    }

    .section-heading h2 {
        font-size: 20px;
        color: #222;
    }

    .view-all {
        color: #ff523b;
        text-decoration: none;
        font-weight: 300;
    }

    .grid {
        display: grid;
        gap: 12px;
    }

    .brands {
        margin: 10px auto;
    }

    .col-5 {
        width: 80px;
    }

    .close-icon {
        display: inline-flex;
    }

    /*-------------------- product details----------------------------- */

    .small-container {
        padding: 20px 12px;
    }

    .small-container .col-2 .small-img-row {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 10px;
        margin-top: 12px;
    }

    #ProductImg {
        width: 100%;
        object-fit: contain;
        display: flex;
        margin: 0 auto;
        margin-bottom: .25rem;
    }

    .small-img-row {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: nowrap;
        margin-top: 0.5rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .small-img-col {
        flex: 0 0 auto;
    }

    .small-img {
        width: 72px;
        height: 72px;
        border-radius: 12px;
        cursor: pointer;
        border: 2px solid transparent;
        transition: transform 0.2s ease, border-color 0.2s ease;
    }

    .small-img:hover,
    .small-img:focus {
        transform: scale(1.03);
        border-color: #222;
    }

    .single-product .row {
        text-align: left;
    }

    .single-product {
        padding: 20px 0;
    }

    .col-2 {
        padding-bottom: -10px;
    }

    .single-product h1 {
        font-size: 15px;
        line-height: 18px;
    }

    .small-img {
        width: 60px;
        height: 60px;
    }

    .scroll-top-btn {
        display: flex;
    }



    .scroll-top-btn {
        display: none;
    }

    .col-2 {
        flex: 1 1 100%;
    }

    .small-img-row {
        gap: 0.75rem;
    }

    .small-img {
        width: 60px;
        height: 60px;
    }

    .scroll-top-btn {
        display: flex;
    }

    .small-img-row {
        gap: 0.75rem;
    }

    .small-img-row .small-img {
        width: 56px;
        height: 56px;
    }

    .row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

}

/* ==========================================================================
   Testimonial / Customer Reviews Section
   ========================================================================== */
.testimonial-section {
    padding: 60px 0 40px;
    background: radial-gradient(circle at center, #ffffff 0%, #fcfbfb 100%);
}

.section-subtitle {
    text-align: center;
    color: #777;
    font-size: 15px;
    margin-top: -60px;
    margin-bottom: 50px;
    font-style: normal;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 30px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 20px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    font-style: normal;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(255, 82, 59, 0.08);
    border-color: rgba(255, 82, 59, 0.3);
}

.testimonial-quote-icon {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 32px;
    color: rgba(255, 82, 59, 0.12);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff523b;
    background: #f0f0f0;
    flex-shrink: 0;
}

.testimonial-user-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.testimonial-user-info span {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.testimonial-verified-badge {
    color: #10b981;
    font-weight: 600;
    font-size: 11px;
}

.testimonial-stars {
    color: #ffb800;
    font-size: 13px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: #555;
    flex: 1;
}

/* ==========================================================================
   Frequently Asked Questions (FAQ) Accordion Section
   ========================================================================== */
.faq-section {
    padding: 50px 0 80px;
}

.faq-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1.5px solid #ececec;
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    font-style: normal;
}

.faq-item:hover {
    border-color: #ddd;
}

.faq-item.active {
    border-color: #ff523b;
    box-shadow: 0 8px 24px rgba(255, 82, 59, 0.07);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    background: transparent;
    user-select: none;
}

.faq-question h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    transition: color 0.25s ease;
}

.faq-item.active .faq-question h3 {
    color: #ff523b;
}

.faq-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.active .faq-icon-wrap {
    background: #ff523b;
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    opacity: 1;
    padding: 0 24px 22px;
}

.faq-answer p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: #555;
}

/* FAQ & Testimonials Responsive Queries */
@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 16px 18px;
    }

    .faq-question h3 {
        font-size: 14.5px;
    }

    .faq-item.active .faq-answer {
        padding: 0 18px 18px;
    }

    .faq-answer p {
        font-size: 13.5px;
    }

    /* Single Product Mobile Improvements */
    .single-product-wrap {
        padding: 18px 14px;
        border-radius: 16px;
        margin-bottom: 24px;
    }

    .product-info-side {
        padding-left: 0;
        margin-top: 16px;
    }

    .product-details-title {
        font-size: 21px;
        line-height: 1.3;
    }

    .product-details-price {
        font-size: 22px;
    }

    .product-perks-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .product-action-btns {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn-add-cart-main,
    .btn-whatsapp-order {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 12px 20px;
    }

    .section-heading {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        margin-bottom: 16px;
    }

    .section-heading h2 {
        font-size: 18px;
        margin: 0;
    }
}