/* ============================================================
   GLOBAL RESET
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

.site-wrapper {
    max-width: 100%;
    overflow-x: hidden;
    min-width: 320px;
}


/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 2px;
    width: 50px;
    height: 50px;
    background-color: #ff4d8f;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#scrollTopBtn:hover {
    background-color: #ff1a70;
    transform: translateY(-5px);
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    display: flex;
    align-items: center;
    padding: clamp(40px, 5vh, 60px) clamp(30px, 4vw, 50px);
    background-image: url("/img/homepage/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 520px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.hero-content h1 {
    font-size: clamp(42px, 4vw, 56px);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #333;
}

.hero-content p {
    font-size: clamp(18px, 1.5vw, 20px);
    color: #666;
    margin-bottom: 30px;
}

.shop-btn {
    background: linear-gradient(135deg, #ff4d8f 0%, #ff6ba8 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s;
}

.shop-btn:hover {
    transform: translateY(-2px);
}


/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    padding: 20px 50px;
    background-color: #f9f9f9;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: #ff4d8f;
}

.breadcrumb-nav span {
    color: #999;
}

.breadcrumb-nav .current {
    color: #333;
    font-weight: 600;
}


/* ============================================================
   SHOP LAYOUT
   ============================================================ */
.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 50px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.shop-header {
    text-align: center;
    margin-bottom: 50px;
}

.shop-header h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 15px;
}

.shop-header p {
    font-size: 18px;
    color: #666;
}


/* ============================================================
   FILTERS SIDEBAR
   ============================================================ */
.filters-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.filters-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.filters-overlay.active {
    display: block;
}

.filters-sidebar.mobile-active {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: white;
    z-index: 9999;
    overflow-y: auto;
    padding: 80px 30px 30px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.filter-close-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #333;
}

.filters-sidebar.mobile-active .filter-close-btn {
    display: block;
}

.filters-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.filter-group {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 15px;
    user-select: none;
}

.filter-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.filter-header span {
    font-size: 20px;
    color: #666;
    transition: transform 0.3s ease;
    display: inline-block;
    font-weight: bold;
}

.filter-arrow {
    transition: transform 0.3s ease;
    transform: rotate(90deg);
}

.filter-group.collapsed .filter-header .filter-arrow {
    transform: rotate(-90deg);
}

.filter-group.collapsed .filter-options,
.filter-group.collapsed .size-options,
.filter-group.collapsed .price-range {
    display: none;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-option label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ddd;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.size-btn:hover,
.size-btn.active {
    border-color: #ff4d8f;
    background: #fff0f6;
    color: #ff4d8f;
}

.price-range {
    margin-top: 15px;
}

.price-slider {
    width: 100%;
    margin: 20px 0;
}

.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-input {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 5px;
    flex: 1;
}

.price-input input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
}


/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-section {
    flex: 1;
}

.products-header {
    text-align: center;
    margin-bottom: 40px;
}

.products-header h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    gap: 20px;
}

