﻿@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

:root {
    --accent-color: #fb7701;
    --accent-bg: #fff5eb;
    --price-red: #e43d33;
    --border-color: #ffd8b5;
    --main-bg: #fafbff;
}

/* Main background color */
body {
    background-color: var(--main-bg) !important;
}

/* Product thumbnail border */
.ps-product {
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
}

/* Add to cart button - Circular with gradient background - ROBUST FIX */
a.ps-product__add-cart,
.ps-product__add-cart {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%) !important;
    background-color: transparent !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: absolute !important;
    bottom: 12px !important;
    left: 12px !important;
    z-index: 999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

/* Force stroke color on SVG and its children */
.ps-product__add-cart svg,
.ps-product__add-cart svg path,
.ps-product__add-cart svg circle,
.ps-product__add-cart svg line,
.ps-product__add-cart svg polyline {
    stroke: #ffffff !important;
    fill: none !important;
    color: #ffffff !important;
    width: 20px !important;
    height: 20px !important;
    stroke-width: 2px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

/* Hover effect for add to cart button */
.ps-product .ps-product__add-cart:hover,
.ps-product__thumbnail .ps-product__add-cart:hover {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4) !important;
    transform: scale(1.05) !important;
}

.product-detail-wrapper .product-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-detail-wrapper .price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 15px 0;
}

.product-detail-wrapper .current-price {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-color);
}

.product-detail-wrapper .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}

