/* Custom Theme CSS - Gift Shop E-Commerce Website */

/* Reset & General Styles */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

#page {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--charcoal);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--charcoal);
    margin-top: 0;
    font-weight: 600;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--warm-pink);
}

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

.giftshop-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* =============================================
   STICKY HEADER WRAPPER SYSTEM
   ============================================= */

/* Full sticky wrapper: all header rows live here */
.site-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 200;
    background-color: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    width: 100%;
}

/* ---- Row 1: Topbar marquee ---- */
.giftshop-topbar {
    background-color: var(--rose-gold);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    max-height: 42px;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease;
    opacity: 1;
    padding: 8px 0;
}

/* When scrolled: topbar collapses */
.site-header-wrapper.header-scrolled .giftshop-topbar {
    max-height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
}

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

/* Marquee animation */
.topbar-marquee-wrap {
    overflow: hidden;
    flex: 1;
}

.topbar-marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeScroll 18s linear infinite;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

.topbar-right a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-right a:hover {
    color: var(--cream);
}

/* ---- Row 2: Logo row ---- */
.header-logo-row {
    background-color: var(--white);
    max-height: 80px;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease;
    opacity: 1;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-grey);
}

/* When scrolled: logo row collapses */
.site-header-wrapper.header-scrolled .header-logo-row {
    max-height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    border-bottom: none;
}

.header-logo-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ---- Row 3: Search row ---- */
.header-search-row {
    background-color: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid var(--light-grey);
}

/* ---- Legacy header-grid removed — layout is now row-based ---- */

/* Logo */
.site-title-link {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-headings);
    font-size: 24px;
    font-weight: 700;
    color: var(--rose-gold);
    line-height: 1;
}

.logo-sub {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--charcoal);
    margin-top: 2px;
}

/* Search suggestions container */
.header-search-container {
    position: relative;
}

.giftshop-search-form {
    display: flex;
    position: relative;
    border: 1px solid var(--border-grey);
    border-radius: 50px;
    overflow: hidden;
    background-color: var(--cream);
    transition: var(--transition);
}

.giftshop-search-form:focus-within {
    border-color: var(--rose-gold);
    box-shadow: 0 0 8px rgba(183, 110, 121, 0.2);
}

.giftshop-search-input {
    width: 100%;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--charcoal);
    outline: none;
}

.giftshop-search-submit {
    background: transparent;
    border: none;
    padding: 0 20px;
    color: var(--rose-gold);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.giftshop-search-submit:hover {
    color: var(--warm-pink);
}

/* AJAX Suggestions */
.giftshop-suggestions-dropdown {
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--light-grey);
    padding: 10px 0;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    transition: var(--transition);
}

.suggestion-item:hover {
    background-color: var(--cream);
}

.suggestion-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.suggestion-info {
    flex: 1;
}

.suggestion-title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0;
}

.suggestion-price {
    font-size: 12px;
    color: var(--teal);
    font-weight: 500;
    margin-top: 2px;
}

.suggestion-no-results {
    padding: 15px 20px;
    text-align: center;
    color: var(--charcoal);
    font-size: 14px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--charcoal);
    font-weight: 500;
    font-size: 14px;
}

.header-action-btn i {
    font-size: 20px;
    color: var(--rose-gold);
    transition: var(--transition);
}

.header-action-btn:hover {
    color: var(--rose-gold);
}

.header-action-btn:hover i {
    transform: scale(1.1);
}

.cart-icon-wrapper {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--warm-pink);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

/* Navigation */
.giftshop-navigation {
    border-top: 1px solid var(--light-grey);
    background-color: var(--white);
}

.navigation-flex {
    display: flex;
    justify-content: center;
}

.nav-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 40px;
}

.nav-menu-list li {
    position: relative;
}

.nav-menu-list a {
    display: block;
    padding: 15px 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--charcoal);
}

.nav-menu-list a:hover,
.nav-menu-list li.current-menu-item > a {
    color: var(--rose-gold);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

/* Shop Layout Wrapper */
.giftshop-shop-layout-wrapper {
    padding: 50px 0;
}

.shop-grid-flex {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Sidebar Filters */
.giftshop-shop-sidebar {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.sidebar-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--light-grey);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

#close-sidebar-filters {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--charcoal);
}

.sidebar-filter-toggle-mobile {
    display: none;
    margin-bottom: 20px;
}

.sidebar-filter-toggle-mobile button {
    background-color: var(--rose-gold);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    font-family: var(--font-body);
}

.giftshop-sidebar-widget {
    margin-bottom: 30px;
}

.giftshop-sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    border-bottom: 2px solid var(--warm-pink-light);
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.giftshop-sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.giftshop-sidebar-widget li {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.giftshop-sidebar-widget li a {
    color: var(--charcoal);
    font-size: 14px;
}

.giftshop-sidebar-widget li a:hover {
    color: var(--rose-gold);
    padding-left: 5px;
}

.cat-count {
    font-size: 12px;
    color: #999;
}

.price-filter-list li {
    display: block;
    margin-bottom: 8px;
}

.price-filter-list li a {
    display: block;
    padding: 8px 15px;
    background-color: var(--cream);
    border-radius: 4px;
    border: 1px solid var(--light-grey);
    text-align: center;
}

.price-filter-list li a:hover {
    background-color: var(--rose-gold-light);
    color: var(--rose-gold);
    border-color: var(--rose-gold);
}

.clear-price-filter {
    font-size: 12px !important;
    background: transparent !important;
    border-color: transparent !important;
    color: var(--warm-pink) !important;
}

/* Customizable Checkbox Container */
.customizable-checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

.customizable-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--cream);
    border: 1px solid var(--border-grey);
    border-radius: 4px;
}

