* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


#nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    width: 100%;
    padding: 0 40px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background-color: #f9f8f6e6;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    opacity: 1;
    box-sizing: border-box;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.nav ul {
    display: flex;
    gap: 25px;
}

.nav ul li {
    list-style: none;
    cursor: pointer;
    color: #221f1c;
    font-size: .875rem;
    font-family: "DM Sans", sans-serif;
    opacity: 0.8;
}

.nav ul li:hover {
    color: #221f1c;
}
#nav-auth {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
}
#nav-auth a {
    color: #221f1c;
    text-decoration: none;
    opacity: 0.8;
    letter-spacing: 0.5px;
}
#nav-auth a:hover { opacity: 1; }
#nav-auth button {
    font-family: "DM Sans", sans-serif;
    opacity: 0.8;
}
#nav-auth button:hover { opacity: 1; }

.hamburg {
    display: none;
}

.logo {
    flex: 0 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    cursor: pointer;
    color: #221f1c;
    letter-spacing: 0.1rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    line-height: 2rem;
}
.logo a{
 text-decoration: none;
}

.search-cart {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.search i {
    cursor: pointer;
    font-size: 24px;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-icon i {
    font-size: 22px;
    color: #221f1c;
    transition: opacity 0.2s;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #1a1a1a;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-sizing: border-box;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-badge.show {
    transform: scale(1);
}

.cart-badge.pop {
    animation: badgePop 0.3s ease;
}


.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px); 
    z-index: 998; 
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}


html body #cart {
    position: fixed;
    top: 0;
    right: -440px;
    width: 440px;
    height: 100vh;
    background-color: #faf9f7;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.08);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    z-index: 10000;
    font-family: 'Inter', -apple-system, sans-serif;
}

#cart.active {
    right: 0;
}

.cart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e8e6e3;
    padding: 28px 32px 24px;
    background: #f9f8f6e6;
    flex-shrink: 0;
}

.cart-head p {
    font-family: "Cormorant Garamond", serif;
    color: #221f1c;
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.cart-head .close {
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-head .close:hover {
    color: #000;
}

.cart-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0 32px;
}

.cart-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}

.cart-main .empty {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    letter-spacing: 0.8px;
    font-weight: 400;
    font-family: "Inter", sans-serif;
}

.cart-main .return {
    font-size: 12px;
    color: #2c2c2c;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
    background: none;
    padding: 0;
    border: none;
    font-family: "Inter", sans-serif;
}

.cart-main .return:hover {
    opacity: 0.6;
}

.cart-fill {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
    gap: 12px;
    padding: 0 0 32px 0;
    position: relative;
    background: transparent;
}

.cart-fill img {
    width: 90px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-fill .p-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 10px;
    flex: 1;
    padding-top: 4px;
}

.cart-p-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 17px;
    font-weight: 400;
    color: #2c2c2c;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.cart-fill .p-details {
    font-size: 12px !important;
    color: #888 !important;
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.cart-p-price {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    color: #221f1c;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.p-quantity {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    height: 32px;
    width: 90px;
    margin-top: 12px;
}

