* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Abel", sans-serif;
    font-style: normal;
    scroll-behavior: smooth;
}

body {
    font-weight: 400;
}

body.menu-open {
    overflow: hidden;
}

html.menu-open {
    overflow: hidden;
}

html {
    font-size: 16px;
    /* 1rem = 16px */
}

a {
    color: black;
    text-decoration: none;
}

/* Global focus-visible for keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--buttonColor);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

.col {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
}

body {
    --primaryColor: #fff;
    --secondaryColor: #f5f5f5;
    --buttonColor: #fce477;

    --mainHeadingSize: 3.5rem;
    /* 56px */
    --subHeadingSize: 2rem;
    /* 24px */
    --minTextSize: 1.125rem;
    /* 18px */
    --minSubHeadingSize: 1rem;
    /* 16px */
}

h1 {
    font-size: var(--mainHeadingSize);
}

h2 {
    font-size: var(--subHeadingSize);
}

h3 {
    font-size: var(--subHeadingSize);
}

.downIcon {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.downIcon::before {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 1px solid;
    border-right: 1px solid;
    position: absolute;
    transform: rotate(135deg);
}

p,
span {
    font-size: var(--minTextSize);
    color: #121212bf;
    line-height: 1.6;
}

.yellow-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    padding: 0 3rem;
    cursor: pointer;
    font: inherit;
    font-size: 1.3rem;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--buttonColor);
    height: 50px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    border-radius: 4px;
}

.yellow-btn:hover {
    background-color: #f5d94e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.yellow-btn:focus-visible {
    outline: 2px solid #333;
    outline-offset: 2px;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.cartIcon {
    position: relative;
}

.item-cart {
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: var(--buttonColor);
    font-size: 0.75rem;
    /* 12px */
    text-align: center;
    border-radius: 50%;
    top: -13px;
    left: 4px;
}

.search-container form {
    flex-wrap: nowrap;
}

ul.menu a {
    color: #fff;
}

header {
    border-bottom: 1px solid #ececec;
    background-color: #000000;
    position: sticky;
    z-index: 9999;
    width: 100%;
    top: 0;
}

ul.menu .category a {
    color: #000;
}

.cartIcon i.fa-solid.fa-cart-shopping,
.menu-icon i.fa-solid.fa-bars {
    color: #fff;
}

.checkout .cart-item-details .cart-item-quantity {
    position: absolute;
    width: 30px;
    text-align: center;
    background: var(--buttonColor);
    border-radius: 50%;
    top: 5px;
    left: 5px;
    display: flex;
    justify-content: center;
    height: 30px;
    align-items: center;
}

.header-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

.menu-icon {
    display: none;
}


.email-box>form {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
}

.search-container {
    margin:0 auto;
}

.left-header {
    display: flex;
    align-items: center;
    column-gap: 30px;
    flex: 1;
    justify-content: space-between;
    padding-right: 20px;
}

ul.menu {
    display: flex;
    align-items: center;
    column-gap: 20px;
    font-size: 1.125rem;
    /* 18px */
}

ul.menu li:hover {
    text-decoration: underline;
}

.right-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-row a.yellow-btn {
    padding: 8px 16px;
    height: auto;
    font-size: 1rem;
}

.active+.category {
    display: flex;
}

p.breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 0.875rem;
    flex-wrap: wrap;
    color: #666;
    margin-bottom: 1rem;
}

p.breadcrumb>a {
    font-weight: bold;
    color: #333;
    text-decoration: underline;
}

p.breadcrumb>a:hover {
    color: #000;
}