.customizable-checkbox-container:hover input ~ .checkbox-checkmark {
    background-color: var(--light-grey);
}

.customizable-checkbox-container input:checked ~ .checkbox-checkmark {
    background-color: var(--teal);
    border-color: var(--teal);
}

.checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.customizable-checkbox-container input:checked ~ .checkbox-checkmark:after {
    display: block;
}

.customizable-checkbox-container .checkbox-checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Shop Grid main content */
.shop-ordering-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.woocommerce-products-header {
    margin-bottom: 25px;
}

/* Products loop grid */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

ul.products::before,
ul.products::after {
    display: none !important;
}

/* Product Card */
.giftshop-product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-grey);
    position: relative;
    display: flex;
    flex-direction: column;
}

.giftshop-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--rose-gold-light);
}

.product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Badges overlay */
.product-badges-container {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 5;
}

.product-badge {
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.discount-badge {
    background-color: var(--green);
}

.customizable-badge {
    background-color: var(--teal);
}

/* Image gallery swap on hover */
.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect ratio square container */
    background-color: var(--cream);
    overflow: hidden;
}

.product-image-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.primary-product-image,
.hover-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hover-product-image {
    opacity: 0;
    z-index: 2;
}

.giftshop-product-card:hover .hover-product-image {
    opacity: 1;
}

.giftshop-product-card:hover .primary-product-image {
    opacity: 0;
}

.giftshop-product-card:hover .hover-product-image,
.giftshop-product-card:hover .primary-product-image {
    transform: scale(1.05);
}

/* Quick View Overlay Button */
.quick-view-overlay-btn {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background-color: rgba(44, 44, 44, 0.85);
    color: var(--white);
    border: none;
    padding: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.giftshop-product-card:hover .quick-view-overlay-btn {
    bottom: 0;
}

.quick-view-overlay-btn:hover {
    background-color: var(--rose-gold);
}

/* Info Wrapper */
.product-info-wrapper {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.woocommerce-loop-product__title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 42px; /* Fixed height for 2 lines limit */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.woocommerce-loop-product__title a {
    color: var(--charcoal);
}

.woocommerce-loop-product__title a:hover {
    color: var(--rose-gold);
}

.product-rating-stars {
    color: #FFC107;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-rating-stars-placeholder {
    color: #e0e0e0;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-info-wrapper .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 15px;
    display: block;
}

.product-info-wrapper .price del {
    color: #999;
    font-size: 14px;
    font-weight: 500;
    margin-right: 5px;
}

.product-info-wrapper .price ins {
    text-decoration: none;
    color: var(--teal);
}

/* Product Card CTA Add to Cart Button */
.product-card-actions {
    margin-top: auto;
}

.product-card-actions .button,
.giftshop-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 15px;
    background-color: var(--rose-gold) !important;
    color: var(--white) !important;
    border: 1px solid var(--rose-gold) !important;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    box-sizing: border-box;
}

.product-card-actions .button:hover,
.giftshop-card-btn:hover {
    background-color: var(--warm-pink) !important;
    border-color: var(--warm-pink) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 10px rgba(183, 110, 121, 0.3);
}

.select-options-btn {
    background-color: var(--rose-gold) !important;
    color: var(--white) !important;
}

.select-options-btn:hover {
    background-color: var(--warm-pink) !important;
    border-color: var(--warm-pink) !important;
}

/* Single Product Page Layout */
.giftshop-single-product-wrapper {
    padding: 60px 0;
}

.giftshop-single-product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Gallery Column */
.giftshop-product-gallery-column .woocommerce-product-gallery {
    opacity: 1 !important;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--light-grey);
    box-shadow: var(--shadow);
}

/* Summary Details Column */
.giftshop-product-summary-column {
    display: flex;
    flex-direction: column;
}

.giftshop-product-summary-column .product_title {
    font-size: 32px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
    line-height: 1.2;
}

