/* WooCommerce Products Grid */
.am-woo-products-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 100px 20px;
    background: linear-gradient(135deg, #111111 0%, #1a1c23 100%);
    display: flex;
    justify-content: center;
}

.am-woo-grid-container {
    width: 100%;
    max-width: 1600px; /* Full width capable */
}

.am-woo-grid {
    display: grid;
    gap: 30px;
    width: 100%;
}

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

/* The Card (White Glass) */
.am-woo-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.am-woo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(56, 88, 233, 0.25);
}

/* Top Area: Image */
.am-woo-image-area {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.am-woo-image-area img {
    position: relative;
    z-index: 2;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.am-woo-card:hover .am-woo-image-area img {
    transform: scale(1.08);
}

/* Tag */
.am-woo-sale-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff4747;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 11px;
    padding: 6px 16px;
    border-radius: 99px;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255, 71, 71, 0.3);
}
.am-woo-sale-tag.am-woo-tag-blue {
    background: #3858e9;
    box-shadow: 0 4px 10px rgba(56, 88, 233, 0.3);
}

/* Bottom Area */
.am-woo-info-area {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.am-woo-info-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.am-woo-card:hover .am-woo-info-grid {
    transform: translateY(-15px);
}

/* Left: Title */
.am-woo-title-col {
    flex: 1.2;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding-right: 20px;
    display: flex;
    align-items: flex-start;
    padding-top: 5px;
}

.am-woo-title {
    font-family: 'Megante', serif;
    font-size: 24px;
    color: #151516; /* Dark Title */
    margin: 0;
    line-height: 1.3;
}

/* Right: Desc */
.am-woo-desc-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.am-woo-desc-heading {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #3858e9;
    margin-bottom: 8px;
    font-weight: 800;
}

.am-woo-desc-content {
    font-family: 'Raleway', sans-serif;
    color: #555555; /* Dark Grey Text */
    font-size: 13px;
    line-height: 1.5;
}

.am-woo-desc-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.am-woo-desc-content ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 12px;
}
.am-woo-desc-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 4px;
    background: #3858e9;
    border-radius: 50%;
}

/* Overlapping Button (Slide up) */
.am-woo-action {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 5;
    width: calc(100% - 60px);
    display: flex;
    justify-content: center;
}

.am-woo-card:hover .am-woo-action {
    bottom: 25px;
    opacity: 1;
}

.am-woo-action .am-btn {
    width: 100%;
    justify-content: center;
}

/* Pagination */
.am-woo-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}
.am-woo-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}
.am-woo-pagination ul li a,
.am-woo-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.am-woo-pagination ul li span.current,
.am-woo-pagination ul li a:hover {
    background: #3858e9;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1200px) {
    .am-woo-cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 991px) {
    .am-woo-cols-3, .am-woo-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .am-woo-products-section {
        padding: 60px 15px;
    }
    .am-woo-cols-2, .am-woo-cols-3, .am-woo-cols-4 {
        grid-template-columns: 1fr;
    }
    .am-woo-info-grid {
        flex-direction: column;
        margin-bottom: 0;
    }
    .am-woo-title-col {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-right: 0;
        padding-bottom: 15px;
    }
    
    /* Mobile: Always show button, no hover needed */
    .am-woo-action {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        opacity: 1;
        width: 100%;
        margin-top: 25px;
    }
    .am-woo-card:hover .am-woo-info-grid {
        transform: none;
    }
}