.category a:hover {
    transform: translateY(-2px);
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-list a {
    flex: 0 0 200px;
    padding: 8px 16px;
    color: #333;
    transition: all 0.2s ease;
}

.category-list a:hover {
    background: #f8f8f8;
    border-radius: 4px;
}

/* Category dropdown header */
.column-header {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-bottom: 1px solid #eee;
    width: 100%;
    margin-bottom: 8px;
}

.category li {
    width: 24%;
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid #e7e7e7;
}

.category li img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.user-profile {
    border: none;
    background-color: var(--buttonColor);
    width: 44px;
    height: 44px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-profile img {
    min-width: 32px;
    min-height: 32px;
    object-fit: cover;
    border-radius: 50%;
}
.profile-list {
    position: absolute;
    right: 16px;
    top: calc(58px + 0px);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    z-index: 9999;
    background-color: #fff;
    display: none;
}


.profile-list::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    background-color: #fff;
    right: 10px;
    top: -4px;
    z-index: -1;
    box-shadow: -1px -1px 2px rgba(0, 0, 0, 0.1);
}

.profile-list li {
    padding: 4px 8px;
    cursor: pointer;
    background-color: #fff;
}

.profile-list li:hover {
    background-color: var(--buttonColor);
    transition: 0.3s ease-in-out;
}

.profile-list.active {
    display: flex;
    flex-direction: column;
}

.left-header input[type=text] {
    padding: 4px;
    font-size: 0.9375rem;
    /* 15px */
    border: none;
    border: 1px solid var(--buttonColor);
    width: 220px;
    max-width: 100%;
    border-radius: 4px 0 0 4px;
    flex: 1;
    min-width: 120px;
}

.left-header .search-container button {
    padding: 6px;
    background: var(--buttonColor);
    font-size: 1.0625rem;
    /* 17px */
    border: none;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    border-radius: 0 4px 4px 0;
}

.search-container form {
    gap: 0;
    display: flex;
}

/* Banner */
.banner {
    position: relative;
}

.banner img {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
}

/* Product Info */
.star img {
    width: 12px;
}

.banner .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

section.item {
    padding: 3rem 0;
    background: #f9f9f9;
}

.item-info>h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.item-info>h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

section.item .price {
    font-size: 1.25rem;
    /* 20px */
    margin: 1rem 0;
}

section.item .price s {
    color: #999;
    margin-right: 8px;
    font-weight: normal;
}

.qnty {
    font-size: 0.875rem;
    color: #666;
    margin: 0.5rem 0;
}

.item .counter {
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

a.white-btn,
a.purple-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    height: 50px;
    font-size: 1.2rem;
    border-radius: 4px;
    cursor: pointer;
}

a.purple-btn {
    background-color: #5a31f4;
    margin-top: 0;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    transition: background-color 0.2s ease;
}

a.purple-btn:hover {
    background-color: #4a27cc;
}

/* Share Button Styles */
.btn-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-top: 1rem;
}

.share-button-container {
    position: relative;
    display: inline-block;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 16px;
    font-size: 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 0;
    min-width: 120px;
    border: 1px solid #5a31f4;
    color: #5a31f4;
}

.share-btn:hover {
    background-color: #5a31f4;
    color: #fff;
}

.share-btn:focus-visible {
    outline: 2px solid #5a31f4;
    outline-offset: 2px;
}


.share-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    min-width: 180px;
    margin-top: 2px;
}