.giftshop-product-summary-column .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.giftshop-product-summary-column .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.giftshop-product-summary-column .price del {
    color: #999;
    font-size: 20px;
    font-weight: 500;
}

.giftshop-product-summary-column .price ins {
    text-decoration: none;
}

.giftshop-product-summary-column .woocommerce-product-details__short-description {
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Personalization Dynamic Form Box */
.giftshop-personalization-form-wrapper {
    background-color: var(--white);
    border: 1px solid var(--rose-gold-light);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(183, 110, 121, 0.05);
}

.giftshop-personalization-form-wrapper h4 {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--rose-gold);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--rose-gold-light);
    padding-bottom: 10px;
}

.giftshop-custom-field-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.giftshop-custom-field-group:last-child {
    margin-bottom: 0;
}

.giftshop-custom-field-group label {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.giftshop-custom-field-group label .required {
    color: var(--warm-pink);
    margin-left: 2px;
}

.giftshop-custom-field-group label .optional-label {
    font-size: 11px;
    font-weight: normal;
    color: #888;
    margin-left: 5px;
}

.giftshop-custom-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-grey);
    background-color: var(--cream);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--charcoal);
    box-sizing: border-box;
    transition: var(--transition);
}

.giftshop-custom-input:focus {
    border-color: var(--rose-gold);
    background-color: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1);
}

/* Character counters right aligned underneath */
.giftshop-char-counter {
    font-size: 11px;
    color: #888;
    text-align: right;
    margin-top: 4px;
    font-weight: 500;
}

/* Touch-friendly File Upload layout */
.giftshop-file-upload-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.giftshop-file-upload-label {
    background-color: var(--white);
    color: var(--rose-gold);
    border: 2px dashed var(--rose-gold-light);
    border-radius: var(--border-radius);
    padding: 12px 25px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px; /* Touch-friendly height */
    box-sizing: border-box;
    user-select: none;
}

.giftshop-file-upload-label:hover {
    background-color: var(--rose-gold-light);
    border-color: var(--rose-gold);
}

.giftshop-file-name-preview {
    font-size: 13px;
    color: #666;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Image preview thumbnails */
.giftshop-image-preview-thumbnail {
    margin-top: 12px;
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-grey);
    background-color: var(--cream);
}

.giftshop-image-preview-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.giftshop-remove-preview-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: rgba(214, 106, 138, 0.9);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
    padding: 0 0 2px 0;
}

.giftshop-remove-preview-btn:hover {
    background-color: var(--warm-pink);
}

/* WooCommerce Default Add to Cart Controls styling */
.giftshop-product-summary-column form.cart {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.giftshop-product-summary-column form.cart .quantity {
    display: inline-flex;
    margin-right: 0;
}

.giftshop-product-summary-column form.cart .quantity input.qty {
    width: 70px;
    height: 48px;
    border-radius: 50px 0 0 50px;
    border: 1px solid var(--border-grey);
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    background-color: var(--cream);
}

.giftshop-product-summary-column form.cart .single_add_to_cart_button {
    height: 48px;
    border-radius: 0 50px 50px 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    background-color: var(--rose-gold);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    flex-grow: 1;
}

.giftshop-product-summary-column form.cart .single_add_to_cart_button:hover {
    background-color: var(--warm-pink);
}

.giftshop-product-summary-column form.cart .quantity-btn-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Sticky/Order via WhatsApp button styling */
.giftshop-whatsapp-button-container {
    margin-top: 10px;
    width: 100%;
}

.giftshop-whatsapp-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    border-radius: 50px;
    background-color: #25D366 !important;
    color: var(--white) !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.giftshop-whatsapp-btn:hover {
    background-color: #128C7E !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transform: translateY(-2px);
}

.giftshop-whatsapp-btn:active {
    transform: translateY(0);
}

/* Bottom Tabs styling (Reviews, description, shipping) */
.woocommerce-tabs {
    margin-top: 60px;
    border-top: 1px solid var(--light-grey);
    padding-top: 40px;
}

.woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    border-bottom: 1px solid var(--light-grey);
}

.woocommerce-tabs ul.tabs li {
    padding: 0;
    margin: 0;
    border: none !important;
    background: transparent !important;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 15px 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: #888;
    position: relative;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--rose-gold);
}

.woocommerce-tabs ul.tabs li.active a::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--rose-gold);
}

.woocommerce-tabs .woocommerce-Tabs-panel {
    max-width: 800px;
    margin: 0 auto;
}

/* Footer layout widgets */
.giftshop-site-footer {
    background-color: var(--white);
    border-top: 1px solid var(--light-grey);
}

.footer-newsletter-section {
    background-color: var(--rose-gold-light);
    padding: 40px 0;
}