.controls-top {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.mobile-filter-btn:hover {
    border-color: #ff4d8f;
    color: #ff4d8f;
}

.mobile-filter-btn svg {
    width: 18px;
    height: 18px;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

/* View toggle buttons */
.view-btn,
.view-list-btn,
.view-grid-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
    padding: 0;
}

.view-btn:hover,
.view-btn.active,
.view-list-btn:hover,
.view-list-btn.active,
.view-grid-btn:hover,
.view-grid-btn.active {
    border-color: #e8557a;
    background: #fff0f6;
    color: #e8557a;
}

.view-list-btn.active,
.view-grid-btn.active {
    background: #e8557a;
    border-color: #e8557a;
    color: #fff;
}

.products-info {
    font-size: 14px;
    color: #666;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-dropdown select {
    padding: 8px 30px 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}


/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.featured-products .products-grid {
    grid-template-columns: repeat(4, 1fr);
}

.pd-related .products-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Hide dots on desktop */
.product-dots {
    display: none;
}


/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    flex: 1;
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.product-icons {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-card:hover .product-icons {
    opacity: 1;
    visibility: visible;
}

.product-icons img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-icons img:hover {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    text-align: center;
    flex-shrink: 0;
}

.product-info a {
    text-decoration: none;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.product-name {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Product action buttons (homepage featured) */
.product-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.action-btn {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 18px;
}


/* ============================================================
   LIST VIEW
   ============================================================ */
.products-grid.list-view {
    grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
    flex-direction: row;
    align-items: center;
    height: 140px;
}

.products-grid.list-view .product-image-wrapper {
    width: 140px;
    height: 140px;
    flex: 0 0 140px;
}

.products-grid.list-view .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-grid.list-view .product-info {
    flex: 1;
    padding: 16px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.products-grid.list-view .product-icons {
    position: static;
    flex-direction: row;
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
}


/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination button {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination button:hover {
    border-color: #ff4d8f;
    color: #ff4d8f;
}

.pagination button.active {
    background: #ff4d8f;
    color: white;
    border-color: #ff4d8f;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* ============================================================
   FEATURED PRODUCTS SECTION
   ============================================================ */
.featured-products {
    padding: clamp(40px, 5vh, 60px) clamp(20px, 4vw, 50px);
    background-color: #fafafa;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: clamp(30px, 3vw, 34px);
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

.section-header p {
    font-size: clamp(17px, 1.5vw, 18px);
    color: #000000;
}


/* ============================================================
   PROMO BANNERS
   ============================================================ */
.promo-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 2vw, 30px);
    padding: 0 clamp(20px, 4vw, 50px) clamp(40px, 5vh, 60px);
}

.promo-banner {
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.promo-title {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.promo-description {
    font-size: 16px;
    color: #000000;
    margin-bottom: 25px;
}

.promo-btn {
    background: white;
    color: #333;
    padding: 12px 30px;
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.promo-btn:hover {
    background: #ff4f8b;
    color: white;
}

.promo-brand {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    z-index: 2;
}


/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(30px, 4vh, 40px) clamp(20px, 4vw, 50px);
    background-color: #4a4a4a;
    gap: clamp(20px, 2vw, 30px);
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 200px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.feature-text h3 {
    font-size: 16px;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 13px;
    color: #cccccc;
}


/* ============================================================
   CUSTOMER FAVORITES SECTION
   ============================================================ */
.customer-favorites {
    padding: clamp(40px, 5vh, 60px) clamp(20px, 4vw, 50px);
    background-color: #fafafa;
}

.favorites-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.favorites-hero {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.favorites-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.favorites-hero-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #333;
    z-index: 2;
}

.favorites-hero-content h3 {
    color: #000000;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.favorites-hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.explore-btn {
    background: white;
    color: #333;
    padding: 12px 30px;
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.explore-btn:hover {
    background: #ff4f8b;
    color: white;
}

.favorites-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.favorites-products .product-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}


/* ============================================================
   OUR STORY SECTION
   ============================================================ */
.our-story {
    padding: clamp(40px, 5vh, 60px) clamp(20px, 4vw, 50px);
    background: linear-gradient(135deg, #ffb3d9 0%, #ffc9e3 100%);
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 {
    font-size: 42px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
}

.story-content h3 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.story-content h3:first-of-type {
    margin-top: 0;
}

.story-content p {
    font-size: 16px;
    color: #000;
    line-height: 1.6;
    margin-bottom: 20px;
}

.story-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
}

.story-btn {
    background: white;
    color: #333;
    padding: 15px 50px;
    border: 2px solid #333;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.story-btn:hover {
    background: #ff4f8b;
    color: white;
}

.story-guarantee {
    font-size: 14px;
    color: #000;
    text-align: center;
}


/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section {
    padding: clamp(40px, 5vh, 60px) clamp(20px, 4vw, 50px);
    background-color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.blog-button-wrapper {
    text-align: center;
}

.view-all-btn {
    background: white;
    color: #333;
    padding: 15px 40px;
    border: 2px solid #333;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.view-all-btn:hover {
    background: #ff4f8b;
    color: white;
}


/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter {
    padding: clamp(30px, 4vh, 40px) clamp(20px, 4vw, 50px);
    background: linear-gradient(135deg, #ffb3d9 0%, #ffc9e3 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(20px, 2vw, 30px);
    flex-wrap: wrap;
}

.newsletter-content h2 {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 8px;
}

.newsletter-content p {
    font-size: 14px;
    color: #000000;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 300px;
    outline: none;
}

.subscribe-btn {
    padding: 12px 30px;
    background: white;
    color: #333;
    border: 2px solid #333;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.subscribe-btn:hover {
    background: #ff4f8b;
    color: white;
}

.newsletter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
}


/* ============================================================
   BRANDS SECTION
   ============================================================ */
.brands {
    display: flex;
    align-items: center;
    padding: 50px 0;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    overflow: hidden;
    position: relative;
}

.brands-slider {
    display: flex;
    gap: 80px;
    animation: slideLeft 15s linear infinite;
    padding: 0 40px;
}

@keyframes slideLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brands-slider:hover {
    animation-play-state: paused;
}

.brand-logo {
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.brand-logo:hover {
    opacity: 1;
}

.brand-logo img {
    height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}


/* ============================================================
   SEARCH SUGGESTIONS
   ============================================================ */
.search-box {
    position: relative;
    width: 300px;
}

.search-suggestions {
    position: absolute;
    background: #fff;
    border: 1px solid #f0d8d0;
    max-height: 350px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
    border-radius: 12px;
    padding: 6px;
    top: 120px;
    width: 320px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 2px 8px rgba(232,85,122,0.06);
    scrollbar-width: thin;
    scrollbar-color: #f0d8d0 transparent;
}

.search-suggestions::-webkit-scrollbar {
    width: 4px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: #f0d8d0;
    border-radius: 4px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    text-decoration: none;
    color: #2a1a1f;
    border-radius: 8px;
    gap: 12px;
    transition: background 0.15s;
    border-bottom: none;
}

.suggestion-item:not(:last-child) {
    border-bottom: 1px solid #faf0ed;
}

.suggestion-item:hover {
    background: #ffc9e3;
}

.suggestion-item img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f0e0d8;
    flex-shrink: 0;
}

.suggestion-name {
    font-size: 13.5px;
    font-weight: 500;
    color: #2a1a1f;
    line-height: 1.3;
}

.suggestion-price {
    font-size: 12.5px;
    color: #e8557a;
    margin-top: 2px;
    font-weight: 500;
}

.no-result {
    padding: 10px;
    text-align: center;
    display: flex;
}


/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.pd-wrapper {
    display: flex;
    gap: 28px;
    max-width: 900px;
    margin: 32px auto 48px;
    padding: 0 20px;
    align-items: flex-start;
}

.pd-gallery {
    flex: 0 0 600px;
    max-width: 600px;
}

.pd-main-img-box {
    width: 100%;
    height: 555px;
    aspect-ratio: 1 / 1;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-main-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pd-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.pd-thumb {
    width: 80px;
    height: 80px;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #fafafa;
    transition: border-color .2s;
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pd-thumb.active,
.pd-thumb:hover {
    border-color: #222;
}

.pd-card {
    flex: 1;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 28px 26px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    background: #fff;
}

.pd-title {
    font-size: 25px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
}

.pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 25px;
}

.pd-price-label { font-size: 16px; font-weight: 500; }
.pd-price       { font-size: 20px; font-weight: 700; color: #1a1a1a; }
.pd-price-old   { font-size: 14px; color: #aaa; text-decoration: line-through; }

.pd-option-row  { margin-bottom: 25px; }

.pd-option-label {
    font-size: 16px;
    margin: 0 0 8px;
    font-weight: 500;
}

.pd-option-label strong { color: #1a1a1a; }

.pd-sizes { display: flex; gap: 8px; flex-wrap: wrap; }

.pd-size-btn {
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: all .2s;
}

.pd-size-btn:hover { border-color: #333; }

.pd-size-btn.active {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: #fff;
}

.pd-colors { display: flex; gap: 10px; flex-wrap: wrap; }

.pd-color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .2s, border-color .2s;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.pd-color:hover  { transform: scale(1.1); }
.pd-color.active { outline: 2px solid #1a1a1a; }

.pd-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.pd-qty-btn {
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    transition: background .15s;
}

.pd-qty-btn:hover { background: #f5f5f5; }

.pd-qty input {
    width: 44px;
    height: 36px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    -moz-appearance: textfield;
}

.pd-qty input::-webkit-outer-spin-button,
.pd-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.pd-actions {
    display: flex;
    gap: 10px;
    margin: 25px 0;
}

.pd-btn-cartbac {
    flex: 1;
    padding: 13px 0;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    transition: opacity .2s;
}

.pd-btn-cart,
.pd-btn-quote {
    background: #e91e8c;
    color: #fff;
}

.pd-btn-buy {
    background: #ffb3d9;
    color: #000;
    padding: 15px 40px;
    border: 1px solid #ff4d8f;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s;
}

.pd-btn-cart:hover,
.pd-btn-buy:hover {
    transform: translateY(-2px);
}

.pd-delivery {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 14px;
}

.pd-delivery-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
}

.pd-delivery-row svg { flex-shrink: 0; color: #555; }

.pd-payment { text-align: center; padding-top: 6px; }

.pd-payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.pd-payment-icons img { height: 35px; object-fit: contain; }

.pd-secure { font-size: 13px; color: #555; margin: 0; }

.pd-description {
    max-width: 1400px;
    margin: 48px auto;
    padding: 0 20px;
    align-items: flex-start;
}

.pd-short-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.pd-read-more {
    font-weight: 500;
    color: #000;
    margin-left: 5px;
    text-decoration: none;
}

.pd-read-more:hover { text-decoration: underline; }

.pd-description h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
}

.pd-description h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.pd-desc-body {
    font-size: 14px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 20px;
}

.pd-benefits h3 { margin-top: 20px; }

.pd-benefits ul {
    padding-left: 18px;
    margin: 0;
}

.pd-benefits ul li {
    font-size: 14px;
    color: #555;
    line-height: 2;
}

.pd-related {
    max-width: 1400px;
    margin: 70px auto;
    padding: 0 20px;
    text-align: center;
}

.pd-related h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}


/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 64em) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-banners {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 48em) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-container {
        padding: 40px 30px;
    }

    .newsletter {
        padding: 40px 30px;
    }
}


/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 30em) {

    /* Hero */
    .hero {
        flex-direction: column;
        padding: 50px 30px 70px;
        background-image: url("/img/homepage/hero-mobile.jpeg") !important;
        background-position: center center;
        background-size: cover;
        justify-content: center;
    }   

    .hero-content {
        padding: 0;
        text-align: left;
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }

    .hero-content h1 {
        font-size: 43px;
        line-height: 1.15;
        margin-bottom: 20px;
        font-weight: 900;
        text-align: left;
        color: #000;
    }

    .hero-content p {
        font-size: 21px;
        margin-bottom: 40px;
        color: #000;
        text-align: left;
        line-height: 1.4;
    }

    .shop-btn {
        width: auto;
        padding: 20px 60px;
        font-size: 21px;
        font-weight: 600;
        box-shadow: 0 6px 20px rgba(255, 77, 143, 0.3);
        border-radius: 10px;
        display: inline-block;
        text-align: center;
    }

    /* Breadcrumb */
    .breadcrumb {
        padding: 15px 20px;
    }

    .breadcrumb-nav {
        font-size: 13px;
    }

    /* Shop */
    .shop-container {
        padding: 30px 20px;
        flex-direction: column;
    }

    /* Filters */
    .mobile-filter-btn {
        display: flex;
        padding: 8px 15px;
        font-size: 14px;
    }

    .mobile-filter-btn svg {
        width: 16px;
        height: 16px;
    }

    .filters-sidebar {
        width: 80%;
        display: none;
    }

    .filters-sidebar.mobile-active {
        display: block;
    }

    /* Controls */
    .products-controls {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .controls-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .view-toggle {
        gap: 8px;
        flex-shrink: 0;
    }

    .view-btn,
    .view-list-btn,
    .view-grid-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .products-info {
        display: none;
    }

    .sort-dropdown {
        gap: 5px;
        flex: 1;
        max-width: 180px;
    }

    .sort-dropdown label {
        display: none;
    }

    .sort-dropdown select {
        width: 100%;
        font-size: 13px;
        padding: 8px 25px 8px 10px;
    }

    /* Products grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .pd-related .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 15px 10px;
    }

    .product-price {
        font-size: 16px;
    }

    .product-name {
        font-size: 13px;
    }

    .product-icons img {
        width: 40px;
        height: 40px;
    }

    /* Featured products — horizontal scroll */
    .featured-products {
        padding: 40px 20px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .featured-products .products-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 10px;
        grid-template-columns: unset;
    }

    .featured-products .products-grid::-webkit-scrollbar {
        display: none;
    }

    .featured-products .products-grid .product-card {
        flex: 0 0 100%;
        scroll-snap-align: center;
        margin: 0 10px;
    }

    /* Dots */
    .product-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .product-dots .dot {
        width: 12px;
        height: 12px;
        background: #333;
        border-radius: 50%;
        display: inline-block;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .product-dots .dot.active {
        background: #ff4d8f;
        transform: scale(1.2);
    }

    /* Promo banners */
    .promo-banners {
        padding: 0 0 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .promo-banner {
        padding: 40px 30px;
        width: 420px;
        height: 420px;
        min-height: 420px;
        max-width: 100%;
        margin: 0 auto 20px;
        position: relative;
        z-index: 1;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .promo-banner::before {
        display: none;
    }

    .promo-content {
        position: relative;
        z-index: 10;
        background: rgba(255, 255, 255, 0.85);
        padding: 20px;
        border-radius: 8px;
        backdrop-filter: blur(5px);
    }

    .promo-title {
        font-size: 20px;
        position: relative;
        z-index: 10;
        color: #000;
        font-weight: bold;
    }

    .promo-description {
        position: relative;
        z-index: 10;
        color: #000;
    }

    .promo-btn {
        position: relative;
        z-index: 10;
    }

    /* Features */
    .features {
        padding: 30px 20px;
        gap: 20px;
    }

    .feature-item {
        min-width: 100%;
    }

    /* Customer favorites */
    .customer-favorites {
        padding: 40px 20px;
    }

    .favorites-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .favorites-products {
        grid-template-columns: 1fr;
    }

    .favorites-hero-content {
        left: 20px;
        bottom: 20px;
    }

    .favorites-hero-content h3 {
        font-size: 24px;
    }

    /* Our story */
    .our-story {
        padding: 40px 20px;
    }

    .story-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .story-content h2 {
        font-size: 28px;
    }

    .story-content h3 {
        font-size: 18px;
    }

    /* Blog */
    .blog-section {
        padding: 40px 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Newsletter */
    .newsletter {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-input {
        width: 100% !important;
    }

    .subscribe-btn {
        width: 100%;
    }

    /* Brands */
    .brands {
        padding: 40px 0;
    }

    .brands-slider {
        gap: 40px;
    }

    .brand-logo img {
        height: 45px;
        max-width: 120px;
    }

    /* Product detail */
    .pd-wrapper {
        flex-direction: column;
    }

    .pd-gallery {
        flex: unset;
        max-width: 100%;
        width: 100%;
    }

    .pd-card {
        padding: 20px 16px;
    }

    .pd-actions {
        flex-direction: column;
    }
}


/* mobile menu css */

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #ffd6eb 0%,  #fff0f6 100%) !important;
    z-index: 9999;
    transition: left 0.3s ease;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 25px rgba(255, 77, 143, 0.2);
}

.mobile-nav-logo {
    text-align: center;
    padding: 10px 0 20px;
    border-bottom: 1px solid rgba(255, 77, 143, 0.2);
    margin-bottom: 10px;
}

.mobile-nav-logo img {
    height: 120px; /* was too big, reduced */
    width: auto;
}

.mobile-menu-close {
    position: absolute;
    top: 12px;
    right: 15px;
    color: #ff4d8f;
    font-size: 26px;
    cursor: pointer;
    background: rgba(255, 77, 143, 0.1);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mobile-nav-overlay nav {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    flex: 1;
    margin-top: 10px;
}

.mobile-nav-overlay nav a {
    color: #333 !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 77, 143, 0.12);
    display: flex !important;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.mobile-nav-overlay nav a:hover {
    background: rgba(255, 77, 143, 0.1);
    color: #ff4d8f !important;
    padding-left: 20px;
}

.mobile-nav-contact {
    margin-top: auto; /* pushes to bottom */
    padding-top: 20px;
    border-top: 1px solid rgba(255, 77, 143, 0.2);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff4d8f;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    background: rgba(255, 77, 143, 0.08);
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-nav-contact a:hover {
    background: rgba(255, 77, 143, 0.18);
}


/* mobile search bar field */
.mobile-search-bar {
    display: none;
    position: absolute;
    top: 70px; /* matches your header height */
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(135deg, #ff4d8f 0%, #ff6ba8 100%);
    z-index: 1000;
    gap: 10px;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mobile-search-bar.active {
    display: flex;
}

.mobile-search-bar input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 25px;
    border: none;
    outline: none;
    font-size: 14px;
}

.mobile-search-bar button {
    background: none;
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}

.mobile-suggestions {
    position: fixed;
    top: 165px;
    left: 10px;           /* 👈 inset from left */
    width: calc(100% - 20px); /* 👈 subtract both sides */
    z-index: 1000;
    background: white;
    border-radius: 12px;  /* 👈 rounded corners look cleaner */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-height: 60vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .desktop-search {
        display: none !important;
    }

    .mobile-icons-wrapper {
        display: flex;
    }
}

/* Tablet Portrait (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .pd-gallery{
        max-width: 400px;
    }
    
}