/**
 * WooCommerce Styles - Modern Product Page
 *
 * @package HelloKittyPants
 */

/* ========================================
   PRODUCT PAGE LAYOUT - Fixed Alignment
   ======================================== */

/* Remove ALL extra space from wrappers */
.single-product .site-main,
.single-product .woocommerce-wrapper,
.single-product .site-content,
.single-product .content-area {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Hide breadcrumbs completely and collapse their space */
.single-product .woocommerce-breadcrumb,
.woocommerce-breadcrumb {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Main product grid */
.single-product .product,
.single-product div.product {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    align-items: start !important;
    max-width: var(--max-width) !important;
    margin: 0 auto !important;
    padding: 15px 1rem 2rem !important;
}

/* Type-product class reset */
.single-product .type-product {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* CRITICAL: Both columns must start at same vertical position */
.single-product .woocommerce-product-gallery {
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important; /* Override any sticky positioning */
    top: auto !important;
}

.single-product .summary,
.single-product .summary.entry-summary {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

/* Reset all child element margins in summary */
.single-product .summary > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Add consistent spacing using margin-bottom instead */
.single-product .summary > *:not(:last-child) {
    margin-bottom: 15px !important;
}

/* Specific spacing overrides */
.single-product .summary .product_title {
    margin-bottom: 8px !important;
}

.single-product .summary .price {
    margin-bottom: 12px !important;
}

.single-product .summary .woocommerce-product-rating {
    margin-bottom: 10px !important;
}

.single-product .summary .variations_form {
    margin-bottom: 0 !important;
}

/* ========================================
   PRODUCT GALLERY - FIXED
   ======================================== */

.woocommerce-product-gallery {
    position: relative;
    width: 100%;
    max-width: 600px;
}

/* Hide all images except the first one by default */
.woocommerce-product-gallery__wrapper {
    margin: 0;
    padding: 0;
}

/* When flexslider is active, it creates .flex-viewport */
.woocommerce-product-gallery .flex-viewport {
    overflow: hidden;
    border-radius: 12px;
}

/* Main image container */
.woocommerce-product-gallery__image {
    overflow: hidden;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* CRITICAL: Hide all gallery images except first when flexslider hasn't loaded */
.woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {
    display: none !important;
}

/* But show all when inside flex-viewport (flexslider active) */
.flex-viewport .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
    display: block !important;
}

/* Zoom trigger icon */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Thumbnails below main image */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    padding: 0;
    list-style: none;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.woocommerce-product-gallery .flex-control-thumbs li:hover,
.woocommerce-product-gallery .flex-control-thumbs li.flex-active {
    border-color: #D4538A;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.woocommerce-product-gallery .flex-control-thumbs li:hover img,
.woocommerce-product-gallery .flex-control-thumbs li.flex-active img {
    opacity: 1;
}

/* Manual thumbnail fallback */
.hkp-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.hkp-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.hkp-thumb:hover,
.hkp-thumb.active {
    border-color: #D4538A;
}

.hkp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.hkp-thumb:hover img,
.hkp-thumb.active img {
    opacity: 1;
}

/* ========================================
   PRODUCT TITLE & PRICE
   ======================================== */

.single-product .product_title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 1.3;
    color: var(--color-text);
}

.single-product .price {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 15px 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.single-product .price del {
    font-size: 20px;
    color: #999;
    font-weight: 400;
    text-decoration: line-through;
}

.single-product .price ins {
    text-decoration: none;
    color: var(--color-primary);
}

/* Short description */
.single-product .woocommerce-product-details__short-description {
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Star rating */
.woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px 0;
}

.woocommerce-product-rating .star-rating {
    margin-right: 0;
}

.woocommerce-product-rating .woocommerce-review-link {
    font-size: 13px;
    color: var(--color-text-light);
}

/* ========================================
   VARIATIONS - SWATCHES & SIZE BUTTONS
   ======================================== */

.variations_form {
    margin: 0 !important;
    padding: 0 !important;
}

.variations_form .variations {
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
}

.variation-row {
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
}

.variation-row:last-child {
    margin-bottom: 15px !important;
}

.variation-label {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    color: var(--color-text);
}

.variation-label .selected-value {
    font-weight: 500;
    color: var(--color-primary);
    margin-left: 4px;
}

/* Hide the default select */
.hkp-hidden-select {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Color Swatches Grid */
.hkp-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hkp-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.hkp-swatch .swatch-image {
    width: 75px;
    height: 75px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #e0e0e0;
    transition: all 0.2s ease;
    background: #f9f9f9;
    box-sizing: border-box;
}

.hkp-swatch .swatch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hkp-swatch .swatch-color {
    width: 75px;
    height: 75px;
    border-radius: 10px;
    border: 3px solid #e0e0e0;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.hkp-swatch .swatch-label {
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-align: center;
    max-width: 80px;
    line-height: 1.2;
    word-wrap: break-word;
    white-space: normal;
}

/* Swatch hover state */
.hkp-swatch:hover .swatch-image,
.hkp-swatch:hover .swatch-color {
    border-color: #bbb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Swatch SELECTED state - THIS IS CRITICAL */
.hkp-swatch.selected .swatch-image,
.hkp-swatch.selected .swatch-color {
    border-color: var(--color-primary) !important;
    border-width: 3px !important;
    box-shadow: 0 0 0 2px var(--color-primary), 0 4px 12px rgba(255, 105, 180, 0.35) !important;
    transform: scale(1.02);
}

.hkp-swatch.selected .swatch-label {
    color: var(--color-primary);
    font-weight: 700;
}

/* Disabled swatches */
.hkp-swatch.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.hkp-swatch.disabled .swatch-image,
.hkp-swatch.disabled .swatch-color {
    position: relative;
}

.hkp-swatch.disabled .swatch-image::after,
.hkp-swatch.disabled .swatch-color::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 45%, rgba(0,0,0,0.3) 45%, rgba(0,0,0,0.3) 55%, transparent 55%);
}

/* Size Buttons */
.hkp-size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hkp-size-btn {
    min-width: 52px;
    min-height: 48px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hkp-size-btn:hover {
    border-color: var(--color-primary);
    background: #fff5f8;
}

/* Size button SELECTED state */
.hkp-size-btn.selected {
    border-color: var(--color-primary) !important;
    background: var(--color-primary) !important;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 105, 180, 0.4);
}

.hkp-size-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
    pointer-events: none;
}

/* ========================================
   QUANTITY SELECTOR - Amazon Style
   ======================================== */

.hkp-quantity-wrapper {
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
}

.hkp-quantity-label {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    color: var(--color-text);
}

.hkp-quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.hkp-qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: #f5f5f5;
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hkp-qty-btn:hover {
    background: #e8e8e8;
}

.hkp-qty-btn:active {
    background: #ddd;
}

.hkp-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.hkp-qty-display {
    width: 50px;
    height: 44px;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    background: white;
    -moz-appearance: textfield;
}

.hkp-qty-display::-webkit-outer-spin-button,
.hkp-qty-display::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide default WooCommerce quantity */
.single-product .quantity:not(.hkp-quantity-selector) {
    display: none !important;
}

/* ========================================
   ADD TO CART BUTTON
   ======================================== */

.single-product .cart {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.single-product .single_add_to_cart_button {
    width: 100%;
    padding: 16px 30px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    background: var(--color-primary) !important;
    border: none !important;
    border-radius: 8px !important;
    color: white !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-product .single_add_to_cart_button:hover {
    background: #e91e8c !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.single-product .single_add_to_cart_button:active {
    transform: translateY(0);
}

.single-product .single_add_to_cart_button.disabled,
.single-product .single_add_to_cart_button:disabled {
    background: #ccc !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ========================================
   BUY NOW BUTTON
   ======================================== */

.hkp-buy-now-btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100%;
    padding: 16px 30px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    background: #333 !important;
    border: none !important;
    border-radius: 8px !important;
    color: white !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    display: block;
}

.hkp-buy-now-btn:hover {
    background: #111 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hkp-buy-now-btn:active {
    transform: translateY(0);
}

/* ========================================
   PAYMENT SEPARATOR ("or pay with")
   ======================================== */

.hkp-payment-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0 15px;
    gap: 15px;
    width: 100%;
}

.hkp-payment-separator::before,
.hkp-payment-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.hkp-payment-separator span {
    font-size: 0.8125rem;
    color: #999;
    font-weight: 500;
    white-space: nowrap;
    text-transform: lowercase;
}

/* ========================================
   PAYPAL EXPRESS BUTTONS ON PRODUCT PAGE
   ======================================== */

/* PayPal button wrapper - ensure full width */
.single-product .summary .ppc-button-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: block !important;
}

/* PayPal and Card button containers */
.single-product .summary #ppc-button-ppcp-gateway,
.single-product .summary #ppc-button-product,
.single-product .summary #ppc-button-ppcp-card-button-gateway {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    min-height: 48px !important;
}

/* Ensure PayPal button iframes take full width */
.single-product .summary .ppc-button-wrapper iframe,
.single-product .summary .paypal-buttons {
    width: 100% !important;
    max-width: 100% !important;
}

/* Stack multiple payment button wrappers with spacing */
.single-product .summary .ppc-button-wrapper + .ppc-button-wrapper {
    margin-top: 10px !important;
}

/* Pay Later message styling */
.single-product .summary .ppcp-messages,
.single-product .summary [data-pp-message] {
    margin-top: 10px !important;
    text-align: center;
}

/* ========================================
   TRUST BADGES - Pink Theme
   ======================================== */

.product-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    width: 100%;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff5f8;
    padding: 10px 16px;
    border-radius: 25px;
    border: 1px solid #ffcce0;
    transition: all 0.2s ease;
}

.trust-badge:hover {
    background: #ffe8f0;
    border-color: #D4538A;
    transform: translateY(-1px);
}

.trust-badge .trust-emoji {
    font-size: 1.125rem;
    line-height: 1;
}

.trust-badge .trust-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #D4538A;
}

/* ========================================
   PRODUCT META
   ======================================== */

.product_meta {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.product_meta > span {
    display: block;
    margin-bottom: 5px;
}

.product_meta a {
    color: var(--color-primary);
}

/* ========================================
   PRODUCT TABS
   ======================================== */

.woocommerce-tabs {
    margin-top: 40px;
    grid-column: 1 / -1;
}

.woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    gap: 0;
    border-bottom: 2px solid #eee;
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 24px;
    color: #666;
    font-weight: 400;
    font-size: 0.9375rem;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.woocommerce-tabs ul.tabs li a:hover {
    color: var(--color-primary);
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--color-primary);
    font-weight: 700;
    border-bottom-color: var(--color-primary);
}

.woocommerce-tabs .panel {
    padding: 1.5rem 0;
}

.woocommerce-tabs .panel h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Hide redundant "Description" heading in Product Details tab */
.woocommerce-Tabs-panel--description > h2:first-child,
.woocommerce-Tabs-panel--description > .woocommerce-product-details__short-description + h2,
#tab-description > h2:first-child {
    display: none !important;
}