.newsletter-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.newsletter-info h3 {
    margin-bottom: 5px;
    color: var(--rose-gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-info p {
    margin: 0;
    color: var(--charcoal);
    font-size: 14px;
}

.giftshop-newsletter-form {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid var(--rose-gold);
    background-color: var(--white);
    width: 400px;
    max-width: 100%;
}

.giftshop-newsletter-form input {
    width: 100%;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 14px;
}

.giftshop-newsletter-form button {
    background-color: var(--rose-gold);
    color: var(--white);
    border: none;
    padding: 0 25px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.giftshop-newsletter-form button:hover {
    background-color: var(--warm-pink);
}

.footer-widgets-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--light-grey);
}

.footer-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-column h4.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--rose-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.footer-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rose-gold);
    font-size: 15px;
    border: 1px solid var(--rose-gold-light);
}

.footer-social-icons a:hover {
    background-color: var(--rose-gold);
    color: var(--white);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #555;
    font-size: 14px;
}

.footer-links-list a:hover {
    color: var(--rose-gold);
    padding-left: 5px;
}

.contact-column p {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-column p i {
    color: var(--rose-gold);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.footer-bottom-bar {
    padding: 25px 0;
    background-color: var(--cream);
    font-size: 13px;
    color: #777;
}

.bottom-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.bottom-bar-flex p {
    margin: 0;
}

.payment-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 24px;
    color: #888;
}

.payment-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quick View Modal UI */
.giftshop-quickview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.giftshop-quickview-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.quickview-modal-content {
    background-color: var(--white);
    width: 900px;
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    overflow-y: auto;
    padding: 40px;
    box-sizing: border-box;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.giftshop-quickview-modal.active .quickview-modal-content {
    transform: scale(1);
}

.quickview-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--charcoal);
    line-height: 1;
    padding: 5px;
    transition: var(--transition);
}

.quickview-close-btn:hover {
    color: var(--warm-pink);
}