.p-quantity button {
    width: 30px;
    height: 100%;
    font-size: 16px;
    border: none;
    background: none;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.p-quantity button:hover {
    color: #000;
}

.quantity {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: #333;
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

.p-del {
    position: absolute;
    right: -10px;
    top: 70%;
    transform: translateY(-50%);
    font-size: 11px;
    font-family: "Inter", sans-serif;
    color: #999;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.p-del:hover {
    color: #2c2c2c;
}

.checkout {
    padding: 24px 0 32px;
    border-top: 1px solid #e8e6e3;
    background: #faf9f7;
    margin-top: auto;
    flex-shrink: 0;
}

.subTotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.subTotal p:first-child {
    font-size: 12px;
    font-family: "Inter", sans-serif;
    letter-spacing: 1.5px;
    color: #666;
    text-transform: uppercase;
    font-weight: 500;
}

.total {
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.c-para {
    font-size: 12px;
    color: #aaa;
    margin: 12px 0 24px 0;
    font-family: "Inter", sans-serif;
    letter-spacing: 0.2px;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: "Inter", sans-serif;
}

.checkout-btn:hover {
    background: #333;
}

.cart-content::-webkit-scrollbar {
    width: 4px;
}

.cart-content::-webkit-scrollbar-track {
    background: transparent;
}

.cart-content::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.cart-content::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}
.head {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    margin-top: 65px;
    justify-content: center;
    align-items: flex-end; 
    overflow: hidden;
}

.hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.text {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #f9f8f6;
    padding: 0 20px 80px 20px;  
}

.text p {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
}

.subhead {
    font-family: "Cormorant Garamond", serif;
    font-size: 70px;
    font-weight: 400;
    color: #f9f8f6;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.text button {
    background: transparent;
    color: #f9f8f6;
    padding: 13px 30px;
    font-family: "DM Sans", sans-serif;
    border: 1px solid #f9f8f6;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.text button:hover {
    background: #f9f8f6;
    color: #000;
    cursor: pointer;
}

.new-arr {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 60px;
    background-color: #f9f8f6;
    color: #221f1c;
    text-align: center;
}

.new-arr p {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.arrival {
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 4px;
    line-height: 1.2;
}

#cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    background-color: #f9f8f6e6;
    padding: 40px 60px;
}


#cards .card:nth-child(n+7) {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

#cards.show-all .card:nth-child(n+7) {
    display: block;
    animation: fadeInUp 0.4s ease forwards;
}
#cards.show-all .card:nth-child(n+7) {
    display: block;
    opacity: 1;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#cards.show-all .card:nth-child(7) { animation-delay: 0.1s; }
#cards.show-all .card:nth-child(8) { animation-delay: 0.2s; }
#cards.show-all .card:nth-child(9) { animation-delay: 0.3s; }
#cards.show-all .card:nth-child(10) { animation-delay: 0.4s; }


.card {
    overflow: hidden;
}

.card img {
    width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.card:hover img {
    transform: scale(1.08);
    cursor: pointer;
}

.para {
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    line-height: 1.25rem;
    margin-top: 20px;
    color: #78736D;
}

.name {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: .25rem;
    color: #78736D;
}

.price {
    font-family: "DM Sans", sans-serif;
    color: #78736D;
    font-size: .875rem;
    line-height: 1.25rem;
    margin-top: 5px;
    margin-bottom: 15px;
}

.loader {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 8px solid #ddd;
  border-top: 8px solid #000;
  animation: spin 1s linear infinite;
  margin: 50px auto;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}


.view {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
    background-color: #f9f8f6e6;
}

.view button {
    background: transparent;
    color: black;
    font-family: "DM Sans", sans-serif;
    font-size: .875rem;
    border: 1px solid;
    padding: 15px 50px;
    transition: background-color 0.3s ease;
}

.view button:hover {
    background-color: black;
    transition-duration: .3s;
    color: #f9f8f6e6;
}
#view-btn.hidden {
    display: none;
}

.footerH {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 350px;
    gap: 10px;
    background-color: #e9e6e280;
    text-align: center;
}

.touch {
    font-size: 2.25rem;
    line-height: 2.5rem;
    color: #221f1c;
    letter-spacing: 1px;
    font-family: "Cormorant Garamond", serif;
}

.p1 {
    font-family: "DM SANS";
    color: #78736D;
    font-size: .875rem;
    line-height: 1.25rem;
    max-width: 28rem;
}

.subscribeBox {
    display: flex;
    gap: 0;
    margin-top: 10px;
}
#message{
  margin-top:10px;
  font-size:16px;
  font-weight:500;
  color:green;
}

.subscribeBox input {
    padding: 13px 15px;
    border: 1px solid #999;
    border-right: none;
    background: transparent;
    outline: none;
    width: 290px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
}

.subscribeBox button {
    padding: 0px 20px;
    border: 1px solid #000;
    background-color: #000;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-family: "DM Sans", sans-serif;
}