/* ========================================
   SIZE & FIT TAB CONTENT
   ======================================== */

.size-fit-tab-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    color: #333;
}

.size-fit-tab-content h3:first-child {
    margin-top: 0;
}

/* Size Chart Table */
.size-fit-tab-content .size-chart {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0 25px 0;
}

.size-fit-tab-content .size-chart th,
.size-fit-tab-content .size-chart td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #eee;
}

.size-fit-tab-content .size-chart th {
    background: var(--color-primary);
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.size-fit-tab-content .size-chart tbody tr:nth-child(even) {
    background: #fff5f8;
}

.size-fit-tab-content .size-chart tbody tr:hover {
    background: #ffe4ec;
}

/* Fit Info & Fabric Care Lists */
.size-fit-tab-content .fit-info ul,
.size-fit-tab-content .fabric-care ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.size-fit-tab-content .fit-info li,
.size-fit-tab-content .fabric-care li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.size-fit-tab-content .fit-info li:last-child,
.size-fit-tab-content .fabric-care li:last-child {
    border-bottom: none;
}

/* Size Tip Box */
.size-fit-tab-content .size-tip {
    background: #fff5f8;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 25px 0;
    border-left: 4px solid var(--color-primary);
}

.size-fit-tab-content .size-tip p {
    margin: 0;
    font-size: 14px;
}

/* Full Guide Link */
.size-fit-tab-content .full-guide-link {
    margin-top: 20px;
}

.size-fit-tab-content .full-guide-link a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.size-fit-tab-content .full-guide-link a:hover {
    text-decoration: underline;
}

/* Hide default additional information table heading */
.woocommerce-Tabs-panel--additional_information > h2:first-child,
#tab-additional_information > h2:first-child {
    display: none !important;
}