.product-detail-wrapper .discount-badge {
    background: #fff0f0;
    color: var(--price-red);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.selection-group {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.fomo-box {
    background: var(--accent-bg);
    padding: 12px 15px;
    border-bottom: 2px solid var(--border-color);
}

.stock-progress-bg {
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    width: 80px;
}

.stock-progress-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 10px;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.btn-add,
.btn-buy {
    flex: 1;
    height: 48px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.btn-add {
    background: #fff;
    color: var(--accent-color);
    border: 1.5px solid var(--accent-color);
}

.btn-buy {
    background: var(--accent-color);
    color: white;
    border: none;
}

/* start product ui css */



#homepage-1 .ps-home-banner {
    margin-bottom: 0px;
    padding-top: 0px;
}

element {}

.ps-banner .ps-banner__overlay {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

#homepage-1 .ps-home-banner .ps-container {
    display: flex;
    flex-flow: row nowrap;
}


#homepage-1 .ps-home-banner {
    margin-bottom: 10px;
    padding-top: 0px;
}

element.style {}

.mt-40 {
    margin-top: 0rem !important;
}

.mb-40 {
    margin-bottom: 0rem !important;
}

.mt-60 {
    margin-top: -2px !important;
}

.ps-section--default {
    margin-bottom: 0px !important;
}

.ps-product--detail>.ps-product__content {
    padding-top: 20px !important;
}

/* Navigation — scoped to product section tabs only */
.ps-section__links .nav-item {
    height: 30px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-radius: 26px !important;
    border: none !important;
    color: #fff !important;
    align-items: center !important;
    line-height: 30px !important;
}

/* Hide product tabs on phones only */
@media (max-width: 576px) {
    .ps-section__links .nav-item {
        display: none !important;
    }
}

/* Section header aligned with product grid */
.ps-product-list .ps-section__header {
    margin-left: 0 !important;
    margin-right: 0 !important;

    /* Keep your existing style */
    align-items: center !important;
    background-color: #f4f4f4 !important;
    border-bottom: 1px solid #e3e3e3 !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;

    /* Full width to match content */
    width: 100% !important;
}

/* Reset for mobile screens where 15px margin might make it too narrow */
@media (max-width: 767px) {
    .ps-product-list .ps-section__header {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 10px 15px !important;
        /* Slightly smaller padding for mobile */
    }
}

@media (max-width: 479px) {

    /* Container padding for mobile */
    .ps-container {
        padding: 0 3px;
    }

    /* 1. SECTION SPACING
       This creates the 2px vertical gap between the 'Networking' block 
       and the block below it. */
    .ps-product-list,
    .ps-section--market-1,
    .ps-section--product-box {
        margin-bottom: 2px !important;
        /* Your requested 2px spacing */
        padding-left: 0 !important;
        /* Removing side padding for edge-to-edge look */
        padding-right: 0 !important;
        display: block !important;
    }

    /* 2. HEADER ALIGNMENT
       Full width header to match the section width */
    .ps-product-list .ps-section__header {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        padding: 10px 15px !important;
        background-color: #f4f4f4 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-bottom: 1px solid #e3e3e3 !important;
    }

    /* 3. THE PRODUCT GRID (ROW)
       Pulling edges to remove white space at the sides */
    .ps-product-list .row,
    .ps-section__content .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    /* 4. PRODUCT ITEM PADDING (2px) 
       This creates the 2px internal gap between images */
    .ps-product-list .row>[class*="col-"] {
        padding: 2px !important;
        /* Uniform 2px gap on all sides */
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    /* 5. INDIVIDUAL PRODUCT WRAPPER */
    .ps-product {
        padding: 0 !important;
        margin-bottom: 0 !important;
        /* Gap is handled by the column padding */
        background: #ffffff !important;
    }

    /* 6. IMAGE SIZING 
       Makes images as large as possible within the 2px padding */
    .ps-product__thumbnail {
        margin: 0 !important;
        padding: 0 !important;
    }

    .ps-product__thumbnail img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover;
    }
}

.ps-product-list .ps-section__header {
    background-color: #0a8800 !important;
    height: 50px !important;

}

.ps-product-list .ps-section__content {
    padding-top: 1px;
}

h3 {
    font-size: 14px !important;
    font-family: var(--primary-font), sans-serif !important;
    font-weight: 400 !important;
    color: #fff !important;
}

/*////////////////*/

.bb-product-attribute-swatch-list.visual-swatch .bb-product-attribute-swatch-display {
    border-radius: 10px !important;
    cursor: pointer;
    display: block;
    height: 70px !important;
    position: relative;
    width: 65px !important;
}

/* Container for the checkmark when the radio is checked */
.bb-product-attribute-swatch-list.visual-swatch .bb-product-attribute-swatch-item:not(.disabled) input[type=radio]:checked~.bb-product-attribute-swatch-display {
    border-color: var(--primary-orange) !important;
    position: relative !important;
}

/* The Check Icon in top-right corner */
.bb-product-attribute-swatch-list.visual-swatch .bb-product-attribute-swatch-item:not(.disabled) input[type=radio]:checked~.bb-product-attribute-swatch-display:after {
    content: '\2713' !important;
    /* Unicode checkmark icon */
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    background-color: var(--primary-orange) !important;
    color: #fff !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 10px !important;
    font-weight: bold !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

/* Ensure the display element is positioned relatively to contain the absolute checkmark */
.bb-product-attribute-swatch-display {
    position: relative !important;
    overflow: hidden !important;
}

/* Mobile responsive scaling for product prices and ratings */
@media (max-width: 767px) and (orientation: portrait) {

    /* Scale down all price elements by 20% */
    .ps-product__price,
    .ps-product__price.sale,
    .ps-product__price del,
    .ps-product__price ins,
    .price,
    .price.sale,
    .ps-product__del,
    .ps-product__sale {
        font-size: 80% !important;
    }

    /* Remove top margin from product prices */
    .ps-product .ps-product__price {
        margin-top: 0px !important;
        font-size: 14.4px !important;
    }

    /* Specific size for strikethrough price in sale items */
    .ps-product .ps-product__price.sale del {
        font-size: 9px !important;
    }

    /* Scale down rating stars by 20% */
    .ps-product__rating,
    .ps-rating,
    .rating,
    .br-wrapper,
    .ps-product__rating i,
    .ps-rating i,
    .rating i {
        font-size: 80% !important;
    }

    /* Rating counter needs specific pixel size (assuming original is 12px, 20% reduction = 9.6px) */
    .rating_num {
        font-size: 9.6px !important;
    }

    /* Adjust rating container to prevent layout shift */
    .ps-product__rating,
    .ps-rating,
    .rating {
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    /* Section header text sizing for mobile */
    .ps-product-list .ps-section__header h3 {
        font-size: 12px !important;
        font-weight: 500 !important;
    }

    /* View All link sizing for mobile */
    .ps-product-list .ps-section__header a,
    .ps-product-list .ps-section__links a {
        font-size: 12px !important;
        font-weight: 500 !important;
    }
}

/* Disable all hover effects on product thumbnails and products for mobile screens */
@media (max-width: 768px) {

    /* Disable all ps-product hover effects */
    .ps-product:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    /* Disable ps-product__container hover effects */
    .ps-product__container:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    /* Disable quick view button hover effects */
    .ps-product__quick-view:hover {
        background: transparent !important;
        transform: none !important;
    }

    /* Disable quick view button appearance on thumbnail hover */
    .ps-product__thumbnail:hover .ps-product__quick-view {
        opacity: 0 !important;
        transform: none !important;
    }

    /* Disable add to cart button hover effects (keep background visible) */
    .ps-product__add-cart:hover {
        transform: none !important;
        box-shadow: 0 4px 10px rgba(255, 107, 53, 0.4) !important;
        /* Keep default shadow */
    }

    .ps-product__add-cart:hover svg {
        transform: none !important;
    }

    /* Disable image zoom effect on hover */
    .ps-product__thumbnail:hover img {
        transform: none !important;
    }

    /* Disable any other thumbnail hover effects */
    .ps-product__thumbnail:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* Adjust product grid padding on desktop */
@media (min-width: 768px) {
    .ps-shopping-product .row>* {
        padding: 0 1px !important;
    }
}

/* Adjust product grid padding on mobile */
@media (max-width: 767px) {
    .ps-shopping-product .row>* {
        padding: 0 1px !important;
    }
}

/* =========================================
   MODERN FORGOT PASSWORD & ACCOUNT STYLES
   Matches the Progressive Auth Modal Design
   ========================================= */

/* Main Container Background */
.ps-my-account {
    background-color: #f5f5f5 !important;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.ps-my-account .container {
    max-width: 500px !important;
    width: 100%;
}

/* Form Card Styling */
.ps-form--account {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    max-width: 100% !important;
}

/* Header/Title Styling */
.ps-form--account .ps-tab-list {
    border: none !important;
    margin-bottom: 30px !important;
    padding-bottom: 0 !important;
    text-align: center !important;
}

.ps-form--account .ps-tab-list li {
    display: inline-block !important;
    margin: 0 !important;
}

.ps-form--account .ps-tab-list li a {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    text-transform: none !important;
    letter-spacing: -0.02em !important;
}

.ps-form--account h3 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    text-align: center !important;
    margin-bottom: 25px !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
}

/* Input Fields */
.ps-form--account .form-group {
    margin-bottom: 20px !important;
}

.ps-form--account label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.ps-form--account .form-control {
    width: 100% !important;
    height: auto !important;
    padding: 14px 16px !important;
    border: 2px solid transparent !important;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.05)) border-box !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    color: #1f2937 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.ps-form--account .form-control:focus {
    outline: none !important;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #FF6B35, #F7931E) border-box !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1),
        0 8px 16px rgba(255, 107, 53, 0.15),
        inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transform: translateY(-1px) !important;
}

.ps-form--account .form-control::placeholder {
    color: #9ca3af !important;
}

/* Submit Button */
.ps-form--account button[type="submit"],
.ps-form--account .ps-btn {
    width: 100% !important;
    padding: 16px 24px !important;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    text-transform: none !important;
    margin-top: 10px !important;
}

.ps-form--account button[type="submit"]:hover,
.ps-form--account .ps-btn:hover {
    transform: translateY(-3px) scale(1.01) !important;
    box-shadow: 0 12px 28px rgba(255, 107, 53, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.ps-form--account button[type="submit"]:active,
.ps-form--account .ps-btn:active {
    transform: translateY(-1px) scale(0.99) !important;
}

/* Links (Back to Login, etc) */
.ps-form--account a {
    color: #6b7280 !important;
    transition: color 0.2s ease !important;
}

.ps-form--account a:hover {
    color: #FF6B35 !important;
    text-decoration: underline !important;
}

/* Alerts/Messages */
.alert {
    padding: 12px 16px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    border: none !important;
    font-size: 14px !important;
}

.alert-success {
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
}

.alert-danger {
    background-color: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .ps-my-account {
        padding: 40px 15px !important;
        background-color: #ffffff !important;
        /* White bg on mobile to blend with card if needed, or keep gray */
    }

    .ps-form--account {
        padding: 30px 20px !important;
        box-shadow: none !important;
        /* Flat on mobile if full width */
    }
}

/* Custom Auth Page Styles requested by user */
.auth-card__header-title {
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    margin-bottom: 0.25rem !important;
}

/* Override bg-white inside auth context with a subtle theme gradient */
.auth-modal-card .bg-white,
.modern-auth-card .bg-white,
.ps-form--account.bg-white {
    background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%) !important;
    border: 1px solid #ffe5d9 !important;
    /* Subtle border to pop */
}


/* =========================================
   MODERN ECOMMERCE BLOG PAGE REDESIGN
   Premium UI/UX for Multi-Seller Marketplace
   ========================================= */

:root {
    --blog-primary: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --blog-primary-solid: #FF6B35;
    --blog-text: #1f2937;
    --blog-text-light: #6b7280;
    --blog-text-muted: #9ca3af;
    --blog-border: #e5e7eb;
    --blog-bg: #ffffff;
    --blog-bg-light: #f9fafb;
    --blog-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --blog-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* =========================================
   FEATURED POST (First Post)
   ========================================= */

.ps-post:first-child {
    position: relative;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: var(--blog-shadow-lg) !important;
    margin-bottom: 60px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.ps-post:first-child:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.ps-post:first-child .ps-post__thumbnail {
    position: relative !important;
    height: 500px !important;
    overflow: hidden !important;
}

.ps-post:first-child .ps-post__thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.ps-post:first-child:hover .ps-post__thumbnail img {
    transform: scale(1.08) !important;
}

.ps-post:first-child .ps-post__thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.ps-post:first-child .ps-post__overlay {
    z-index: 2 !important;
}

.ps-post:first-child .ps-post__content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 40px !important;
    z-index: 3 !important;
    background: transparent !important;
}

.ps-post:first-child .ps-post__title {
    font-size: 36px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    margin-bottom: 16px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ps-post:first-child .ps-post__meta a {
    display: inline-block !important;
    padding: 8px 20px !important;
    background: var(--blog-primary) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4) !important;
    transition: all 0.3s ease !important;
}

.ps-post:first-child .ps-post__meta a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.5) !important;
}

.ps-post:first-child .ps-post__bottom p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

/* =========================================
   BLOG GRID CARDS (Remaining Posts)
   ========================================= */

.row .ps-post {
    background: var(--blog-bg) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: var(--blog-shadow) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid var(--blog-border) !important;
}

.row .ps-post:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border-color: transparent !important;
}