.subscribeBox button:hover {
    background-color: #333;
}

.footerLine {
    border: none;
    border-top: 1px solid #bbb;
    margin: 0;
}

.footer {
    padding: 15px 40px;
    font-size: 14px;
    height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e9e6e280;
}

.footer ul {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.footer ul li {
    list-style: none;
    font-family: "DM Sans", sans-serif;
    color: #78736d;
    cursor: pointer;
    letter-spacing: .025em;
    text-transform: uppercase;
    font-size: .75rem;
    line-height: 1rem;
}

.footer ul li:hover {
    color: #221f1c;
}

.footer p {
    font-size: .75rem;
    line-height: 1rem;
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: #78736d;
}

.footer p:hover {
    color: #221f1c;
}


#navbar-container {
    width: 100%;
    position: relative;
}
.main-product {
    width: 100%;
    background: #f9f8f6e6;
    display: flex;
}

.p-container {
    max-width: 650px;
    display: flex;
    align-items: flex-start;
}


.product-back {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 65px;
    height: 65px;
    padding: 0 15px;
    background-color: #f9f8f6;
    width: 100%;
    cursor: default; 
}

.product-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.product-back-btn i {
    font-size: 18px;
    color: #78736d;
    transition: transform 0.2s;
}

.product-back-btn span {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #78736d;
    transition: color 0.2s;
}

.product-back-btn:hover i {
    transform: translateX(-4px);
}

.product-back-btn:hover span {
    color: #221f1c;
}

.p-img {
    width: 75%;  
    margin-left: 60px;
}

.p-img img {
    width: 100%;
    display: block;
    object-fit: cover;
    margin-bottom: 20px;
}
.p-img img:hover{
    transform: scale(1.05);
    cursor: pointer;
}

.variant-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px;
}

.variant-images img {
    width: 20%;
    cursor: pointer;
    transition: 0.3s ease;
    border-radius: 5px;
}

.variant-images img:hover {
    transform: scale(1.05);
}


.p-title {
    font-size: 12px;
    letter-spacing: 0.25em;
    color: #78736d;
     margin-bottom: 20px;
    font-family: "DM Sans", sans-serif;
}
.p-detail {
    display: flex;
     width: 50%;
    flex-direction: column;
    min-height: 650px;               
}
.main-product-img {
  transition: opacity 0.3s ease;
}
.p-name {
    font-size: 37px;
    line-height: 1.2;
        margin-bottom: 10px;
    font-family: "Cormorant Garamond", serif;
    color: #221f1c;
}

.p-price {
    font-size: 28px;
    margin-bottom: 40px;
    font-family: "Cormorant Garamond", serif;
}

.description {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #78736d;
}

.size button {
    padding: 12px 17px;
    margin-right: 10px;
    margin-top: 15px;
    border: 1px solid #ddd;
    background: transparent;
    cursor: pointer;
    transition: 0.2s;
}

.size button:hover {
    border-color: #000;
    color: #000;
}

.add-cart {
    width: 100%;
    padding: 16px;
        margin-bottom: 100px;
    background: black;
    color: white;
    border: none;
     border-top: 1px solid #e4e1dd;
    margin-top: 25px;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: 0.3s;
}

.add-cart:hover {
    background: #222;
}

.details {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    color: #78736d;
    line-height: 1.8;
    border-top: 1px solid #e4e1dd;
    padding-top: 20px;
}

.details p:first-child {
    color: #221f1c;
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0.1em;
}


.c-h {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 99px;
    background-color: #f9f8f6e6;
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-top: 65px;
}

.checkHead {
    background-color: #f9f8f6;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 99px;
    align-items: start;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}


.info {
    display: block;
    width: 100%;
    min-width: 0;
}


.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 15px;
    padding: 40px;
    width: 100%;
    box-sizing: border-box;
}