/* Mobile responsive for size chart */
@media (max-width: 600px) {
    .size-fit-tab-content .size-chart th,
    .size-fit-tab-content .size-chart td {
        padding: 8px 6px;
        font-size: 12px;
    }
}

/* ========================================
   STAR RATING (Display)
   ======================================== */

.star-rating {
    display: inline-flex;
    font-size: 14px;
    line-height: 1;
    overflow: hidden;
    position: relative;
    width: 5.4em;
    height: 1.2em;
}

.star-rating::before {
    content: "\2605\2605\2605\2605\2605";
    color: #ddd;
    letter-spacing: 3px;
}

.star-rating span {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.star-rating span::before {
    content: "\2605\2605\2605\2605\2605";
    color: #FFD700;
    letter-spacing: 3px;
    position: absolute;
    top: 0;
    left: 0;
}

/* ========================================
   REVIEWS TAB
   ======================================== */

#reviews {
    margin-top: 0;
}

.woocommerce-Reviews-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text);
}

/* No reviews message */
.woocommerce-noreviews {
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

/* ========================================
   STAR RATING SELECTOR (Review Form)
   ======================================== */

.comment-form-rating {
    margin-bottom: 20px;
}

.comment-form-rating label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

/* Star rating selector - Fix for "1 of 5 stars" text bug */
.comment-form-rating .stars {
    display: inline-flex;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.comment-form-rating .stars a {
    font-size: 0 !important; /* Hide the text completely */
    text-indent: -9999px;
    display: inline-block;
    width: 28px;
    height: 28px;
    position: relative;
    text-decoration: none;
    outline: none;
}

.comment-form-rating .stars a::before {
    content: "\2606"; /* Empty star */
    font-size: 28px;
    color: #ddd;
    position: absolute;
    left: 0;
    top: 0;
    text-indent: 0;
    transition: color 0.15s ease;
}

.comment-form-rating .stars a:hover::before,
.comment-form-rating .stars a:focus::before {
    content: "\2605"; /* Filled star */
    color: #FFD700;
}

/* When hovering, fill all stars up to and including the hovered one */
.comment-form-rating .stars:hover a::before {
    content: "\2605";
    color: #FFD700;
}

.comment-form-rating .stars a:hover ~ a::before {
    content: "\2606";
    color: #ddd;
}

/* Selected state */
.comment-form-rating .stars.selected a::before {
    content: "\2605";
    color: #FFD700;
}

.comment-form-rating .stars.selected a.active ~ a::before {
    content: "\2606";
    color: #ddd;
}

/* ========================================
   REVIEW FORM STYLING
   ======================================== */

#review_form_wrapper {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

#review_form_wrapper #reply-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 25px 0;
    color: var(--color-text);
}

/* Form labels */
.comment-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.9375rem;
}

