@media (max-width: 768px) {

    body {
        margin: 0;
        padding: 0;
        font-size: 15px;
        line-height: 1.55;
        overflow-x: hidden;
        width: 100%;
    }

    .header {
        padding: 10px 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        z-index: 9999;
    }

    .logo img {
        max-width: 120px;
        height: auto;
    }

    .nav {
        display: none;
    }

    .hamburger {
        width: 30px;
        height: 22px;
        position: relative;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: -2px;
    }

    .hamburger::before,
    .hamburger::after,
    .hamburger span {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 2px;
    }

    .hamburger::before {
        top: 0;
    }

    .hamburger span {
        top: 9px;
    }

    .hamburger::after {
        bottom: 0;
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        background: #fff;
        border-top: 1px solid #ddd;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        padding: 12px 0;
        z-index: 99999;
    }

    .mobile-menu.show {
        display: flex;
    }

    .mobile-menu a {
        padding: 16px 22px;
        font-size: 16px;
        color: #222;
        width: 100%;
        box-sizing: border-box;
    }

    .hero {
        height: 45vh;
        padding: 20px;
        text-align: center;
    }

    .hero-inner h1 {
        font-size: 2.2rem;
    }

    .hero-inner p {
        font-size: 1rem;
    }

    .categories {
        padding: 30px 20px;
    }

    .cat-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cat-card img {
        height: 160px;
    }

    .featured {
        padding: 40px 20px;
    }

    .featured-scroll {
        gap: 16px;
        padding: 10px 0;
    }

    .product-card {
        min-width: 160px;
        padding: 12px;
    }

    .product-card img {
        height: 200px;
        object-fit: contain;
        background: #f7f7f7;
    }

    .product-grid-page {
        padding: 0 20px 30px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-page-bp {
        flex-direction: column;
        padding: 16px;
        gap: 24px;
    }

    .product-gallery {
        width: 100%;
        padding: 0;
    }

    .product-gallery .main-image img {
        width: 100%;
        height: auto;
        max-height: 420px;
        object-fit: contain;
        background: #f7f7f7;
        border-radius: 8px;
    }

    .thumbs {
        gap: 10px;
        overflow-x: auto;
        padding: 10px 0;
    }

    .thumbs img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border-radius: 6px;
    }

    .product-info-bp {
        width: 100%;
        padding: 0 4px;
    }

    .product-info-bp h1 {
        font-size: 30px;
        text-align: center;
    }

    .product-info-bp .price {
        font-size: 20px;
        text-align: center;
    }

    .product-info-bp .desc {
        font-size: 15px;
        line-height: 1.6;
        text-align: center;
    }

    .selector-title {
        font-size: 15px;
        margin-top: 20px;
        text-align: center;
    }

    #colour-options,
    #size-options {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 10px;
    }

    .option-box {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 15px;
    }

    .add-btn {
        width: 100%;
        padding: 16px;
        font-size: 17px;
        margin-top: 30px;
    }

    .cart-items {
        padding: 0 20px 30px;
        gap: 20px;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }

    .cart-item img {
        width: 100%;
        height: auto;
    }

    .cart-summary {
        padding: 0 20px 30px;
    }

    .checkout-btn {
        width: 100%;
        padding: 16px;
        font-size: 18px;
    }

    .contact-page {
        padding: 0 20px 40px;
    }

    .contact-form-retro {
        gap: 12px;
    }

    .contact-form-retro input,
    .contact-form-retro textarea {
        font-size: 15px;
        padding: 12px;
    }

    .contact-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }

    .info-page {
        padding: 0 20px 40px;
        font-size: 15px;
        line-height: 1.6;
    }

    .page-header {
        padding: 20px 20px 10px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .footer {
        padding: 30px 20px;
        font-size: 14px;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {

    .account-section {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        margin: 16px auto 32px;
        box-sizing: border-box;
    }

    .account-block {
        width: 100%;
        max-width: 100%;
        padding: 16px;
        box-sizing: border-box;
        border-radius: 10px;
        font-size: 14px;
        line-height: 1.45;
    }

    .orders-list,
    .saved-address-option,
    .order-item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .order-item {
        padding: 16px;
        border-radius: 10px;
        font-size: 14px;
        line-height: 1.45;
    }

    .order-product {
        flex-direction: column;
        gap: 10px;
        border-left: none;
        width: 100%;
        max-width: 100%;
    }

    .order-product-img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .order-product-info {
        font-size: 14px;
        line-height: 1.45;
        width: 100%;
        max-width: 100%;
    }

    .dash-btn {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .address-form input {
        padding: 10px;
        font-size: 14px;
        box-sizing: border-box;
    }

    .saved-address-option {
        padding: 14px;
        border-radius: 10px;
        font-size: 14px;
    }

    .modal-content {
        width: 90%;
        max-width: 360px;
        padding: 18px;
        box-sizing: border-box;
    }

    /* CONTACT PAGE FIX */
    .contact-page {
        width: 100%;
        max-width: 100%;
        padding: 0 12px 40px;
        box-sizing: border-box;
    }

    .contact-intro {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 20px;
        text-align: center;
        padding: 0 10px;
    }

    .contact-form-retro {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 14px;
        box-sizing: border-box;
    }

    .contact-form-retro label {
        font-size: 14px;
    }

    .input-group {
        width: 100%;
        max-width: 100%;
    }

    .contact-form-retro input,
    .contact-form-retro textarea {
        width: 100%;
        max-width: 100%;
        padding: 12px;
        font-size: 15px;
        box-sizing: border-box;
    }

    .contact-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
        margin-top: 10px;
    }

    .contact-info-retro {
        margin-top: 30px;
        text-align: center;
        font-size: 15px;
        line-height: 1.5;
    }

    .contact-info-retro h3 {
        font-size: 20px;
        margin-bottom: 6px;
    }

}

@media (max-width: 768px) {

    .hero {
        height: 45vh;
        padding: 20px 12px;
        text-align: center;
        box-sizing: border-box;
    }

    .hero-inner h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .hero-inner p {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 15px;
    }

    .categories {
        padding: 30px 12px 30px;
        box-sizing: border-box;
    }

    .categories h2 {
        font-size: 26px;
        text-align: center;
        margin-bottom: 18px;
    }

    .scroll-wrapper {
        width: 100%;
        box-sizing: border-box;
        padding: 0 0;
    }

    .scroll-container {
        gap: 16px;
        padding: 10px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .scroll-arrow {
        padding: 8px 12px;
        font-size: 18px;
    }

    .featured {
        padding: 40px 12px 30px;
        box-sizing: border-box;
    }

    .featured h2 {
        font-size: 26px;
        text-align: center;
        margin-bottom: 18px;
    }

    .featured-scroll {
        gap: 16px;
        padding: 10px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .product-card {
        min-width: 160px;
        padding: 12px;
        border-radius: 10px;
    }

    .product-card img {
        height: 200px;
        object-fit: contain;
        background: #f7f7f7;
    }

    .product-card h4 {
        font-size: 15px;
        margin-top: 8px;
    }

    .product-card p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .scroll-arrow {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .product-page-bp {
        width: 100%;
        max-width: 100%;
        padding: 16px 12px;
        margin: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        gap: 24px;
        overflow-x: hidden;
    }

    .breadcrumb {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin-bottom: 12px;
        box-sizing: border-box;
    }

    .breadcrumb a {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .product-gallery {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .product-gallery .main-image {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .product-gallery .main-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 420px;
        object-fit: contain;
        background: #f7f7f7;
        border-radius: 8px;
    }

    .thumbs-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 10px 0;
        margin: 0;
        box-sizing: border-box;
        display: flex;
        gap: 10px;
    }

    .thumb-arrow {
        display: none !important;
    }

    .thumbs {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        display: flex;
        gap: 10px;
        padding: 10px 0;
        box-sizing: border-box;
    }

    .thumbs img {
        width: 70px;
        height: 70px;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .product-info-bp {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .product-info-bp h1 {
        font-size: 30px;
        text-align: center;
        width: 100%;
    }

    .product-info-bp .price {
        font-size: 20px;
        text-align: center;
        margin-bottom: 12px;
    }

    .product-info-bp .desc {
        font-size: 15px;
        line-height: 1.6;
        text-align: center;
        margin-bottom: 20px;
        width: 100%;
    }

    .selector-title {
        font-size: 15px;
        text-align: center;
        margin-top: 20px;
        width: 100%;
    }

    #colour-options,
    #size-options {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 10px;
        box-sizing: border-box;
    }

    .option-box {
        width: 100%;
        max-width: 100%;
        padding: 14px;
        font-size: 15px;
        text-align: center;
        box-sizing: border-box;
    }

    .size-guide-link {
        width: 100%;
        text-align: center;
        display: block;
        margin-top: 10px;
        font-size: 14px;
    }

    .add-btn {
        width: 100%;
        max-width: 100%;
        padding: 16px;
        font-size: 17px;
        margin-top: 30px;
        box-sizing: border-box;
    }

    .accordion {
        width: 100%;
        max-width: 100%;
        margin-top: 30px;
        box-sizing: border-box;
    }

    .acc-header {
        width: 100%;
        padding: 16px 0;
        font-size: 1rem;
        box-sizing: border-box;
    }

    .acc-body {
        width: 100%;
        max-width: 100%;
        padding-right: 0;
        box-sizing: border-box;
    }

    .related-section {
        width: 100%;
        max-width: 100%;
        margin-top: 40px;
        box-sizing: border-box;
    }

    .related-section h2 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 16px;
    }

    .related-products {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
        box-sizing: border-box;
    }

    .related-card img {
        width: 100%;
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    #new-arrivals-scroll .product-card img {
        height: 200px !important;
        object-fit: cover !important;
        background: #fff !important;
        border-radius: 8px;
        display: block;
    }

    #new-arrivals-scroll .product-card {
        padding: 12px;
        background: #fff !important;
        overflow: hidden;
    }
}

/* CHECKOUT PAGE */
@media (max-width: 768px) {

    .checkout-page {
        padding: 0 16px 40px;
        box-sizing: border-box;
    }

    .checkout-page h1 {
        font-size: 36px;
        text-align: center;
        margin-bottom: 24px;
    }

    .checkout-wrapper {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .checkout-left,
    .checkout-right {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        border-radius: 12px;
    }

    .checkout-left h2,
    .checkout-right h2 {
        font-size: 22px;
        margin-bottom: 16px;
        text-align: left;
    }

    .checkout-form .input-group input {
        font-size: 15px;
        padding: 12px;
    }

    #orderSummary {
        margin-bottom: 20px;
    }

    .checkout-pay-btn {
        width: 100%;
        padding: 16px;
        font-size: 18px;
        border-radius: 10px;
        margin-top: 10px;
    }

    .dash-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
        margin-top: 12px;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {

    .mobile-cart-link {
        display: inline-flex !important;
        align-items: center;
        padding: 16px 22px;
        font-size: 16px;
        gap: 0 !important;
    }

    .mobile-cart-text {
        display: inline-block;
        margin: 0 !important;
        padding: 0 !important;
    }

    #cartCountMobile {
        position: relative !important;
        top: -4px !important;
        margin-left: -15px !important;
        background: black !important;
        color: white !important;
        width: 18px !important;
        height: 18px !important;
        border-radius: 50% !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        display: inline-flex !important;
        justify-content: center;
        align-items: center;
        line-height: 1;
    }
}

@media (max-width: 768px) {
    .order-product-full {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .order-product-img {
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
    }

    .order-product-info {
        width: 100%;
        box-sizing: border-box;
        font-size: 15px;
        line-height: 1.55;
    }
}

@media (max-width: 768px) {
    .receipt-container {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .receipt-card {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {

    /* Stack admin sections */
    .admin-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .admin-card {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    /* Compress + stack filters */
    .admin-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .admin-controls input,
    .admin-controls select,
    .admin-controls button {
        width: 100%;
        font-size: 15px;
        padding: 14px;
        box-sizing: border-box;
    }

    /* Orders list: compressed + scrollable */
    .orders-scroll {
        max-height: 300px;        /* compressed height */
        overflow-y: auto;         /* scrollable */
        border-radius: 10px;
        border: 2px solid #7A8A6F40;
    }

    #ordersTable {
        width: 100%;
        table-layout: fixed;      /* compress columns */
    }

    #ordersTable th,
    #ordersTable td {
        font-size: 13px;
        padding: 8px;
        word-wrap: break-word;
        text-align: left;
    }

    /* Order details */
    .order-details-box {
        font-size: 15px;
        line-height: 1.5;
    }

    /* Items inside order details */
    .admin-item {
        flex-direction: column;
        gap: 10px;
    }

    .admin-item-img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 55vh;
        padding: 30px 12px;
    }

    .hero-inner h1 {
        font-size: 2.4rem;
    }

    .hero-inner p {
        font-size: 1rem;
    }

    .featured-collection {
        padding: 40px 20px;
    }

    .featured-collection-grid {
        grid-template-columns: 1fr;
    }

    .brand-statement {
        padding: 40px 20px;
    }
}