.quickview-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.quickview-gallery img {
    border-radius: var(--border-radius);
    border: 1px solid var(--light-grey);
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* Media Queries for 100% Responsiveness & Mobile Alignment */

@media (max-width: 1024px) {
    .header-logo-flex {
        gap: 15px;
    }
    
    .nav-menu-list {
        gap: 20px;
    }
    
    .shop-grid-flex {
        grid-template-columns: 220px 1fr;
        gap: 20px;
    }
    
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .giftshop-single-product-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Logo always visible on mobile */
    .header-logo img,
    .header-logo .custom-logo {
        max-width: 120px !important;
        height: auto !important;
        display: block !important;
        visibility: visible !important;
    }

    /* Action icons always visible — only hide text labels */
    .header-action-btn {
        display: flex !important;
        visibility: visible !important;
    }
    
    .header-actions {
        gap: 8px;
        margin-right: 4px;
    }
    
    .header-actions .action-label {
        display: none !important;
    }
    
    /* Hide hamburger — always show nav openly on mobile */
    .mobile-menu-toggle {
        display: none !important;
    }

    /* Mobile: fixed header so logo + nav always stay on screen */
    .site-header-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 300;
    }

    /* Topbar on mobile: compact height */
    .giftshop-topbar {
        max-height: 34px;
        height: 34px;
        padding: 0 !important;
        display: flex;
        align-items: center;
    }

    /* Body padding is set dynamically by JS to avoid content hiding under fixed header */

    /* Nav always visible */
    .giftshop-navigation {
        display: block;
        border-top: 1px solid var(--light-grey);
        background-color: var(--white);
        box-shadow: none;
        padding: 0;
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    .giftshop-navigation.active {
        display: block;
    }

    /* On mobile scroll: nav bar turns red with white text */
    .site-header-wrapper.header-scrolled .giftshop-navigation {
        background-color: var(--rose-gold);
        border-top-color: transparent;
    }

    .site-header-wrapper.header-scrolled .giftshop-navigation .nav-menu-list a {
        color: var(--white) !important;
        border-right-color: rgba(255, 255, 255, 0.25);
    }

    .site-header-wrapper.header-scrolled .giftshop-navigation .nav-menu-list a:hover,
    .site-header-wrapper.header-scrolled .giftshop-navigation .nav-menu-list .current-menu-item > a {
        color: var(--white) !important;
        opacity: 0.8;
    }

    /* Horizontal scrollable nav menu row */
    .navigation-flex {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

    .navigation-flex::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .nav-menu-list {
        flex-direction: row;
        gap: 0;
        white-space: nowrap;
        flex-wrap: nowrap;
        width: max-content;
        min-width: 100%;
        justify-content: center;
    }

    .nav-menu-list a {
        padding: 11px 16px;
        border-bottom: none;
        font-size: 12px;
        letter-spacing: 0.5px;
        border-right: 1px solid var(--light-grey);
        transition: color 0.3s ease, border-color 0.3s ease;
    }

    .nav-menu-list li:last-child a {
        border-right: none;
    }
    
    /* Mobile logo row */
    .header-logo-row {
        max-height: 60px;
        padding: 8px 0;
        /* Always visible on mobile — never collapses */
        opacity: 1 !important;
        overflow: visible;
        border-bottom: 1px solid var(--light-grey);
    }

    /* On mobile scroll: topbar collapses (same as desktop) */
    .site-header-wrapper.header-scrolled .giftshop-topbar {
        max-height: 0;
        padding: 0;
        opacity: 0;
        overflow: hidden;
    }

    /* On mobile scroll: logo row stays — override desktop collapse */
    .site-header-wrapper.header-scrolled .header-logo-row {
        max-height: 60px;
        padding: 8px 0;
        opacity: 1;
        overflow: visible;
        border-bottom: 1px solid var(--light-grey);
    }

    /* On mobile scroll: search row collapses */
    .site-header-wrapper.header-scrolled .header-search-row {
        max-height: 0;
        padding: 0;
        opacity: 0;
        overflow: hidden;
        border-bottom: none;
    }

    /* Mobile search row — transition for smooth collapse */
    .header-search-row {
        padding: 8px 0;
        max-height: 60px;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
        opacity: 1;
    }

    .header-search-container {
        width: 100%;
    }
    
    /* Topbar: single row on mobile — marquee left, Track Order icon right */
    .topbar-flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Show "Track" icon + text on mobile topbar */
    .topbar-right {
        display: flex;
        flex-shrink: 0;
        margin-left: 10px;
    }

    .track-order-link {
        font-size: 11px;
        font-weight: 600;
        gap: 4px;
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    .track-order-link i {
        font-size: 14px;
    }
    
    /* Grid adjustments */
    .shop-grid-flex {
        grid-template-columns: 1fr;
    }
    
    /* Mobile slide-in sidebar */
    .giftshop-shop-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 280px;
        height: 100vh;
        z-index: 10000;
        box-shadow: 10px 0 30px rgba(0,0,0,0.15);
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .giftshop-shop-sidebar.active {
        left: 0;
    }
    
    .sidebar-header {
        display: flex;
    }
    
    .sidebar-filter-toggle-mobile {
        display: block;
    }
    
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    /* Single product stacked */
    .giftshop-single-product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Quick View stacked */
    .quickview-layout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Footer layout stacked */
    .newsletter-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .giftshop-newsletter-form {
        width: 100%;
    }
    
    .footer-grid-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .brand-column {
        display: none !important;
    }
    
    .bottom-bar-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    /* Hide secure payment icons on mobile */
    .payment-badges {
        display: none;
    }

    /* Fix product badges covering photos on mobile */
    .product-image-wrapper {
        order: 1;
    }
    .product-badges-container {
        position: static;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 5px;
        padding: 8px 12px 0 12px;
        order: 2;
        overflow: hidden;
    }
    .product-info-wrapper {
        order: 3;
        padding-top: 8px;
    }
    .product-badge {
        font-size: 10px;
        padding: 4px 10px;
        box-shadow: none;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .product-badges-container:not(:has(.product-badge)) {
        display: none !important;
    }
}

@media (max-width: 480px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .product-info-wrapper {
        padding: 12px !important;
    }
    
    .woocommerce-loop-product__title {
        font-size: 13px !important;
        height: 36px !important;
        margin-bottom: 4px !important;
    }
    
    .product-rating-stars,
    .product-rating-stars-placeholder {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }
    
    .product-info-wrapper .price {
        font-size: 15px !important;
        margin-top: 2px !important;
        margin-bottom: 8px !important;
    }
    
    .product-card-actions .button,
    .giftshop-card-btn {
        padding: 8px 10px !important;
        font-size: 11px !important;
    }
    
    /* Personalization Custom fields stacked vertically (vertical alignment) */
    .giftshop-personalization-form-wrapper {
        padding: 15px;
    }
    
    .giftshop-custom-field-group {
        width: 100%;
    }
    
    .giftshop-file-upload-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .giftshop-file-upload-label {
        width: 100%;
        justify-content: center;
    }
    
    .giftshop-file-name-preview {
        max-width: 100%;
        text-align: center;
    }
    
    /* Cart Quantity row styling stack */
    .giftshop-product-summary-column form.cart .quantity-btn-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .giftshop-product-summary-column form.cart .quantity input.qty {
        width: 100%;
        border-radius: 50px;
    }
    
    .giftshop-product-summary-column form.cart .single_add_to_cart_button {
        border-radius: 50px;
    }

    /* Adjust product badges for small mobile devices */
    .product-badges-container {
        padding: 6px 10px 0 10px;
        gap: 4px;
        flex-wrap: nowrap;
    }
    .product-info-wrapper {
        padding-top: 6px !important;
    }
    .product-badge {
        font-size: 9px;
        padding: 3px 7px;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ==========================================
   WooCommerce Grid & Card Float Overrides
   ========================================== */
ul.products li.product,
.giftshop-product-card {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* ==========================================
   Home Page / Front Page Custom Styles
   ========================================== */

/* 1. Hero Section */
.giftshop-hero-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--rose-gold-light) 0%, var(--warm-pink-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background-color: var(--white);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    color: var(--rose-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.hero-title {
    font-size: 54px;
    line-height: 1.15;
    margin-bottom: 20px;
    font-family: var(--font-headings);
    color: var(--charcoal);
}

.hero-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-cta-btn {
    box-sizing: border-box !important;
    background-color: var(--rose-gold) !important;
    color: var(--white) !important;
    padding: 15px 35px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    box-shadow: 0 5px 15px rgba(183, 110, 121, 0.4) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none !important;
    cursor: pointer;
}

.hero-cta-btn:hover {
    background-color: var(--warm-pink) !important;
    box-shadow: 0 8px 20px rgba(183, 110, 121, 0.5) !important;
    transform: translateY(-2px);
}

.hero-secondary-btn {
    box-sizing: border-box !important;
    background-color: var(--white) !important;
    color: var(--rose-gold) !important;
    border: 1px solid var(--rose-gold) !important;
    padding: 15px 35px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.hero-secondary-btn:hover {
    background-color: var(--cream) !important;
    transform: translateY(-2px);
}

.hero-image-pane {
    position: relative;
    height: 400px;
}

.hero-graphic-circle {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--rose-gold) 0%, rgba(255,255,255,0) 70%);
    opacity: 0.2;
    top: 40px;
    right: 40px;
}

.hero-floating-card {
    position: absolute;
    background-color: var(--white);
    padding: 16px 24px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    font-weight: 600;
    font-size: 14px;
    animation: floatAnim 6s ease-in-out infinite;
}

.hero-floating-card i {
    font-size: 20px;
    color: var(--warm-pink);
}

.hero-floating-card.card-1 {
    top: 80px;
    left: 10px;
}

.hero-floating-card.card-2 {
    bottom: 100px;
    right: 20px;
    animation-delay: 3s;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* 2. Global Section Headers */
.section-header-centered {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 35px auto;
}

.section-tagline {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rose-gold);
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 15px;
    line-height: 1.25;
}

.section-desc {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 3. Categories Grid */
.giftshop-categories-section {
    padding: 55px 0;
    background-color: var(--white);
}

.categories-grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    display: block;
    background-color: var(--cream);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--light-grey);
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--rose-gold-light);
    box-shadow: var(--shadow);
}

.category-image-wrapper {
    height: 200px;
    overflow: hidden;
    background-color: var(--white);
    position: relative;
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .category-image-wrapper img {
    transform: scale(1.06);
}

.mock-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rose-gold);
    background-color: var(--rose-gold-light);
    font-size: 44px;
}

.category-card-content {
    padding: 22px;
}

.category-card-content h3 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--rose-gold);
    transition: var(--transition);
}

.category-card:hover .category-card-content h3 {
    color: var(--warm-pink);
}

.category-action-link {
    font-size: 11px;
    font-weight: 700;
    color: var(--rose-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.category-card:hover .category-action-link {
    color: var(--warm-pink);
}

/* 4. Trending Grid & Mock Products */
.giftshop-trending-section {
    padding: 55px 0;
}

.mock-product-image {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cream);
    color: var(--rose-gold-light);
}

.mock-image-placeholder {
    transition: var(--transition);
}

.giftshop-product-card:hover .mock-image-placeholder {
    transform: scale(1.1);
    color: var(--rose-gold);
}

/* 5. Featured Products Section (between Why Choose Us & Testimonials) */
.giftshop-featured-products-section {
    padding: 55px 0;
    background: linear-gradient(160deg, #fff8f8 0%, var(--cream) 60%, #fff 100%);
    position: relative;
}

.giftshop-featured-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--rose-gold-light), var(--rose-gold), var(--rose-gold-light), transparent);
}

.featured-products-woo-wrap {
    margin-bottom: 30px;
}

.featured-products-woo-wrap .products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.featured-products-cta {
    text-align: center;
    margin-top: 10px;
}

.featured-products-view-all-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: var(--rose-gold) !important;
    color: var(--white) !important;
    padding: 16px 40px !important;
    border-radius: 50px !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    border: 2px solid var(--rose-gold) !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
    box-shadow: 0 6px 25px rgba(227, 30, 36, 0.25);
}

