/* ======================================
   ATHAVAN PAPERS – PREMIUM PRODUCT PAGE
   Orange #FF6B35 | Blue #1F3A70
   ====================================== */

:root {
    --primary: #e05a20;
    --primary-hover: #c44a14;
    --dark-blue: #111827;
    --light-bg: #f0f2f5;
    --border: rgba(0,0,0,0.05);
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --success: #22c55e;
    --error: #e63946;
}

body {
    font-family: 'Segoe UI', 'Poppins', sans-serif;
    background: var(--light-bg);
    color: var(--text-primary);
}

/* ================= CONTAINER ================= */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 48px 80px;
}

/* ================= BREADCRUMB ================= */

.breadcrumb {
     margin-bottom: 30px;
        margin-top: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: #111827;
    text-decoration: none;
    font-weight: 600;
}
.breadcrumb a:hover { color: #e05a20; }

.breadcrumb span {
    margin: 0 10px;
    color: #9ca3af;
}

/* ================= PRODUCT GRID ================= */

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* ================= GALLERY ================= */

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    height: 450px;
    background: #f9fafb;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.main-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-gallery {
    display: flex;
    gap: 12px;
}

.thumbnail {
    width: 90px;
    height: 90px;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px solid transparent;
    padding: 6px;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: var(--primary);
}

.thumbnail.active {
    border-color: var(--primary);
}

/* ================= PRODUCT INFO ================= */

.product-info {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid rgba(0,0,0,0.03);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    background: #7a4e2c;
    color: white;
}

.badge.outline.success {
    border: 2px solid var(--success);
    color: var(--success);
    background: transparent;
}

.badge.outline.error {
    border: 2px solid var(--error);
    color: var(--error);
    background: transparent;
}

h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.3;
}

.sku {
    font-size: 14px;
    color: var(--text-secondary);
}

.product-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
}

/* ================= BUTTONS ================= */

.button-group {
    display: flex;
    gap: 15px;
}

.btn {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
    border: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

/* Add to Cart */
.btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
}

.btn.primary:hover {
    transform: translateY(-2px);
}

/* Wishlist */
.btn.secondary {
    background: transparent;
    border: 1.5px solid #e5e7eb;
    color: #4b5563;
}

.btn.secondary:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111827;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ================= FEATURES ================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.feature {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.feature:hover {
    transform: translateY(-5px);
}

.icon1 {
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
    color: var(--primary);
}

.btn-link {
    color: var(--primary);
    font-size: 13px;
    text-decoration: none;
}

/* ================= TABS ================= */

.tabs {
    margin-top: 50px;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
}

.tabs-list {
    display: flex;
    gap: 30px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 25px;
}

.tab {
    padding: 12px 0;
    background: none;
    border: none;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
}

.tab.active {
    color: var(--primary);
}

.tab.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.prose {
    line-height: 1.7;
    color: #374151;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

    .product-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
    }

    .main-image {
        height: 350px;
    }
}