.comment-form label .required {
    color: var(--color-primary);
}

/* Form fields */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: white;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Form rows */
.comment-form p {
    margin-bottom: 20px;
}

.comment-form-comment {
    margin-top: 10px;
}

/* Submit button */
.comment-form .submit,
.comment-form input[type="submit"] {
    background: var(--color-primary) !important;
    color: white !important;
    border: none !important;
    padding: 14px 35px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-form .submit:hover,
.comment-form input[type="submit"]:hover {
    background: #e91e8c !important;
    transform: translateY(-1px);
}

/* Cookies consent checkbox */
.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-primary);
}

.comment-form-cookies-consent label {
    font-size: 0.8125rem;
    color: #666;
    margin-bottom: 0;
}

/* Existing reviews list */
#comments {
    margin-bottom: 30px;
}

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

.commentlist li {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.commentlist li:last-child {
    border-bottom: none;
}

.commentlist .comment_container {
    display: flex;
    gap: 15px;
}

.commentlist .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
}

.commentlist .comment-text {
    flex: 1;
}

.commentlist .meta {
    margin-bottom: 10px;
}

.commentlist .woocommerce-review__author {
    font-weight: 600;
    color: var(--color-text);
}

.commentlist .woocommerce-review__dash {
    display: none;
}

.commentlist .woocommerce-review__published-date {
    font-size: 0.8125rem;
    color: #999;
    display: block;
    margin-top: 3px;
}

.commentlist .description p {
    margin: 0;
    color: var(--color-text);
    line-height: 1.6;
}

/* ========================================
   CART PAGE
   ======================================== */

.woocommerce-cart .woocommerce {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1rem;
}