.row .ps-post .ps-post__thumbnail {
    position: relative !important;
    height: 240px !important;
    overflow: hidden !important;
    background: var(--blog-bg-light) !important;
}

.row .ps-post .ps-post__thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.row .ps-post:hover .ps-post__thumbnail img {
    transform: scale(1.1) !important;
}

.row .ps-post .ps-post__content {
    padding: 24px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.row .ps-post .ps-post__top {
    flex: 1 !important;
}

.row .ps-post .ps-post__meta {
    margin-bottom: 12px !important;
}

.row .ps-post .ps-post__meta a {
    display: inline-block !important;
    padding: 6px 16px !important;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%) !important;
    color: var(--blog-primary-solid) !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: 1px solid rgba(255, 107, 53, 0.2) !important;
    transition: all 0.3s ease !important;
}

.row .ps-post .ps-post__meta a:hover {
    background: var(--blog-primary) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
}

.row .ps-post .ps-post__title {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--blog-text) !important;
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.3s ease !important;
}

.row .ps-post:hover .ps-post__title {
    color: var(--blog-primary-solid) !important;
}

.row .ps-post .ps-post__bottom {
    margin-top: auto !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--blog-border) !important;
}

.row .ps-post .ps-post__bottom p {
    color: var(--blog-text-light) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

/* =========================================
   BLOG POST DETAIL PAGE
   ========================================= */

.ps-post--detail {
    background: var(--blog-bg) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: var(--blog-shadow) !important;
}

.ps-post--detail .ps-post__header p {
    color: var(--blog-text-light) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    margin-bottom: 24px !important;
}

.ps-post--detail .ps-post__header p a {
    color: var(--blog-primary-solid) !important;
    font-weight: 600 !important;
    transition: color 0.3s ease !important;
}

.ps-post--detail .ps-post__header p a:hover {
    color: #E55A2B !important;
    text-decoration: underline !important;
}

.ps-post--detail .ps-post__content {
    line-height: 1.8 !important;
    color: var(--blog-text) !important;
}

.ps-post--detail .ps-post__tags a {
    display: inline-block !important;
    padding: 6px 16px !important;
    background: var(--blog-bg-light) !important;
    color: var(--blog-text) !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin-right: 8px !important;
    margin-bottom: 8px !important;
    border: 1px solid var(--blog-border) !important;
    transition: all 0.3s ease !important;
}

.ps-post--detail .ps-post__tags a:hover {
    background: var(--blog-primary) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-2px) !important;
}

