/* Container Grid - Flexible and Responsive */
.ps-product-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important; /* Automatically fits products */
    gap: 32px !important;
    padding: 24px 0 !important;
    width: 100% !important;
}

/* Forced Layouts */
.ps-product-grid.ps-layout-vertical {
    grid-template-columns: 1fr !important;
}

@media (max-width: 639px) {
    .ps-product-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Card Style - Matching bg-white rounded-3xl overflow-hidden shadow-lg hover:shadow-xl */
.ps-product-card {
    background: #ffffff !important;
    border-radius: 24px !important; /* rounded-3xl */
    overflow: hidden !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; /* shadow-lg */
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 380px !important; /* Prevent stretching too wide */
    margin: 0 auto !important; /* Center if only one product */
}

.ps-product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; /* shadow-xl */
}

/* Image Wrapper - Matching w-full h-64 bg-gray-100 flex items-center justify-center */
.ps-product-image-wrap {
    width: 100% !important;
    height: 256px !important; /* h-64 */
    background-color: #f3f4f6 !important; /* bg-gray-100 */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Inner Circle - Matching w-48 h-48 rounded-full overflow-hidden */
.ps-product-image-circle {
    width: 192px !important; /* w-48 */
    height: 192px !important; /* h-48 */
    border-radius: 9999px !important; /* rounded-full */
    overflow: hidden !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ps-product-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Content Area - Matching p-6 */
.ps-product-content {
    padding: 24px !important; /* p-6 */
}

/* Title - Matching uppercase mb-2 style fontSize: 18px */
.ps-product-title {
    font-family: 'Playfair Display', serif !important;
    text-transform: uppercase !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important; /* mb-2 */
    color: #000000 !important;
}

/* Price - Matching text-[#00B4B4] mb-4 style fontSize: 24px fontWeight: 600 */
.ps-product-price {
    font-family: 'Inter', sans-serif !important;
    color: #00B4B4 !important; /* teal */
    font-size: 24px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    margin-bottom: 16px !important; /* mb-4 */
}

/* Category Showcase Grid */
.ps-category-grid {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 32px !important;
    padding: 24px 0 !important;
    width: 100% !important;
}

@media (min-width: 640px) {
    .ps-category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .ps-category-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.ps-category-card {
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    border-top-left-radius: 48px !important; /* Matches 3rem */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
    text-decoration: none !important;
    background: #000 !important;
    height: 320px !important; /* h-80 = 20rem = 320px */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.ps-category-card:hover {
    transform: translateY(-8px) !important;
}

.ps-category-image-wrap {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.ps-category-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.ps-category-card:hover .ps-category-image {
    transform: scale(1.1) !important;
}

.ps-category-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%) !important;
    display: flex !important;
    align-items: flex-end !important;
    padding: 32px !important;
}

.ps-category-title {
    color: #ffffff !important;
    font-family: 'Playfair Display', serif !important;
    text-transform: uppercase !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    letter-spacing: 0.1em !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}
 /* mb-4 */


/* Buy Button - Matching bg-[#0A0A0A] text-white px-6 py-3 rounded-full hover:scale-105 transition-transform */
.ps-buy-button {
    background-color: #0A0A0A !important;
    color: #ffffff !important;
    padding: 12px 24px !important; /* px-6 py-3 */
    border-radius: 9999px !important; /* rounded-full */
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: transform 0.2s ease !important;
}

.ps-buy-button:hover {
    transform: scale(1.05) !important;
    color: #ffffff !important;
}

/* Ensure no border-radius conflicts from elsewhere */
.ps-product-image-wrap img {
    border-radius: 50% !important;
}

/* PRODUCTS PAGE SPECIFIC STYLES */
.ps-products-page {
    font-family: 'Inter', sans-serif !important;
    background: #ffffff !important;
    color: #000000 !important;
}

.ps-hero {
    position: relative !important;
    height: 50vh !important;
    min-height: 400px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background-color: #0A0A0A !important;
    background-image: url('https://images.unsplash.com/photo-1767611118479-3f3a8704c8ba') !important;
    background-size: cover !important;
    background-position: center !important;
    text-align: center !important;
    color: #ffffff !important;
}

.ps-hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 1 !important;
}

.ps-hero .ps-container {
    position: relative !important;
    z-index: 2 !important;
}

.ps-hero-title {
    font-family: 'Playfair Display', serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: clamp(40px, 6vw, 72px) !important;
    font-weight: 800 !important;
    margin-bottom: 16px !important;
    color: #ffffff !important;
}

.ps-hero-subtitle {
    font-size: 18px !important;
    font-weight: 300 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    opacity: 0.9 !important;
}

.ps-products-grid-section {
    padding: 80px 0 !important;
    background: #ffffff !important;
}

.ps-container {
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

.ps-products-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 48px !important;
}

.ps-product-page-card {
    background: #F7F7F7 !important;
    border-radius: 32px !important;
    overflow: hidden !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 40px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}

@media (min-width: 1024px) {
    .ps-product-page-card {
        grid-template-columns: 1fr 1.2fr !important;
        padding: 60px !important;
    }
}

.ps-product-page-image-col {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ps-image-circle-large {
    width: 250px !important;
    height: 250px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    padding: 20px !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

@media (min-width: 768px) {
    .ps-image-circle-large {
        width: 320px !important;
        height: 320px !important;
    }
}

.ps-image-circle-large img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

.ps-product-page-info-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.ps-product-page-title {
    font-family: 'Playfair Display', serif !important;
    text-transform: uppercase !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: #000000 !important;
}

.ps-product-page-price {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #00B4B4 !important;
    margin-bottom: 24px !important;
}

.ps-benefits-list {
    margin-bottom: 32px !important;
}

.ps-benefit-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    font-size: 16px !important;
    font-weight: 300 !important;
}

.ps-benefit-item svg {
    flex-shrink: 0 !important;
    margin-top: 3px !important;
}

.ps-button-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

@media (min-width: 480px) {
    .ps-button-group {
        flex-direction: row !important;
    }
}

.ps-btn-amazon {
    background: #0A0A0A !important;
    color: #ffffff !important;
    padding: 14px 32px !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    text-align: center !important;
    transition: transform 0.2s ease !important;
}

.ps-btn-amazon:hover {
    transform: scale(1.05) !important;
    color: #ffffff !important;
}

.ps-btn-learn {
    border: 2px solid #0A0A0A !important;
    color: #0A0A0A !important;
    padding: 12px 32px !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}

.ps-btn-learn:hover {
    background: #0A0A0A !important;
    color: #ffffff !important;
}

.ps-why-choose {
    padding: 80px 0 !important;
    background: #F7F7F7 !important;
    text-align: center !important;
}

.ps-section-title {
    font-family: 'Playfair Display', serif !important;
    text-transform: uppercase !important;
    font-size: clamp(32px, 5vw, 56px) !important;
    font-weight: 700 !important;
    margin-bottom: 48px !important;
    color: #000000 !important;
}

.ps-features-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
}

@media (min-width: 768px) {
    .ps-features-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.ps-feature-card {
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 32px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
}

.ps-feature-card h3 {
    text-transform: uppercase !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
    color: #000000 !important;
}

.ps-feature-card p {
    color: #666666 !important;
    font-weight: 300 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}