.woocommerce table.cart {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce table.cart th,
.woocommerce table.cart td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.woocommerce table.cart img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.woocommerce table.cart .product-name a {
    font-weight: 600;
    color: var(--color-text);
}

.woocommerce table.cart .product-price,
.woocommerce table.cart .product-subtotal {
    font-weight: 600;
}

.woocommerce table.cart .product-remove a {
    color: var(--color-text-light);
    font-size: 1.5rem;
}

.woocommerce table.cart .product-remove a:hover {
    color: var(--color-error);
}

/* Cart Totals */
.cart_totals {
    max-width: 400px;
    margin-left: auto;
}

.cart_totals h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.cart_totals table th,
.cart_totals table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.cart_totals table th {
    text-align: left;
    font-weight: 500;
}

.cart_totals table td {
    text-align: right;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 1.25rem;
    font-weight: 700;
}

.wc-proceed-to-checkout {
    margin-top: 1.5rem;
}

.wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem 2rem !important;
    font-size: 1.125rem !important;
}

/* ========================================
   CHECKOUT PAGE
   ======================================== */

.woocommerce-checkout {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.woocommerce-checkout .form-row {
    margin-bottom: 1rem;
}

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: var(--color-primary);
    outline: none;
}

.woocommerce-checkout .form-row .required {
    color: var(--color-error);
}

#order_review_heading {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

/* Payment Methods */
#payment {
    background: var(--color-background);
    padding: 1.5rem;
    border-radius: 8px;
}

#payment .payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

#payment .payment_methods li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

#payment .payment_methods li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

#payment .payment_methods label {
    font-weight: 600;
    cursor: pointer;
}

#payment .payment_box {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

#place_order {
    width: 100%;
    padding: 1rem 2rem !important;
    font-size: 1.125rem !important;
}

/* ========================================
   EXPRESS CHECKOUT SECTION
   ======================================== */

.hkp-express-checkout {
    max-width: 100%;
    margin: 0 auto 0;
    padding: 2rem 1rem 1.5rem;
    text-align: center;
}

.hkp-express-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--color-text);
}

.hkp-express-subtitle {
    font-size: 0.875rem;
    color: #999;
    margin: 0 0 1.25rem;
}

.hkp-express-buttons {
    max-width: 400px;
    margin: 0 auto;
}

.hkp-express-paypal {
    min-height: 45px;
}

/* ========================================
   CHECKOUT DIVIDER ("or fill in your details")
   ======================================== */

.hkp-checkout-divider {
    display: flex;
    align-items: center;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem 1rem;
    gap: 15px;
}

.hkp-checkout-divider::before,
.hkp-checkout-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.hkp-checkout-divider span {
    font-size: 0.8125rem;
    color: #999;
    font-weight: 500;
    white-space: nowrap;
}

/* ========================================
   TWO-COLUMN CHECKOUT LAYOUT
   ======================================== */

.hkp-checkout-columns {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
    align-items: start;
}

.hkp-checkout-main {
    min-width: 0;
}

.hkp-checkout-sidebar {
    position: sticky;
    top: 20px;
    background: #fafafa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
}

.hkp-checkout-sidebar #order_review_heading {
    margin-top: 0;
    font-size: 1.125rem;
}

.hkp-checkout-sidebar #payment {
    background: transparent;
    padding: 1rem 0 0;
}

/* ========================================
   CHECKOUT TRUST SIGNALS
   ======================================== */

.hkp-checkout-trust {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.hkp-trust-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #777;
    font-weight: 500;
}

.hkp-trust-icon {
    font-size: 0.875rem;
}

/* ========================================
   MESSAGES
   ======================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.woocommerce-message {
    background: #e8f5e9;
    border-left: 4px solid var(--color-success);
}

.woocommerce-info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.woocommerce-error {
    background: #ffebee;
    border-left: 4px solid var(--color-error);
}

.woocommerce-error li {
    list-style: none;
}

/* ========================================
   PLACEHOLDER IMAGE
   ======================================== */

.woocommerce-product-gallery__image--placeholder {
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border-radius: 12px;
}

.woocommerce-product-gallery__image--placeholder img {
    max-width: 80%;
    opacity: 0.5;
}