.featured-products-view-all-btn:hover {
    background: var(--white) !important;
    color: var(--rose-gold) !important;
    box-shadow: 0 8px 30px rgba(227, 30, 36, 0.35);
    transform: translateY(-3px);
}

.featured-products-view-all-btn i {
    transition: transform 0.3s ease;
}

.featured-products-view-all-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .featured-products-woo-wrap .products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .featured-products-woo-wrap .products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .featured-products-view-all-btn {
        padding: 14px 30px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .featured-products-woo-wrap .products {
        grid-template-columns: 1fr 1fr !important;
        gap: 14px !important;
    }
}

/* 5b. Why Choose Us */
.giftshop-why-choose-us {
    padding: 55px 0;
    background-color: var(--white);
}

.why-us-grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-us-card {
    text-align: center;
    padding: 35px 25px;
    background-color: var(--cream);
    border-radius: var(--border-radius);
    border: 1px solid var(--light-grey);
    transition: var(--transition);
}

.why-us-card:hover {
    transform: translateY(-6px);
    border-color: var(--rose-gold-light);
    box-shadow: var(--shadow);
}

.why-us-icon {
    font-size: 38px;
    color: var(--rose-gold);
    margin-bottom: 22px;
    transition: var(--transition);
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--warm-pink);
}

