/* Shirts Page Specific Styles */

.container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb-section {
    background: #f5f5f5;
    padding: 15px 0;
}

.popup-content {
width: 100%!important;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: #999;
}

.breadcrumb a {
    color: #666;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #000;
}

.breadcrumb .active {
    color: #000;
    font-weight: 500;
}

/* Products Page Layout */
.products-page {
    background: #fff;
    padding: 30px 0;
}

.page-layout {
    display: flex;
    gap: 30px;
}

/* Filters Sidebar */
.filters-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.filter-header h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-group {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.filter-toggle {
    width: 100%;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    transition: color 0.3s;
}

.filter-toggle:hover {
    color: #666;
}

.filter-toggle i {
    font-size: 12px;
    color: #999;
    transition: transform 0.3s;
}

.filter-toggle.active i {
    transform: rotate(180deg);
}

.filter-options {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.filter-options.show {
    max-height: 500px;
    padding-bottom: 15px;
    padding-top: 7px;
}

.search-filter {
    margin-bottom: 10px;
}

.search-filter input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.filter-option:hover span {
    color: #000;
}

/* Color Grid */
.color-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.color-option {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.color-option input {
    position: absolute;
    opacity: 0;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: block;
    transition: all 0.3s;
}

.color-option:hover .color-swatch {
    transform: scale(1.1);
    border-color: #333;
}

.color-option input:checked + .color-swatch {
    border-color: #000;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

/* Products Content */
.products-content {
    flex: 1;
}

/* Products Header */
.products-header {
    margin-bottom: 30px;
}

.header-info h1 {
    font-size: 32px;
    margin-bottom: 5px;
}

.header-info .subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.header-info .description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.items-count {
    font-size: 14px;
}

.sort-filter select {
    padding: 8px 30px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.view-options {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
}

.view-btn:hover {
    border-color: #333;
    color: #333;
}

.view-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Products Grid */
.products-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.products-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.products-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.products-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Product Card */
.product-card {
    background: #fff;
    cursor: pointer;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 12px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: copy;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 100;
}

.wishlist-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.wishlist-btn i {
    font-size: 16px;
    color: #333;
}

.wishlist-btn.active i {
    color: #ff0000;
}

.wishlist-btn.active i::before {
    content: '\f004';
    font-weight: 900;
}

.product-options {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}

.product-info {
    padding: 0 5px;
}

.product-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-brand {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

/* Load More Section */
.load-more-section {
    text-align: center;
    padding: 20px 0;
}

.load-more-btn {
    padding: 15px 40px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.load-more-btn:hover {
    background: #333;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid.grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .page-layout {
        flex-direction: column;
    }

    .filters-sidebar {
        width: 100%;
    }

    .filter-groups-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .products-grid.grid-3,
    .products-grid.grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-controls {
        flex-wrap: wrap;
        gap: 15px;
    }

    .items-count {
        width: 100%;
        order: -1;
    }

    .products-grid.grid-2,
    .products-grid.grid-3,
    .products-grid.grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-info h1 {
        font-size: 24px;
    }

    .view-options {
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    .container-full {
        padding: 0 15px;
    }

    .products-grid {
        gap: 15px;
    }

    .product-title {
        font-size: 13px;
    }

    .filter-groups-mobile {
        grid-template-columns: 1fr;
    }
}

/* Filter Mobile Toggle */
.filter-mobile-toggle {
    display: none;
    width: 100%;
    padding: 12px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .filter-mobile-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .filters-sidebar {
        display: none;
    }

    .filters-sidebar.show {
        display: block;
    }
}

/* ============================================================================
   VALENTINE'S EXIT INTENT POPUP STYLES
   ============================================================================ */

/* Popup Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

/* Hearts Background */
.hearts-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.heart {
    position: absolute;
    bottom: -50px;
    font-size: 30px;
    opacity: 0.6;
    animation: float-heart 8s linear infinite;
    pointer-events: none;
}

@keyframes float-heart {
    0% {
        bottom: -50px;
        opacity: 0.6;
        transform: translateX(0) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: translateX(20px) rotate(180deg);
    }
    100% {
        bottom: 100vh;
        opacity: 0;
        transform: translateX(0) rotate(360deg);
    }
}

/* Popup Container */
.popup-container {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 2;
    animation: popup-slide-in 0.4s ease-out;
}

@keyframes popup-slide-in {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close-btn:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}

/* Gradient Header */
.popup-gradient-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #c06c84 50%, #8b5a7d 100%);
    border-radius: 20px 20px 0 0;
    padding: 40px 30px;
    color: #fff;
    text-align: center;
}

.popup-header .heart-icon {
    font-size: 50px;
    margin-bottom: 15px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.popup-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.popup-header p {
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.95;
    margin-bottom: 20px;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 10px;
    width: 0%;
    transition: width 0.4s ease;
}

/* Popup Content */
.popup-content {
    padding: 35px 30px;
}

/* Quiz Form */
.quiz-form {
    display: block;
}

.question {
    margin-bottom: 25px;
}

.question-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 15px;
}

.radio-option {
    flex: 1;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option label {
    display: block;
    padding: 18px;
    background: #f7fafc;
    border: 3px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #ff6b9d, #c06c84);
    border-color: #ff6b9d;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.radio-option label:hover {
    border-color: #ff6b9d;
    transform: translateY(-2px);
}

/* Select Wrapper */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #4a5568;
    font-size: 12px;
}

.select-wrapper select {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f7fafc;
    color: #4a5568;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

.select-wrapper select:focus {
    outline: none;
    border-color: #ff6b9d;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

/* CTA Button */
.cta-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #ff6b9d, #c06c84);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    margin-top: 10px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* Success Screen */
.success-screen {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-screen.active {
    display: block;
    animation: fade-in 0.5s ease;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce-in 0.6s ease;
}

@keyframes bounce-in {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.success-screen h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.success-screen p {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 30px;
}

.shop-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff6b9d, #c06c84);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.shop-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

/* Responsive Design */
@media (max-width: 576px) {
    .popup-container {
        border-radius: 15px;
        max-height: 95vh;
    }

    .popup-gradient-header {
        padding: 30px 20px;
        border-radius: 15px 15px 0 0;
    }

    .popup-header h1 {
        font-size: 26px;
    }

    .popup-header p {
        font-size: 14px;
    }

    .popup-content {
        padding: 25px 20px;
    }

    .radio-group {
        gap: 10px;
    }

    .radio-option label {
        padding: 15px;
        font-size: 14px;
    }

    .success-screen h2 {
        font-size: 24px;
    }

    .success-icon {
        font-size: 60px;
    }
}