/* ============================================
   MOBILE PRODUCT PAGE - COMPLETE OVERRIDE
   ============================================ */

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

    /* ----- RESET FLOATS & WIDTHS ----- */
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary,
    .woocommerce div.product .woocommerce-tabs,
    .single-product .woocommerce-product-gallery,
    .single-product .summary {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* ----- PAGE CONTAINER ----- */
    .woocommerce div.product,
    .single-product div.product,
    .single-product .site-main {
        padding: 15px !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        display: block !important;
    }

    .single-product .product {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* ----- PRODUCT GALLERY ----- */
    .woocommerce div.product div.images,
    .single-product .woocommerce-product-gallery {
        margin-bottom: 25px !important;
    }

    .woocommerce-product-gallery__wrapper {
        width: 100% !important;
    }

    .woocommerce-product-gallery__image {
        width: 100% !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    .woocommerce-product-gallery__image img,
    .woocommerce-product-gallery .wp-post-image,
    .single-product .woocommerce-product-gallery img {
        width: 100% !important;
        height: auto !important;
        max-height: 400px !important;
        object-fit: contain !important;
        border-radius: 12px !important;
    }

    /* Gallery thumbnails - scrollable row */
    .woocommerce-product-gallery .flex-control-thumbs,
    .woocommerce-product-gallery ol,
    .single-product .flex-control-thumbs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 10px !important;
        padding: 15px 5px !important;
        margin-top: 10px !important;
        -webkit-overflow-scrolling: touch;
    }

    .woocommerce-product-gallery .flex-control-thumbs li,
    .single-product .flex-control-thumbs li {
        flex: 0 0 80px !important;
        width: 80px !important;
        height: 80px !important;
        margin: 0 !important;
    }

    .woocommerce-product-gallery .flex-control-thumbs li img,
    .single-product .flex-control-thumbs img {
        width: 80px !important;
        height: 80px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
        border: 2px solid #eee !important;
    }

    .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
    .single-product .flex-control-thumbs img.flex-active {
        border-color: #D4538A !important;
    }

    /* ----- PRODUCT TITLE ----- */
    .woocommerce div.product .product_title,
    .single-product .product_title {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
        padding-right: 0 !important;
    }

    /* ----- PRICE ----- */
    .woocommerce div.product p.price,
    .woocommerce div.product span.price,
    .single-product .price {
        font-size: 28px !important;
        margin-bottom: 15px !important;
        display: block !important;
    }

    .woocommerce div.product p.price del,
    .single-product .price del {
        font-size: 18px !important;
    }

    /* ----- SHORT DESCRIPTION ----- */
    .woocommerce div.product .woocommerce-product-details__short-description,
    .single-product .woocommerce-product-details__short-description {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }

    /* ----- COLOR SWATCHES (HKP Custom) ----- */
    .hkp-color-swatches {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
        margin-bottom: 25px !important;
        justify-content: flex-start !important;
    }

    .hkp-swatch {
        width: 75px !important;
        min-width: 75px !important;
        text-align: center !important;
        cursor: pointer !important;
    }

    .hkp-swatch .swatch-image,
    .hkp-swatch .swatch-color {
        width: 70px !important;
        height: 70px !important;
        border-radius: 12px !important;
        border: 3px solid #ddd !important;
        transition: all 0.2s !important;
    }

    .hkp-swatch .swatch-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 9px !important;
    }

    .hkp-swatch.selected .swatch-image,
    .hkp-swatch.selected .swatch-color {
        border-color: #D4538A !important;
        box-shadow: 0 0 0 2px #D4538A !important;
    }

    .hkp-swatch .swatch-label {
        display: block !important;
        font-size: 11px !important;
        margin-top: 8px !important;
        color: #333 !important;
        line-height: 1.2 !important;
        max-width: 75px !important;
    }

    /* ----- SIZE BUTTONS (HKP Custom) ----- */
    .hkp-size-buttons {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        margin-bottom: 25px !important;
    }

    .hkp-size-btn {
        min-width: 65px !important;
        min-height: 52px !important;
        padding: 14px 20px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        border: 2px solid #ddd !important;
        border-radius: 12px !important;
        background: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.2s !important;
    }

    .hkp-size-btn.selected {
        border-color: #D4538A !important;
        background: #D4538A !important;
        color: #fff !important;
    }

    /* ----- VARIATION LABELS ----- */
    .variation-label,
    .variation-row label {
        font-size: 15px !important;
        font-weight: 600 !important;
        margin-bottom: 12px !important;
        display: block !important;
        color: #333 !important;
    }

    /* ----- QUANTITY SELECTOR ----- */
    .hkp-quantity-wrapper {
        margin-bottom: 20px !important;
    }

    .hkp-quantity-label {
        font-size: 15px !important;
        font-weight: 600 !important;
        margin-bottom: 12px !important;
    }

    .hkp-quantity-selector {
        display: inline-flex !important;
        border: 2px solid #ddd !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    .hkp-qty-btn {
        width: 52px !important;
        height: 52px !important;
        font-size: 22px !important;
        background: #f5f5f5 !important;
        border: none !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hkp-qty-display {
        width: 65px !important;
        height: 52px !important;
        font-size: 18px !important;
        text-align: center !important;
        border: none !important;
        border-left: 1px solid #ddd !important;
        border-right: 1px solid #ddd !important;
    }

    /* ----- ADD TO CART BUTTON ----- */
    .woocommerce div.product form.cart .single_add_to_cart_button,
    .single-product .single_add_to_cart_button,
    .single_add_to_cart_button {
        width: 100% !important;
        padding: 20px 30px !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        border-radius: 50px !important;
        background: #D4538A !important;
        color: #fff !important;
        border: none !important;
        margin-top: 15px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3) !important;
    }

    .single_add_to_cart_button:active {
        transform: scale(0.98) !important;
    }

    /* ----- TRUST BADGES ----- */
    .product-trust-badges {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 20px !important;
        margin: 25px 0 !important;
        background: #FFF5F8 !important;
        border-radius: 16px !important;
        border: none !important;
    }

    .trust-badge {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 12px 10px !important;
        background: #fff !important;
        border-radius: 12px !important;
        border: 1px solid #ffcce0 !important;
        text-align: center !important;
    }

    .trust-badge .trust-emoji {
        font-size: 18px !important;
        line-height: 1 !important;
    }

    .trust-badge .trust-text {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #D4538A !important;
        line-height: 1.2 !important;
    }

    /* ----- PRODUCT TABS ----- */
    .woocommerce-tabs {
        margin-top: 35px !important;
        padding: 0 !important;
    }

    .woocommerce-tabs ul.tabs,
    .woocommerce div.product .woocommerce-tabs ul.tabs {
        display: flex !important;
        flex-wrap: wrap !important;
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
        gap: 8px !important;
        border-bottom: none !important;
        list-style: none !important;
    }

    .woocommerce-tabs ul.tabs li {
        flex: 1 1 calc(50% - 4px) !important;
        margin: 0 !important;
        border: none !important;
        background: none !important;
        padding: 0 !important;
    }

    .woocommerce-tabs ul.tabs li a {
        display: block !important;
        padding: 14px 12px !important;
        background: #f5f5f5 !important;
        border-radius: 12px !important;
        text-align: center !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #555 !important;
        text-decoration: none !important;
        border: none !important;
        margin: 0 !important;
    }

    .woocommerce-tabs ul.tabs li.active a {
        background: #D4538A !important;
        color: #fff !important;
    }

    .woocommerce-tabs .panel,
    .woocommerce-tabs .woocommerce-Tabs-panel {
        padding: 20px 5px !important;
    }

    .woocommerce-tabs .panel h2 {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }

    .woocommerce-tabs .panel p,
    .woocommerce-tabs .panel li {
        font-size: 15px !important;
        line-height: 1.7 !important;
        margin-bottom: 12px !important;
    }

    /* ----- SIZE CHART TABLE ----- */
    .size-fit-tab-content .size-chart {
        width: 100% !important;
        font-size: 13px !important;
    }

    .size-fit-tab-content .size-chart th,
    .size-fit-tab-content .size-chart td {
        padding: 10px 8px !important;
        font-size: 12px !important;
    }

    /* ----- REVIEWS ----- */
    #review_form_wrapper {
        padding: 20px 15px !important;
        border-radius: 12px !important;
    }

    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form textarea {
        padding: 14px 16px !important;
        font-size: 16px !important; /* Prevents iOS zoom */
        border-radius: 10px !important;
    }

    .comment-form .submit,
    .comment-form input[type="submit"] {
        width: 100% !important;
        padding: 16px 30px !important;
        border-radius: 50px !important;
    }

    /* ----- CART PAGE ----- */
    .woocommerce table.cart .product-thumbnail {
        display: none !important;
    }

    .cart_totals {
        max-width: 100% !important;
    }

    /* ----- BUY NOW BUTTON MOBILE ----- */
    .hkp-buy-now-btn {
        -webkit-appearance: none !important;
        appearance: none !important;
        width: 100% !important;
        padding: 20px 30px !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        background: #333 !important;
        color: white !important;
        border: none !important;
        border-radius: 50px !important;
        margin-top: 10px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        display: block !important;
    }

    /* ----- PAYMENT SEPARATOR MOBILE ----- */
    .hkp-payment-separator {
        margin: 20px 0 10px !important;
    }

    /* ----- PAYPAL EXPRESS BUTTONS MOBILE ----- */
    .single-product .summary .ppc-button-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }

    .single-product .summary #ppc-button-ppcp-gateway,
    .single-product .summary #ppc-button-product,
    .single-product .summary #ppc-button-ppcp-card-button-gateway {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* ----- CHECKOUT ----- */
    .woocommerce-checkout .col2-set {
        display: block !important;
    }

    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        width: 100% !important;
    }

    .woocommerce-checkout .form-row input,
    .woocommerce-checkout .form-row select {
        font-size: 16px !important; /* Prevents iOS zoom */
        padding: 14px 16px !important;
    }

    /* ----- OPTIMIZED CHECKOUT MOBILE ----- */
    .hkp-checkout-columns {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .hkp-checkout-sidebar {
        position: static !important;
        order: -1;
    }

    .hkp-express-checkout {
        padding: 1.5rem 1rem 1rem !important;
    }

    .hkp-express-buttons {
        max-width: 100% !important;
    }

    .hkp-checkout-trust {
        gap: 1rem !important;
    }

    .hkp-trust-item {
        font-size: 0.6875rem !important;
    }

    /* ----- HIDE UNNECESSARY ELEMENTS ----- */
    .woocommerce-product-gallery__trigger {
        display: none !important;
    }

    /* ----- FORM FULL WIDTH ----- */
    .woocommerce div.product form.cart {
        width: 100% !important;
        margin-bottom: 25px !important;
    }

    /* ----- VARIATIONS TABLE ----- */
    table.variations,
    .variations_form .variations {
        width: 100% !important;
        border: none !important;
    }

    table.variations tr,
    table.variations td,
    table.variations th {
        display: block !important;
        width: 100% !important;
        border: none !important;
        padding: 5px 0 !important;
    }
}