.form h3 {
    grid-column: 1 / -1;
    margin: 15px 0 5px;
    color: #78736D;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.form input {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    font-size: 12px;
    color: #78736D;
    font-family: "Montserrat", sans-serif;
    border: 1px solid #d0cdc9;
    border-radius: 0;
    transition: 0.3s;
    box-sizing: border-box;
    height: 44px;
}


.form input:focus {
    outline: none;
    border-color: #999;
}

.form .full {
    grid-column: 1 / -1;
    width: 100%;
}

.place-order {
    grid-column: 1 / -1;
    padding: 14px;
    margin-top: 10px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    font-family: "DM Sans", sans-serif;
    letter-spacing: 1px;
}

.place-order:hover {
    background-color: #333;
}

.summary-main {
    padding: 30px;
    border-radius: 8px;
    margin-top: 26px;
    color: #78736D;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 18px;
    width: 100%;
    max-width: 400px;
    justify-self: end;
}

.product-row {
    display: flex;
    margin-top: 30px;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.sum-img img {
    width: 100px;
    height: 150px;
    object-fit: cover;
}

.sum-details {
    flex: 1;
}

.sum-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    color: #221f1c;
}

.size-qty {
    display: flex;
    gap: 15px;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    margin: 5px 0;
    color: #78736D;
}

.sum-price {
    margin-top: 5px;
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
}

.sum-total,
.sum-ship,
.sum-subTotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
}

.sum-subTotal {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #ccc;
    font-weight: 600;
    font-size: 16px;
}

.sum-subPrice {
    font-size: 26px;
    color: #221f1c;
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
}