/* =========================================
   RELATED POSTS
   ========================================= */

.ps-related-posts {
    margin-top: 60px !important;
    padding-top: 40px !important;
    border-top: 2px solid var(--blog-border) !important;
}

.ps-related-posts h3 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--blog-text) !important;
    margin-bottom: 30px !important;
}

.ps-related-posts .ps-post {
    background: var(--blog-bg) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: var(--blog-shadow) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid var(--blog-border) !important;
}

.ps-related-posts .ps-post:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--blog-shadow-lg) !important;
    border-color: transparent !important;
}

.ps-related-posts .ps-post .ps-post__thumbnail {
    height: 200px !important;
    overflow: hidden !important;
}

.ps-related-posts .ps-post .ps-post__thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.ps-related-posts .ps-post:hover .ps-post__thumbnail img {
    transform: scale(1.1) !important;
}

/* =========================================
   PAGINATION
   ========================================= */

.ps-pagination {
    margin-top: 60px !important;
    text-align: center !important;
}

.ps-pagination .pagination {
    display: inline-flex !important;
    gap: 8px !important;
}

.ps-pagination .page-item .page-link {
    border-radius: 12px !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    color: var(--blog-text) !important;
    border: 1px solid var(--blog-border) !important;
    transition: all 0.3s ease !important;
}