.why-us-card h3 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.why-us-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 6. Testimonials Slider */
.giftshop-testimonials-section {
    padding: 55px 0;
}

.testimonials-slider-container {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 55px;
    border: 1px solid var(--light-grey);
    box-shadow: var(--shadow);
    text-align: center;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    position: relative;
    width: 100%;
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-stars {
    color: #FFC107;
    font-size: 18px;
    margin-bottom: 22px;
}

.testimonial-text {
    font-family: var(--font-headings);
    font-size: 21px;
    font-style: italic;
    line-height: 1.65;
    color: var(--charcoal);
    margin-bottom: 30px;
}

.reviewer-meta h4 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--rose-gold);
}

.reviewer-meta span {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 35px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--cream);
    border: 1px solid var(--border-grey);
    cursor: pointer;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--rose-gold);
    color: var(--white);
    border-color: var(--rose-gold);
    transform: scale(1.05);
}

/* ==========================================
   Home Page Responsiveness Media Queries
   ========================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }
    
    .categories-grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .why-us-grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .giftshop-hero-section {
        padding: 30px 0;
    }

    /* Compact section padding on mobile */
    .giftshop-categories-section,
    .giftshop-trending-section,
    .giftshop-featured-products-section,
    .giftshop-why-choose-us,
    .giftshop-testimonials-section {
        padding: 35px 0;
    }

    /* Tighter section header spacing on mobile */
    .section-header-centered {
        margin-bottom: 20px;
    }

    .hero-grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    /* Hide hero description text on mobile — keep title + buttons only */
    .hero-description {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-pane {
        height: 250px;
    }
    
    .hero-graphic-circle {
        width: 240px;
        height: 240px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        top: 10px;
    }
    
    .hero-floating-card.card-1 {
        left: 10%;
        top: 20px;
    }
    
    .hero-floating-card.card-2 {
        right: 10%;
        bottom: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }

    /* Why Choose Us — hide tagline & description, 2 columns, hide paragraph text */
    .giftshop-why-choose-us .section-tagline,
    .giftshop-why-choose-us .section-desc {
        display: none;
    }

    .why-us-grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .why-us-card p {
        display: none;
    }

    .why-us-card {
        padding: 24px 16px;
    }

    .why-us-icon {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .why-us-card h3 {
        font-size: 13px;
        margin-bottom: 0;
    }

    /* Testimonials — hide description paragraph, keep title + slider */
    .giftshop-testimonials-section .section-desc {
        display: none;
    }

    /* Categories — hide tagline & description on mobile, keep h2 title */
    .giftshop-categories-section .section-tagline,
    .giftshop-categories-section .section-desc {
        display: none;
    }

    /* Tighter category name padding on mobile */
    .category-card-content {
        padding: 10px 14px;
    }

    .category-card-content h3 {
        font-size: 13px;
        margin-bottom: 0;
    }

    /* Trending Products — hide tagline & description on mobile, keep h2 title */
    .giftshop-trending-section .section-tagline,
    .giftshop-trending-section .section-desc {
        display: none;
    }

    /* Featured Products — hide tagline & description on mobile, keep h2 title */
    .giftshop-featured-products-section .section-tagline,
    .giftshop-featured-products-section .section-desc {
        display: none;
    }

    .testimonials-slider-container {
        padding: 30px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta-btn,
    .hero-secondary-btn {
        width: 100% !important;
        padding: 12px 20px !important;
        box-sizing: border-box !important;
    }
    
    .categories-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-image-pane {
        height: 130px !important;
    }
    
    .hero-graphic-circle {
        width: 140px !important;
        height: 140px !important;
        top: 0 !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }
    
    .hero-floating-card {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .hero-floating-card.card-1 {
        left: 5% !important;
        top: 10px !important;
        bottom: auto !important;
    }
    
    .hero-floating-card.card-2 {
        right: 5% !important;
        top: 60px !important;
        bottom: auto !important;
    }
}

/* ==========================================================================
   Contact Us Page Styles
   ========================================================================== */
.giftshop-contact-page-wrapper {
    padding-bottom: 80px;
    background-color: var(--cream);
}

.giftshop-contact-header {
    background-color: var(--teal);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
    margin-bottom: 60px;
}

.giftshop-contact-header .contact-title {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-headings);
}

.giftshop-contact-header .contact-subtitle {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    color: var(--white);
}

.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info-card,
.contact-form-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info-card h3,
.contact-form-card h3 {
    font-size: 26px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-family: var(--font-headings);
    color: var(--charcoal);
}

.contact-info-card h3::after,
.contact-form-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--rose-gold);
}