/* ===== TABLET ===== */
@media (max-width: 1024px) {

    #nav-bar {
        padding: 0 20px;
        background-color: #f9f8f6e6;
    }

    .nav ul li {
        display: none;
    }

    .hamburg {
        display: flex;
    }

    .logo {
        font-size: 1.3rem;
    }

    .side-menu {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: #f9f8f6;
        z-index: 9999;
        padding: 25px;
        transition: left 0.35s ease;
        box-shadow: 2px 0 15px rgba(0,0,0,0.05);
    }

    .side-menu.active {
        left: 0;
        padding-top: 65px;
    }

    .side-head {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 30px;
    }

    .side-head i {
        font-size: 24px;
        cursor: pointer;
    }

    .side-nav {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .side-nav li {
        font-family: "DM Sans", sans-serif;
        font-size: 14px;
        letter-spacing: 1px;
        color: #221f1c;
        cursor: pointer;
        opacity: 0.9;
    }

    .head {
        height: 70vh;
    }

    .subhead {
        font-size: 50px;
    }

    #cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 25px;
        gap: 20px;
    }

    .card img {
        height: 380px;
        object-fit: cover;
    }

    .main-product {
        flex-direction: column;
    }

    .p-container {
        flex-direction: column;
    }

    .p-img {
        width: 100%;
        margin: 0;
        padding: 0 30px;
    }

    .p-detail {
        width: 100%;
        padding: 30px;
    }

    .checkHead {
        grid-template-columns: 1fr;
        padding: 0 40px;
    }

    .summary-main {
        max-width: 100%;
        justify-self: stretch;
    }

    .c-h {
        padding: 30px 40px;
    }

    .footer {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }

    .footer ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .subscribeBox input {
        width: 220px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {

    body {
        overflow-x: hidden;
    }

    /* --- NAVBAR FIXES --- */
    #nav-bar {
        padding: 0 15px;
        height: 55px;
        /* Layout: hamburg(left) | logo(center) | cart+auth(right) */
        display: grid;
        grid-template-columns: 40px 1fr 40px;
        align-items: center;
    }

    /* Hamburg burger — LEFT side */
    .hamburg {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        grid-column: 1;
        order: 1;
    }

    /* Logo — CENTER */
    .logo {
        position: static;
        transform: none;
        font-size: 1.15rem;
        grid-column: 2;
        order: 2;
        text-align: center;
        letter-spacing: 0.08rem;
    }

    /* Hide desktop nav */
    .nav {
        display: none;
    }

    /* Search + Cart — RIGHT side */
    .search-cart {
        grid-column: 3;
        order: 3;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        flex: unset;
    }

    /* Hide search bar on mobile nav */
    .search {
        display: none;
    }

    /* Auth icon size tweak */
    #nav-auth a i,
    #nav-auth button i {
        font-size: 20px;
    }

    /* Side menu margin-top matches mobile nav height */
    .side-menu.active {
        padding-top: 55px;
    }

    /* --- HERO --- */
    .head {
        height: 80vh;
        margin-top: 55px;
    }

    .subhead {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .text {
        padding: 0 15px 50px 15px;
    }

    .text p {
        font-size: 11px;
    }

    .text button {
        padding: 11px 22px;
        font-size: 11px;
    }

    /* --- ARRIVALS --- */
    .new-arr {
        padding: 50px 20px 40px;
    }

    .arrival {
        font-size: 24px;
    }

    /* --- PRODUCT CARDS --- */
    #cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 15px 12px;
        gap: 12px;
    }

    .card img {
        height: 220px;
        object-fit: cover;
        object-position: top;
    }

    .name {
        font-size: 0.85rem;
    }

    .price {
        font-size: 0.8rem;
    }

    .para {
        font-size: 10px;
    }

    /* --- VIEW ALL --- */
    .view button {
        padding: 12px 35px;
        font-size: 12px;
    }

    /* --- PRODUCT PAGE --- */
    .product-back {
        height: 55px;
        margin-top: 55px;
        padding: 0 15px;
    }

    .p-container {
        flex-direction: column;
        max-width: 100%;
    }

    .p-img {
        width: 100%;
        margin: 0;
        padding: 0 12px;
    }

    .p-img img {
        height: auto;
    }

    .variant-images img {
        width: 22%;
    }

    .p-detail {
        width: 100%;
        padding: 20px 15px;
        min-height: auto;
    }

    .p-name {
        font-size: 26px;
    }

    .p-price {
        font-size: 20px;
        margin-bottom: 20px;
    }

    /* --- CART PANEL --- */
    html body #cart {
        width: 100%;
        right: -100%;
    }

    /* --- FOOTER --- */
    .footerH {
        height: auto;
        padding: 40px 20px;
    }

    .touch {
        font-size: 1.6rem;
    }

    .subscribeBox {
        flex-direction: column;
        width: 100%;
    }

    .subscribeBox input {
        width: 100%;
        border-right: 1px solid #999;
        border-bottom: none;
    }

    .subscribeBox button {
        width: 100%;
        padding: 13px;
    }

    .footer {
        flex-direction: column;
        height: auto;
        padding: 20px 15px;
        gap: 15px;
        text-align: center;
    }

    .footer ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    /* --- CHECKOUT PAGE --- */
    .c-h {
        padding: 20px 15px;
        font-size: 22px;
        margin-top: 55px;
    }

    .checkHead {
        grid-template-columns: 1fr;
        padding: 0 12px;
    }

    .form {
        grid-template-columns: 1fr;
        padding: 15px 0;
    }

    .summary-main {
        max-width: 100%;
        padding: 15px;
        margin-top: 0;
    }
}

/* ===== SMALL PHONES ===== */
@media (max-width: 370px) {

    #nav-bar {
        padding: 0 10px;
        height: 55px;
        display: grid;
        grid-template-columns: 36px 1fr 36px;
        align-items: center;
    }

    .logo {
        position: static;
        transform: none;
        font-size: 1rem;
        grid-column: 2;
        text-align: center;
    }

    .hamburg {
        display: flex;
        grid-column: 1;
        justify-content: flex-start;
    }

    .search-cart {
        grid-column: 3;
        justify-content: flex-end;
        flex: unset;
    }

    .search {
        display: none;
    }

    .nav {
        display: none;
    }
}

/* ===== DESKTOP ===== */
@media (min-width: 1025px) {
    .side-menu {
        display: none;
    }
}