/* ============================================
   SMALL PHONES (480px and below)
   ============================================ */

@media screen and (max-width: 480px) {
    .woocommerce div.product .product_title,
    .single-product .product_title {
        font-size: 22px !important;
    }

    .woocommerce div.product p.price,
    .single-product .price {
        font-size: 26px !important;
    }

    .hkp-swatch {
        width: 68px !important;
        min-width: 68px !important;
    }

    .hkp-swatch .swatch-image,
    .hkp-swatch .swatch-color {
        width: 62px !important;
        height: 62px !important;
    }

    .hkp-swatch .swatch-label {
        font-size: 10px !important;
    }

    .woocommerce-product-gallery .flex-control-thumbs li,
    .single-product .flex-control-thumbs li {
        flex: 0 0 70px !important;
        width: 70px !important;
        height: 70px !important;
    }

    .woocommerce-product-gallery .flex-control-thumbs li img,
    .single-product .flex-control-thumbs img {
        width: 70px !important;
        height: 70px !important;
    }

    .hkp-size-btn {
        min-width: 58px !important;
        min-height: 48px !important;
        padding: 12px 16px !important;
        font-size: 15px !important;
    }
}

/* ============================================
   EXTRA SMALL PHONES (375px and below)
   ============================================ */

@media screen and (max-width: 375px) {
    .woocommerce div.product .product_title,
    .single-product .product_title {
        font-size: 20px !important;
    }

    .woocommerce div.product p.price,
    .single-product .price {
        font-size: 24px !important;
    }

    .hkp-color-swatches {
        gap: 10px !important;
    }

    .hkp-swatch {
        width: 60px !important;
        min-width: 60px !important;
    }

    .hkp-swatch .swatch-image,
    .hkp-swatch .swatch-color {
        width: 55px !important;
        height: 55px !important;
    }

    .hkp-size-buttons {
        gap: 8px !important;
    }

    .hkp-size-btn {
        min-width: 52px !important;
        padding: 10px 14px !important;
        font-size: 14px !important;
    }

    .trust-badge {
        flex-direction: column !important;
        gap: 4px !important;
        padding: 10px 8px !important;
    }

    .trust-badge .trust-text {
        font-size: 10px !important;
    }

    .woocommerce-tabs ul.tabs li {
        flex: 1 1 100% !important;
    }

    .single_add_to_cart_button {
        padding: 18px 25px !important;
        font-size: 16px !important;
    }

    .hkp-buy-now-btn {
        -webkit-appearance: none !important;
        appearance: none !important;
        padding: 18px 25px !important;
        font-size: 16px !important;
        background: #333 !important;
        color: white !important;
        border: none !important;
    }
}