.card-intro {
    color: #666;
    margin-bottom: 30px;
}

.contact-detail-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-detail-item .icon-box {
    background-color: var(--rose-gold-light);
    color: var(--rose-gold);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-detail-item:hover .icon-box {
    background-color: var(--rose-gold);
    color: var(--white);
}

.contact-detail-item .item-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--charcoal);
}

.contact-detail-item .item-text p {
    margin: 0;
    color: #555;
    font-size: 14px;
}

.contact-detail-item .item-text p a {
    color: inherit;
}

.contact-detail-item .item-text p a:hover {
    color: var(--rose-gold);
}

.contact-social-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--charcoal);
}

.contact-social-icons {
    display: flex;
    gap: 12px;
}

.contact-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--teal-light);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.contact-social-icons a:hover {
    background-color: var(--rose-gold);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
}

.form-group label span.required {
    color: var(--rose-gold);
}

.form-control {
    padding: 12px 18px;
    border: 1px solid var(--border-grey);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--charcoal);
    background-color: var(--cream);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--rose-gold);
    background-color: var(--white);
    box-shadow: 0 0 8px rgba(227, 30, 36, 0.1);
}

.contact-submit-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    background-color: var(--rose-gold);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.contact-submit-btn:hover {
    background-color: var(--warm-pink);
}

/* Response messaging */
.contact-response-box {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-response-box.success {
    background-color: #EBFBEE;
    color: #2B8754;
    border: 1px solid #D3F9D8;
}

.contact-response-box.error {
    background-color: #FFF5F5;
    color: #E03131;
    border: 1px solid #FFE3E3;
}

/* Styled Map Mockup Section */
.contact-map-wrapper {
    margin-top: 60px;
}

.contact-map-wrapper h3 {
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    font-family: var(--font-headings);
    color: var(--charcoal);
}

.contact-map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-grey);
}

.map-mockup-placeholder {
    height: 450px;
    position: relative;
    background-color: #F8F9FA;
    overflow: hidden;
}

/* Minimalist geometric background */
.map-bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, #222 1px, transparent 1px),
        linear-gradient(to bottom, #222 1px, transparent 1px);
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.map-marker-pin {
    position: relative;
    font-size: 40px;
    color: var(--rose-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: bounce 2s infinite ease-in-out;
}

.pin-pulse {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: rgba(227, 30, 36, 0.4);
    border-radius: 50%;
    transform: scale(1);
    animation: pulse 2s infinite ease-out;
    bottom: -5px;
    z-index: -1;
}

.map-marker-card {
    position: absolute;
    top: 50%;
    left: calc(50% + 40px);
    transform: translateY(-50%);
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    width: 250px;
    border-left: 5px solid var(--rose-gold);
    z-index: 10;
}

.map-marker-card h5 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--charcoal);
}

.map-marker-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}

.directions-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--teal);
    color: var(--white);
    font-size: 12px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
}

.directions-btn:hover {
    background-color: var(--rose-gold);
    color: var(--white);
}

.map-directions-cta {
    text-align: center;
    margin-top: 20px;
}

.map-directions-cta .directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    border-radius: 50px;
    background-color: var(--rose-gold);
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.25);
    transition: var(--transition);
}

.map-directions-cta .directions-btn:hover {
    background-color: var(--warm-pink);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.35);
}

.contact-map-iframe {
    width: 100%;
    border-radius: 12px;
    display: block;
    border: 1px solid var(--light-grey);
    box-shadow: var(--shadow);
}

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

/* Responsive styles */
@media (max-width: 992px) {
    .contact-grid-layout {
        grid-template-columns: 1fr;
    }
    
    .map-marker-card {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-top: 20px;
    }
    
    .map-overlay {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(37, 211, 102, 0.35);
    z-index: 99999;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.floating-whatsapp-btn::before,
.floating-whatsapp-btn::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0;
    animation: wa-pulse 2s infinite;
    pointer-events: none;
    z-index: -1;
}

.floating-whatsapp-btn::after {
    animation-delay: 1s;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 12px 32px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}

@keyframes wa-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Responsive styling to avoid covering key elements on mobile */
@media (max-width: 768px) {
    .floating-whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}