.ps-pagination .page-item.active .page-link {
    background: var(--blog-primary) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
}

.ps-pagination .page-item:not(.active) .page-link:hover {
    background: var(--blog-bg-light) !important;
    border-color: var(--blog-primary-solid) !important;
    color: var(--blog-primary-solid) !important;
    transform: translateY(-2px) !important;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

/* Tablet */
@media (max-width: 991px) {
    .ps-post:first-child .ps-post__thumbnail {
        height: 400px !important;
    }

    .ps-post:first-child .ps-post__title {
        font-size: 28px !important;
    }

    .ps-post:first-child .ps-post__content {
        padding: 30px !important;
    }

    .row .ps-post .ps-post__thumbnail {
        height: 220px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .ps-post:first-child {
        margin-bottom: 40px !important;
    }

    .ps-post:first-child .ps-post__thumbnail {
        height: 300px !important;
    }

    .ps-post:first-child .ps-post__title {
        font-size: 24px !important;
    }

    .ps-post:first-child .ps-post__content {
        padding: 24px !important;
    }

    .row .ps-post .ps-post__thumbnail {
        height: 200px !important;
    }

    .row .ps-post .ps-post__content {
        padding: 20px !important;
    }

    .row .ps-post .ps-post__title {
        font-size: 18px !important;
    }

    .ps-post--detail {
        padding: 24px !important;
    }

    .ps-related-posts {
        margin-top: 40px !important;
    }
}

/* Small Mobile */
@media (max-width: 479px) {
    .ps-post:first-child .ps-post__thumbnail {
        height: 250px !important;
    }

    .ps-post:first-child .ps-post__title {
        font-size: 20px !important;
    }

    .row .ps-post .ps-post__thumbnail {
        height: 180px !important;
    }
}

/* =========================================
   MODERN VENDOR/STORE PAGE REDESIGN
   Premium Marketplace Vendor Profile UI
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --vendor-primary: #1d73ed;
    --vendor-bg-light: #f6f7f8;
    --vendor-bg-dark: #101722;
    --vendor-border: #e5e7eb;
    --vendor-text-main: #0f172a;
    --vendor-text-muted: #64748b;
}

/* Font Setup */
.font-display {
    font-family: 'Inter', sans-serif !important;
}

/* Layout Utilities (Strict Tailwind Mimic) */
.max-w-7xl {
    max-width: 80rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.w-full {
    width: 100% !important;
}

.h-full {
    height: 100% !important;
}

.h-64 {
    height: 16rem !important;
}

.min-h-screen {
    min-height: 100vh !important;
}

/* Spacing */
.p-2 {
    padding: 0.5rem !important;
}

.p-4 {
    padding: 1rem !important;
}

.p-8 {
    padding: 2rem !important;
}

.px-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.px-3 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

.px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.py-8 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.pb-8 {
    padding-bottom: 2rem !important;
}

.pt-4 {
    padding-top: 1rem !important;
}

.pl-2 {
    padding-left: 0.5rem !important;
}

.pl-3 {
    padding-left: 0.75rem !important;
}

.pl-5 {
    padding-left: 1.25rem !important;
}

.pl-10 {
    padding-left: 2.5rem !important;
}

.pr-2 {
    padding-right: 0.5rem !important;
}

.pr-3 {
    padding-right: 0.75rem !important;
}

.m-0 {
    margin: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-4 {
    margin-bottom: 1rem !important;
}

.mb-6 {
    margin-bottom: 1.5rem !important;
}

.mb-8 {
    margin-bottom: 2rem !important;
}

.mt-4 {
    margin-top: 1rem !important;
}

.mt-12 {
    margin-top: 3rem !important;
}

.mt-16 {
    margin-top: 4rem !important;
}

.mr-1 {
    margin-right: 0.25rem !important;
}

.ml-1 {
    margin-left: 0.25rem !important;
}

/* Gap Utilities */
.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 0.75rem !important;
}

.gap-4 {
    gap: 1rem !important;
}

.gap-6 {
    gap: 1.5rem !important;
}

.gap-8 {
    gap: 2rem !important;
}

/* Space-y Utilities */
.space-y-1>*+* {
    margin-top: 0.25rem !important;
}

.space-y-2>*+* {
    margin-top: 0.5rem !important;
}

.space-y-4>*+* {
    margin-top: 1rem !important;
}

.space-y-8>*+* {
    margin-top: 2rem !important;
}

/* Flexbox & Grid */
.flex {
    display: flex !important;
}

.flex-col {
    flex-direction: column !important;
}

.flex-row {
    flex-direction: row !important;
}

.items-center {
    align-items: center !important;
}

.items-end {
    align-items: flex-end !important;
}

.justify-between {
    justify-content: space-between !important;
}

.justify-center {
    justify-content: center !important;
}

.flex-1 {
    flex: 1 1 0% !important;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.relative {
    position: relative !important;
}

.absolute {
    position: absolute !important;
}

.sticky {
    position: sticky !important;
}

.top-24 {
    top: 6rem !important;
}

.inset-0 {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
}

.inset-y-0 {
    top: 0 !important;
    bottom: 0 !important;
}

.left-0 {
    left: 0 !important;
}

.left-8 {
    left: 2rem !important;
}

.right-8 {
    right: 2rem !important;
}

.bottom-8 {
    bottom: 2rem !important;
}

.-bottom-6 {
    bottom: -1.5rem !important;
}

.-top-1 {
    top: -0.25rem !important;
}

.grid {
    display: grid !important;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

/* Colors & Backgrounds */
.text-white {
    color: #ffffff !important;
}

.text-slate-900 {
    color: #0f172a !important;
}

.text-slate-800 {
    color: #1e293b !important;
}

.text-slate-700 {
    color: #334155 !important;
}

.text-slate-600 {
    color: #475569 !important;
}

.text-slate-500 {
    color: #64748b !important;
}

.text-slate-400 {
    color: #94a3b8 !important;
}

.text-slate-300 {
    color: #cbd5e1 !important;
}

.text-primary {
    color: var(--vendor-primary) !important;
}

.text-blue-400 {
    color: #60a5fa !important;
}

.text-yellow-400 {
    color: #facc15 !important;
}

.text-red-500 {
    color: #ef4444 !important;
}

.bg-white {
    background-color: #ffffff !important;
}

.bg-background-light {
    background-color: var(--vendor-bg-light) !important;
}

.bg-slate-50 {
    background-color: #f8fafc !important;
}

.bg-slate-100 {
    background-color: #f1f5f9 !important;
}

.bg-slate-200 {
    background-color: #e2e8f0 !important;
}

.bg-slate-800 {
    background-color: #1e293b !important;
}

.bg-slate-900 {
    background-color: #0f172a !important;
}

.bg-primary {
    background-color: var(--vendor-primary) !important;
}

.bg-primary\/10 {
    background-color: rgba(29, 115, 237, 0.1) !important;
}

.bg-primary\/20 {
    background-color: rgba(29, 115, 237, 0.2) !important;
}

.bg-white\/90 {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.bg-red-500 {
    background-color: #ef4444 !important;
}

/* Gradients */
.bg-gradient-to-t {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent) !important;
}

/* Borders & Shadows */
.border {
    border-width: 1px !important;
    border-style: solid !important;
}

.border-4 {
    border-width: 4px !important;
}

.border-white {
    border-color: #ffffff !important;
}

.border-slate-200 {
    border-color: #e2e8f0 !important;
}

.border-slate-300 {
    border-color: #cbd5e1 !important;
}

.border-primary {
    border-color: var(--vendor-primary) !important;
}

.rounded {
    border-radius: 0.25rem !important;
}

.rounded-lg {
    border-radius: 0.5rem !important;
}

.rounded-xl {
    border-radius: 0.75rem !important;
}

.rounded-full {
    border-radius: 9999px !important;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Typography Helpers */
.font-bold {
    font-weight: 700 !important;
}

.font-semibold {
    font-weight: 600 !important;
}

.font-medium {
    font-weight: 500 !important;
}

.text-xs {
    font-size: 0.75rem !important;
    line-height: 1rem !important;
}

.text-sm {
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
}

.text-base {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
}

.text-xl {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
}

.text-3xl {
    font-size: 1.875rem !important;
    line-height: 2.25rem !important;
}

.uppercase {
    text-transform: uppercase !important;
}

.tracking-wider {
    letter-spacing: 0.05em !important;
}

.tracking-widest {
    letter-spacing: 0.1em !important;
}

.line-through {
    text-decoration: line-through !important;
}

.no-underline {
    text-decoration: none !important;
}

.whitespace-nowrap {
    white-space: nowrap !important;
}

/* Hover States */
.hover\:bg-slate-100:hover {
    background-color: #f1f5f9 !important;
}

.hover\:bg-slate-200:hover {
    background-color: #e2e8f0 !important;
}

.hover\:bg-primary\/90:hover {
    background-color: rgba(29, 115, 237, 0.9) !important;
}

.group:hover .group-hover\:text-yellow-500 {
    color: #eab308 !important;
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05) !important;
}

/* Transitions */
.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke !important;
    transition-duration: 150ms !important;
}

.transition-transform {
    transition-property: transform !important;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-duration: 150ms !important;
}

.transition-all {
    transition-property: all !important;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-duration: 150ms !important;
}

.duration-300 {
    transition-duration: 300ms !important;
}

.duration-500 {
    transition-duration: 500ms !important;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden !important;
}

/* Object Fit */
.object-cover {
    object-fit: cover !important;
}

/* Helper Classes */
.block {
    display: block !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}

.w-32 {
    width: 8rem !important;
}

.h-32 {
    height: 8rem !important;
}

.w-10 {
    width: 2.5rem !important;
}

.h-10 {
    height: 2.5rem !important;
}

.w-8 {
    width: 2rem !important;
}

.h-8 {
    height: 2rem !important;
}

.w-48 {
    width: 12rem !important;
}

/* Responsive */
@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row !important;
    }

    .md\:max-w-md {
        max-width: 28rem !important;
    }

    .md\:w-auto {
        width: auto !important;
    }

    .md\:w-48 {
        width: 12rem !important;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .lg\:flex-row {
        flex-direction: row !important;
    }

    .lg\:w-64 {
        width: 16rem !important;
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Component Specific: Line Clamp */
.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

/* Material Icons Shim */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
}

/* Form Inputs Reset */
input.focus\:ring-primary:focus,
select.focus\:ring-primary:focus {
    box-shadow: 0 0 0 3px rgba(29, 115, 237, 0.2) !important;
    border-color: var(--vendor-primary) !important;
    outline: none !important;
}

/* Checkbox Reset */
input[type="checkbox"] {
    height: 1rem !important;
    width: 1rem !important;
    border-radius: 0.25rem !important;
    color: var(--vendor-primary) !important;
    border-color: #d1d5db !important;
}