.share-dropdown.show {
    display: block;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.share-option:last-child {
    border-bottom: none;
}

.share-option:hover {
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
}

.share-option i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.share-option span {
    font-size: 14px;
}

a.payment-option {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    text-decoration: underline;
}

.share-item {
    margin: 1.5rem 0;
    display: block;
}

.star {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

a.product-info img {
    width: 12px;
}

.col-row {
    display: flex;
    justify-content: space-between;
}

.item-info {
    width: 44%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.item-img img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

/* Talk */
.left-content {
    width: 40%;
}

.left-content p {
    margin: 1.5rem 0;
}

.right-img {
    width: 40%;
}

.right-img img {
    width: 80%;
}

/* work */
section.collection {
    padding: 0 2rem;
}

section.collection h2 {
    margin-bottom: 1.5rem;
}

.list-item {
    display: flex;
    flex-direction: column;
    width: 23%;
    padding: 12px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 4px;
}

.list-item .size {
    display: flex;
    gap: 2px;
    align-items: center;
    margin: 0.5rem 0;
}

.list-item .size>p {
    font-size: 1rem;
    /* 16px */
    border: 1px solid #e5e5e5;
    padding: 5px;
    width: fit-content;
    height: 28px;
    line-height: 1;
    text-align: center;
}

.list-item img {
    width: 100%;
    aspect-ratio: 3/4;
}

.list-item h3 {
    margin: .5rem 0;
    font-size: 1.375rem;
    /* 22px */
}

.list-item .on-sale {
    background: white;
    position: absolute;
    bottom: 100%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 6px;
    border-radius: 4px;
    background: #fce477;
    right: -14px;
    font-size: 1.6875rem;
    /* 27px */
    width: 65px;
}

.list-item .sold-out {
    background-color: #f5f5f5;
}

.list-item .on-sale p {
    line-height: 1;
}

.list-content {
    position: relative;
}

.collection .list {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    row-gap: 25px;
    justify-content: flex-start;
}

.collection .yellow-btn {
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
}



/* bio */
section.get-bio {
    padding: 3rem;
    text-align: center;
}

.get-bio .email-box {
    -webkit-appearance: none;
    appearance: none;
    background-color: #ffffff;
    color: #000;
    box-sizing: border-box;
    border-radius: 4px;
    position: relative;
    width: 390px;
    max-width: 100%;
    border: 1px solid #000;
    padding: 1rem;
    display: flex;
    align-items: center;
    margin: 0 auto;
    margin-top: 1.5rem;
}

.email-box input {
    outline: none;
    border: none;
    width: 100%;
    font-size: 1.3rem;
}

.email-box img {
    width: 20px;
    margin-left: auto;
}

section.get-bio p {
    margin-top: 1.5rem;
}

/* product */
.product {
    padding: 3rem 0;
}

.filter {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    align-items: center;
    margin-bottom: 1rem;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-bottom: 1.5rem;
    gap: 2rem;
    width: 100%;
}

.product-item {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px;
    border-radius: 8px;
    padding: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.product-item {
    text-decoration: none;
    color: inherit;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px;
}

.product-item .product-img {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    transition: 0.3s ease;
    margin-bottom: 12px;
    position: relative;
    aspect-ratio: 3/4;
}



.product-item .product-img img {
    display: block;
    max-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: 0.5s ease-in-out;
    aspect-ratio: 3/4;
}

.product-item .product-img img:first-child {
    opacity: 1;
}

.product-item .product-img img:last-child {
    opacity: 0;
}

.product-item:hover .product-img img:first-child {
    opacity: 0;
}

.product-item:hover .product-img img:last-child {
    opacity: 1;
}

/* Disable hover image swap on touch devices to prevent double-tap */
@media (hover: none) {
    .product-item:hover {
        transform: none;
        box-shadow: none;
    }

    .product-item:hover .product-img img:first-child {
        opacity: 1;
    }

    .product-item:hover .product-img img:last-child {
        opacity: 0;
    }
}

/* Removed double transform — card already lifts on hover */

.product-item h4 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.product-item:hover h4 {
    text-decoration: underline;
}

.dropdown button {
    background-color: transparent;
    font-size: 1rem;
    outline: none;
    border: none;
    color: #121212bf;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.dropdown button img {
    width: 18px;
    margin-left: auto;
}

.dropdown {
    position: relative;
}

.dropdown-list {
    position: absolute;
    width: 100%;
    left: 0;
    top: calc(100% + 0px);
    background-color: #fff;
    padding: 6px;
    display: none;
}

.dropdown-list li {
    padding: 6px;
}

.dropdown-list li:hover {
    background-color: #f5f5f5;
}

/* about */
section.about {
    padding: 2rem;
}

.about .col-row {
    margin-top: 2.5rem;
    align-items: center;
}

.right-content {
    width: 45%;
}

.right-content p {
    margin: 1.5rem 0;

}

.left-img {
    width: 52%;
}

.left-img img {
    width: 100%;
}

.about .container:first-child {
    max-width: 800px;
    width: 100%;
}

/* Contact */
section.contact {
    padding: 3rem 0;
}

.contact h1 {
    margin-bottom: 1.5rem;
}

form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;

}

.field-input {
    appearance: none;
    font-size: 1rem;
    width: 48.5%;
    border-radius: 4px;
    position: relative;
    border: 0;
    border: 1px solid #000;
    padding: 16px;
}

.w-100 {
    width: 100%;
}

textarea.w-100.text-area.field-input {
    min-height: 6rem;
    resize: none;
}

form .yellow-btn {
    margin-top: 1rem;
}

.contact .container {
    max-width: 800px;
    padding: 2rem;
}

/* footer */
footer {
    padding: 3rem 0;

}

footer .socials {
    padding: 3rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    gap: 10px;
}

footer .socials i {
    font-size: 1.75rem;
    /* 28px */
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

footer .socials img {
    width: 24px;
    height: 24px;
}

.list-payment {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.footer__copyright.caption {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

ul.list.list-payment img {
    width: 40px;
}

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

/* Cart */

.cart {
    padding: 3rem 0;
}

.cart-item-info {
    padding-left: 20px;
}

.cart-info {
    display: flex;
    margin-bottom: 1.5rem;
}

.cart h1 {
    margin-bottom: 1.5rem;
}

.cart-info .cart-product {
    width: 60%;
}

.cart-info .cart-product,
span.cart-Quantity,
span.cart-Total {
    font-size: 1.125rem;
    /* 18px */
}

span.cart-Quantity,
span.cart-Total {
    width: 20%;
}

span.cart-Total {
    text-align: right;
}

.cart-item-price p,
span.cart-Total {
    color: #121212;
    font-size: 1.125rem;
    /* 18px */
}

.cart-list {
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    row-gap: 1.5rem;

}

.item.cart .col-row {
    flex-direction: row-reverse;
}

section.item.cart .row {
    justify-content: space-between;
    align-items: center;
}

.item-product {
    display: flex;
    width: 60%;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 6px;
    /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
    outline: 1px solid #f5f5f5;
}

.cart-item-img img {
    display: block;
    height: 110px;
    width: 110px;
    object-fit: contain;
}

.cart-item-quantity {
    width: 38%;
}

h4.cart-item-name {
    font-size: 1.4rem;
}

p.cart-item-price {
    font-size: 1rem;
}

.payment {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 1.5rem;
}

.total-price h3 {
    font-size: 1.375rem;
    /* 22px */
    font-weight: bold;
}

.total-price p {
    font-size: 1.125rem;
    /* 18px */
}

.total-price {
    display: flex;
    gap: 22px;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.payment .yellow-btn {
    min-width: 398px;
    max-width: 100%;
    margin-top: 1rem;
}

.total-price+p {
    font-size: 0.875rem;
    /* 14px */
}

.cart-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-heading a {
    text-decoration: underline;
}

/* Counter */
.counter {
    display: flex;
    align-items: center;
    border: 1px solid #000;
    border-radius: 8px;
    width: 150px;
    justify-content: space-between;
    padding: 5px 15px;
    height: 50px;
}

.counter button {
    background: none;
    border: none;
    cursor: pointer;
    width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.counter button img {
    width: 16px;
    height: 16px;
}

.counter button:hover {
    background-color: #f0f0f0;
}

.counter button:focus-visible {
    outline: 2px solid var(--buttonColor);
    outline-offset: 2px;
    border-radius: 4px;
}

.counter input {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 1.125rem;
    /* 18px */
}

/* details page */
.item.details .col-row {
    justify-content: space-between;
    gap: 60px;
    align-items: flex-start;
    padding: 10px 0;
}

.item.details .size {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-wrap: wrap;
}

.item.details .size span {
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.item.details .size span strong {
    color: #333;
    font-weight: 600;
    min-width: 80px;
    display: inline-block;
}

.item.details .size p {
    width: fit-content;
    height: 28px;
    text-align: center;
    padding: 4px;
    border: 1px solid #e5e5e5;
    line-height: 1;
    margin: 0.8rem 0;
    max-width: 40px;
}

.item.details .size p.select {
    border: 1px solid #000000;
}

.item.details .item-info .row {
    justify-content: space-between;
    align-items: center;
}

.product-details {
    padding-top: 1rem;
    margin-top: 2rem;
    border-top: 1px solid #e5e5e5;
    position: relative;
}

.product-details .description-content {
    margin-bottom: 1rem;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}

.product-details .description-content img,
.product-details .description-content video,
.product-details .description-content iframe,
.product-details .description-content table {
    max-width: 100%;
    height: auto;
}

.product-details.collapsed .description-content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    position: relative;
}

.product-details.collapsed .description-content::after {
    content: "...";
    position: absolute;
    bottom: 0;
    right: 0;
    padding-left: 1rem;
    background: linear-gradient(to right, transparent, white 50%);
}

.product-details.expanded .description-content {
    display: block;
}

.product-details ul {
    margin-bottom: 1rem;
}

.product-details ul li {
    list-style: disc;
    font-size: 1.125rem;
    color: #121212BF;
    margin: 0.5rem 0;
    margin-left: 20px;
}

.product-details .see-more-btn {
    display: block;
    padding: 0.5rem 1.5rem;
    background: #5a31f4;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 1rem auto 0;
    transition: all 0.2s ease;
    border: none;
    width: fit-content;
}

.product-details .see-more-btn:hover {
    background: #4a27cc;
    transform: translateY(-2px);
}

.product-details .see-more-text {
    color: var(--buttonColor);
    cursor: pointer;
    font-weight: 500;
    display: inline-block;
    margin-left: 4px;
    font-size: 0.95rem;
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    padding-left: 20px;
}

.product-details.collapsed .see-more-text::after {
    content: "See more";
}

.product-details.expanded .see-more-text {
    position: static;
    display: block;
    text-align: right;
    margin-top: 1rem;
}

.product-details.expanded .see-more-text::after {
    content: "See less";
}

.product-details .see-more-text:hover {
    text-decoration: underline;
    color: #f9d650;
}

.product-details.expanded .description-content {
    max-height: none;
}

.product-details.expanded .fade-overlay {
    display: none;
}

.item-img {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 50%;
    background-color: #fff;
}

/* Override slider.css global swiper height for product detail */
.item-img .swiper {
    height: auto;
    width: 100%;
    max-width: 500px;
    padding: 0;
    margin: 0 auto;
}

/* Keep swiper arrows within the image area */
.item-img .swiper-button-prev,
.item-img .swiper-button-next {
    color: #333 !important;
}

.item-img .swiper-button-prev {
    left: 5px;
}

.item-img .swiper-button-next {
    right: 5px;
}

.item-img .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.item-img>img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.item-img .img-row {
    display: flex;
    gap: 15px;
    overflow: hidden;
    margin-top: 20px;
    padding: 10px 50px;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.item-img .img-row::-webkit-scrollbar {
    display: none;
}

.item-img .img-row img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.item-img .img-row .active {
    border: 2px solid var(--buttonColor);
}

/* Navigation arrows */
.item-img .nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #333;
    transition: all 0.3s ease;
}

.item-img .nav-arrow.prev {
    left: -15px;
}

.item-img .nav-arrow.next {
    right: -15px;
}

.item-img .nav-arrow:hover {
    background: var(--buttonColor);
    color: #333;
    border-color: var(--buttonColor);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* arrival */
.arrival {
    padding: 3rem;
}

.arrival .product-list {
    justify-content: space-between;
}

.new-arrival {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-direction: column;
}



.product-list .arrival-item {
    flex: 1;
}

.product-list .arrival-item img {
    width: 100%;
    aspect-ratio: 3/2;
}

.form-container {
    padding: 20px;
    background-color: #fff;
    /* box-shadow: 0 0 8px #000; */
    box-shadow: rgba(99, 99, 99, 0.6) 0px 2px 8px 0px;
    border-radius: 10px;
}

/* /categroy info/ */
.categoryInfo {
    padding: 3rem;
    text-align: center;
    margin: 0 auto;
}


.categoryInfo h2 {
    margin: 1rem 0;
    font-size: 2rem;
    color: #333;
}

.categoryInfo__content {
    position: relative;
}

.categoryInfo__content img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* login */
.form-container.login {
    max-width: 480px;
    width: 95%;
    margin: 2rem auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.form-container.login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--buttonColor);
}

.form-container.login h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
    font-weight: 500;
}

.form-container.login form {
    flex-direction: column;
    align-items: start;
    gap: 1.25rem;
}

.form-container.login label {
    width: 100%;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.form-container.login form input.field-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fff;
    color: #333;
    position: relative;
}

.form-container.login form input[type="password"].field-input {
    font-family: "Courier New", monospace;
    letter-spacing: 0.2em;
    padding-right: 2.5rem;
}

.form-container.login form input.field-input::placeholder {
    color: #999;
    letter-spacing: normal;
    font-family: "Abel", sans-serif;
}

.form-container.login form input.field-input:hover {
    border-color: #ccc;
    background-color: #fafafa;
}

.form-container.login form input.field-input:focus {
    border-color: var(--buttonColor);
    outline: none;
    box-shadow: 0 0 0 3px rgba(252, 228, 119, 0.15);
    background-color: #fff;
}

.password-field {
    width: 100%;
}

.form-container.login .yellow-btn {
    width: 100%;
    margin-top: 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    height: 3rem;
    transition: all 0.2s ease;
    background: var(--buttonColor);
}

.form-container.login .yellow-btn:hover {
    background-color: #f9d650;
    transform: translateY(-1px);
}

.user-options {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 1.25rem;
    font-size: 0.875rem;
}

.user-options a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.user-options a:hover {
    color: #333;
    text-decoration: underline;
}

/* Register, Password Changes, and other auth forms */
.form-container.register,
.form-container.change-password,
.form-container.reset-password {
    max-width: 480px;
    width: 95%;
    margin: 2rem auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-container.register::before,
.form-container.change-password::before,
.form-container.reset-password::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--buttonColor);
}

.form-container.register h1,
.form-container.change-password h1,
.form-container.reset-password h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
    font-weight: 500;
}

.form-container.register form,
.form-container.change-password form,
.form-container.reset-password form {
    flex-direction: column;
    align-items: start;
    gap: 1.25rem;
    width: 100%;
}

.form-container.register label,
.form-container.change-password label,
.form-container.reset-password label {
    width: 100%;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.form-container.register input.field-input,
.form-container.change-password input.field-input,
.form-container.reset-password input.field-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fff;
    color: #333;
}

.form-container.register input[type="password"].field-input,
.form-container.change-password input[type="password"].field-input,
.form-container.reset-password input[type="password"].field-input {
    font-family: "Courier New", monospace;
    letter-spacing: 0.2em;
    padding-right: 2.5rem;
}

.form-container.register input.field-input::placeholder,
.form-container.change-password input.field-input::placeholder,
.form-container.reset-password input.field-input::placeholder {
    color: #999;
    letter-spacing: normal;
    font-family: "Abel", sans-serif;
}

.form-container.register input.field-input:hover,
.form-container.change-password input.field-input:hover,
.form-container.reset-password input.field-input:hover {
    border-color: #ccc;
    background-color: #fafafa;
}

.form-container.register input.field-input:focus,
.form-container.change-password input.field-input:focus,
.form-container.reset-password input.field-input:focus {
    border-color: var(--buttonColor);
    outline: none;
    box-shadow: 0 0 0 3px rgba(252, 228, 119, 0.15);
    background-color: #fff;
}

.form-container.register .yellow-btn,
.form-container.change-password .yellow-btn,
.form-container.reset-password .yellow-btn {
    width: 100%;
    margin-top: 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    height: 3rem;
    transition: all 0.2s ease;
    background: var(--buttonColor);
}

.form-container.register .yellow-btn:hover,
.form-container.change-password .yellow-btn:hover,
.form-container.reset-password .yellow-btn:hover {
    background-color: #f9d650;
    transform: translateY(-1px);
}

span.success {
    padding: 20px;
    background-color: #fff;
    /* box-shadow: 0 0 8px #000; */
    box-shadow: rgba(99, 99, 99, 0.6) 0px 2px 8px 0px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    display: block;
    text-align: center;
    margin: 10px auto;
    font-size: 1.5rem;
}


.emptycart {
    align-items: center;
    max-width: 800px;
    width: 100%;
    padding: 20px;
    border: 1px solid #f5f5f5;
    border-radius: 4px;
    margin: 0 auto;
}

.emptycart-icon {
    width: 80px;
}

/* checkout */
.checkout .container {
    max-width: 1200px;
    width: 100%;
    padding: 0;
}

.checkout .form-container form {
    flex-direction: column;
    align-items: start;
}

.checkout .field-input {
    width: 100%;
}

.checkout .row {
    align-items: flex-start;
    justify-content: space-between;
}

.deliveryForm {
    width: 50%;
    box-shadow: none;
    padding-top: 0;
}

.deliveryForm>h3 {
    font-size: 22px;
    margin-bottom: 1rem;
}

.cart-item-details {
    width: 48%;
    position: sticky;
    top: 80px;
    padding: 0 1rem;
}

.cart-item-details>h3 {
    font-size: 22px;
    display: inline;
}

.cart-item-details>p {
    float: right;
    font-size: 18px;
}

.checkout .cart-item-details .cart-item-quantity {
    position: absolute;
    width: 30px;
    text-align: center;
    background: var(--buttonColor);
    border-radius: 50%;
    top: 5px;
    left: 5px;
}

.cart-item-details .cart-item {
    position: relative;
    justify-content: space-between;
    margin-bottom: 10px;
}

.consentdata {
    display: flex;
    column-gap: 10px;
}

.consentdata>span {
    margin-top: 5px;
}

.consentdata strong,
.consentdata label {
    font-weight: 600;
}

.btn-primary {
    background-color: var(--buttonColor);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #f5d94e;
}

.billing-address {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    width: 100%;
}

/* Bootstrap utility class equivalents (used in cart/products pages) */
.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.col-12 { width: 100%; }
.h4 { font-size: 1.5rem; font-weight: 600; }

/* medium screen */

@media screen and (min-width: 2560px) {
    .container {
        max-width: 2400px;
    }

    .product-list {
        grid-template-columns: repeat(6, 1fr);
        gap: 2.5rem;
    }

    .product-item h4 {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 1920px) {
    .product-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1366px) {
    .container {
        width: 95%;
    }

    footer {
        padding: 0 2rem;
    }

    body {
        --mainHeadingSize: 2.5rem;
        --subHeadingSize: 1rem;
        --minTextSize: 0.875rem;
        --minSubHeadingSize: 0.8rem;
    }

    .product {
        padding: 2rem;
    }

    .cart {
        padding: 2rem;
    }
}

@media screen and (max-width: 1024px) {
    .product-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .about .container:first-child {
        width: 100%;
    }

    .category li {
        width: 21%;
    }

    .product-item h4 {
        font-size: 1.2rem;
    }

    /* Product detail page — prevent overflow on tablet */
    .item.details .col-row {
        gap: 24px;
    }

    .item-img {
        width: 48%;
    }

    .item-info {
        width: 48%;
    }

    /* Payment button — prevent overflow */
    .payment .yellow-btn {
        min-width: auto;
        width: 100%;
    }

    /* Search input fluid scaling */
    .left-header input[type=text] {
        width: 160px;
    }

    /* Collection list items — 2-col on tablet */
    .list-item {
        width: 48%;
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 0.5rem;
    }

    .banner .swiper {
        height: 45vh;
    }

    .left-header {
        padding-right: 0;
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .header-row {
        gap: 10px;
    }

    .right-header {
        flex: 0 0 auto;
        justify-content: flex-end;
        gap: 10px;
    }

    .user-profile {
        width: 36px;
        height: 36px;
    }

    .user-profile img {
        min-width: 28px;
        min-height: 28px;
        width: 28px;
        height: 28px;
    }

    .left-header .search-container button {
        min-width: 36px;
        min-height: 36px;
        padding: 4px;
    }

    .logo {
        margin: 0;
    }

    .form-container.login {
        width: calc(100% - 2rem);
        margin: 1.5rem auto;
        padding: 1.5rem;
        border-radius: 10px;
    }

    .form-container.login h1 {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }

    .form-container.login form {
        gap: 1rem;
    }

    .form-container.login label {
        font-size: 0.85rem;
    }

    .form-container.login form input.field-input {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .form-container.login .yellow-btn {
        margin-top: 1.25rem;
        height: 2.75rem;
        font-size: 0.95rem;
    }

    .user-options {
        margin-top: 1rem;
        font-size: 0.8rem;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-item {
        padding: 0.5rem;
    }

    .product-item h4 {
        font-size: 1rem;
    }

    span.success {
        width: 100%;
        padding: 12px;
        font-size: 20px;
    }

    .contact .container {
        padding: 0;

    }

    .form-container.login form {
        gap: 10px;
    }

    .contact h1 {
        font-size: 30px;
    }

    .form-container.change-password,
    .form-container {
        padding: 1rem;
    }

    .yellow-btn {
        font-size: 1rem;
    }

    .payment .yellow-btn {
        min-width: auto;
        width: 100%;
    }

    section.arrival,
    section.get-bio,
    section.collection,
    .categoryInfo {
        padding: 1rem;
    }


    .list-item,
    .product-item {
        min-width: 0;
        width: 100%;

    }

    .product-list .arrival-item {
        flex: 100%;
    }

    .footer__copyright.caption {
        font-size: 12px;
    }

    .menu-icon {
        display: flex;
        border: none;
        background-color: transparent;
        font-size: 22px;
    }

    ul.menu {
        position: absolute;
        top: calc(0% + 75px);
        right: 0;
        width: 0;
        /* Initially set the width to 0 */
        flex-direction: column;
        background-color: #ffffff;
        align-items: flex-start;
        z-index: 999;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        overflow: hidden;
        /* Hide the overflow when width is 0 */
        transition: width 0.4s ease-in-out;
        /* Animate the width */
        white-space: nowrap;
    }

    ul.menu.active {
        width: 60%;
        /* Expand the menu to 60% width */
    }


    ul.menu>li {
        padding: 6px 12px;
        width: 100%;
        border-bottom: 1px solid #fce477;
    }


    ul.menu>li a {
        color: #000;
    }

    .active+.category {
        position: static;
        flex-direction: column;
        padding: 0;
        width: 100%;
        border: none;
        padding-left: 12px;
        gap: 10px;
        flex-wrap: nowrap;
    }

    #category-list-parent:hover .category {
        margin: 10px 0;
    }

    .category {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        width: 100%;
        background: #ffffff;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        padding: 24px;
        max-height: 0;
        overflow-y: auto;
        border: 0;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        scrollbar-width: thin;
        scrollbar-color: #ddd #fff;
    }

    .category.show {
        max-height: 70vh;
        opacity: 1;
        visibility: visible;
        border: 1px solid #eee;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: max-height 0.3s ease-in-out,
            opacity 0.2s ease-in-out,
            visibility 0s linear 0s;
    }

    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        padding: 24px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .category-list a {
        flex: 0 0 200px;
        padding: 8px 16px;
        color: #333;
        transition: all 0.2s ease;
    }

    .category-list a:hover {
        background: #f8f8f8;
        border-radius: 4px;
    }

    .category li {
        width: 100%;
        padding: 0;
        text-align: left;
        border: none;
    }

    .category li img {
        display: none;
    }

    .category li p {
        font-size: 14px;
    }

    .about .col-row {
        flex-direction: column;
    }

    .left-img {
        width: 100%;
    }

    .right-content {
        width: 100%;
    }

    .field-input {
        width: 100%;
        padding: 0.5rem;
        font-size: 14px;
    }

    .item.details .col-row {
        flex-direction: column;
    }

    .item-img {
        width: 80%;
        margin: 0 auto;
    }

    .item-img .swiper {
        height: auto;
    }

    .item-img .swiper-slide img {
        max-height: 400px;
    }

    .item-info {
        width: 80%;
        margin: 0 auto;
    }

    .cart-item {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .cart-item-quantity,
    .item-product {
        width: auto;
    }

    .cart-item-img img {
        display: block;
        height: 70px;
        width: 70px;
    }

    h4.cart-item-name {
        font-size: 1rem;
    }

    .counter button {
        width: 32px;
        min-height: 36px;
    }

    .counter button img {
        width: 14px;
        height: 14px;
    }

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

    .counter {
        width: 120px;
        height: 44px;
    }

    .checkout .form-container form {
        gap: 10px;
    }

    .checkout .row {
        flex-direction: column;
    }

    .deliveryForm {
        width: 100%;
        order: 1;
        padding-top: 2rem;
    }

    .cart-item-details {
        position: static;
        width: 100%;
        order: 0;
    }

    .cart-item-details .cart-item {
        flex-wrap: nowrap;
    }

    .main-content-wrapper .main-content .search-form {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0 20px;
    }


}

@media screen and (max-width: 540px) {
    .left-header input[type=text] {
        padding: 4px;
        width: 100px;
        min-width: 80px;
        flex: 1;
    }

    .header-row .left-header .logo img {
        width: 125px;
        height: auto;
    }
}

@media screen and (max-width: 425px) {

    /* header */
    .left-header {
        column-gap: 10px;
    }

    .right-header {
        gap: 8px;
    }

    .user-profile {
        width: 32px;
        height: 32px;
    }

    .user-profile img {
        min-width: 26px;
        min-height: 26px;
        width: 26px;
        height: 26px;
    }

    .left-header .search-container button {
        padding: 4px;
        font-size: 14px;
        min-width: 32px;
        min-height: 32px;
    }

    .product {
        padding: 0.5rem;
    }

    .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0;
    }

    .product-item {
        max-width: 100%;
        margin: 0 auto;
        padding: 0.4rem;
    }

    .product-item .product-img {
        aspect-ratio: 1/1;
    }

    .product-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }

    .get-bio .email-box {
        width: 100%;
    }

    footer .socials {
        padding: 2rem 0;
    }

    h2 {
        text-align: center;
    }

    .item-product {
        width: 100%;
    }

    .cart-item {
        row-gap: 20px;
    }

    .cart-info {
        display: none;
    }

    .payment .yellow-btn {
        width: 80%;
        min-width: auto;
    }

    .cart {
        padding: 1rem;
    }

    .cart-item-img img {
        width: 110px;
        height: 110px;
    }

    section.contact {
        padding: 1rem;
    }


}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    /* margin-top: 1.5rem; */
    padding: 0.5rem;
}

.category-box {
    background: #f9f7f7;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-box:hover {
    transform: translateY(-2px);
    border-color: var(--buttonColor);
    box-shadow: 0 3px 8px rgba(252, 228, 119, 0.3);
}

.category-box h3 {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
}

@media screen and (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
        padding: 0.25rem;
    }

    .count {
        text-align: center !important;
        margin-bottom: 12px !important;
    }

    .left-header .logo img {
        width: 140px;
        height: auto;
    }

    .search-results-wrapper .container-fluid {
        padding: 0;
    }

    .category-box {
        padding: 0.75rem;
    }

    .category-box h3 {
        font-size: 0.9rem;
    }
}

.thank-you-mark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 3px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: scaleIn 0.3s ease-out;
}

.thank-you-mark::before {
    content: '';
    width: 20px;
    height: 40px;
    border-right: 3px solid #333;
    border-bottom: 3px solid #333;
    transform: rotate(45deg) translate(-5%, -10%);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Category Menu Styles */
.category {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    background: #ffffff;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px;
    max-height: 0;
    overflow-y: auto;
    border: 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    scrollbar-width: thin;
    scrollbar-color: #ddd #fff;
}

.category::-webkit-scrollbar {
    width: 6px;
}

.category::-webkit-scrollbar-track {
    background: #fff;
}

.category::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 6px;
    border: 2px solid #fff;
}

/* Category Menu Open State */
#category-list-parent:hover .category,
.category.show,
.category:hover {
    max-height: 50vh;
    opacity: 1;
    visibility: visible;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Category Links */
.category a {
    flex: 0 0 23%;
    /* 6 items per row with gap */
    padding: 7px;
    color: #333;
    transition: all 0.2s ease;
    border-radius: 4px;
    font-size: 14px;
}

.category a:hover {
    transform: translateY(-2px);
}

.logo img {
    width: 190px;
    height: 55px;
}

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    ul.menu{
        column-gap: 12px;
        font-size: .8rem;
    }
    .logo img {
    width: 160px;
    height: 45px;
}


    .category {
        padding: 16px;
        gap: 12px;
    }

    .category a {
        flex: 0 0 calc(33.333% - 8px);
        /* 3 items per row */
        padding: 10px 12px;
        font-size: 13px;
    }

    #category-list-parent:hover .category,
    .category.show,
    .category:hover {
        max-height: 60vh;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .category {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        height: 0;
        max-height: none;
        padding: 0;
        background: #fff;
        border-radius: 16px 16px 0 0;
        transition: height 0.3s ease-in-out;
    }

    #category-list-parent:hover .category,
    .category.show,
    .category:hover {
        height: 80vh;
        padding: 16px;
        border: none;
        border-top: 1px solid #eee;
    }

    .category a {
        flex: 1;
        padding: 12px;
        font-size: 14px;
        background: none;
        border-bottom: 1px solid #eee;
        border-radius: 0;
    }

    .category a:last-child {
        border-bottom: none;
    }

    .category a:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {

    #category-list-parent:hover .category,
    .category.show,
    .category:hover {
        height: 90vh;
    }

    .category {
        gap: 8px;
    }

    .category a {
        padding: 10px;
        font-size: 13px;
    }
}

.category-columns {
    display: flex;
    flex-wrap: wrap;
}


.checkout {
    width: 100%;
}

.checkout .cart-item-img {
    width: auto;
    max-width: 120px;
    height: auto;
}

.checkout .item-product {
    width: 100%;
}
.checkout .cart-item-details{
    width: 100%;
}
.checkout .cart-item-img img{
    object-fit: contain;
}
.checkout .cart-item{
    gap: 0;
}
@media screen and (max-width: 768px) {
.checkout .cart-item {
    flex-direction: column;
    display: flex;
}


.checkout .cart-item-details .cart-item{
    flex-direction: column;
    display: flex;
}
}

@media screen and (max-width: 580px) {
.checkout .item-product{
    flex-direction: column;
}

.checkout .cart-item-img {
    width: 100%;
}
.cart-item-info{
    padding-left: 0;
}
.cart-item-price{
    text-align: left;
    width: 100%;
}
}
