/* ====================================
   Notification Animations
   ==================================== */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* ====================================
   Product Detail - Modern
   ==================================== */
.product-detail-modern {
    padding: 40px 0;
}
.gallery {
    background: #fff;
    padding: 16px;
    display: flex;
    gap: 16px;
}
.gallery-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.gallery-main {
    position: relative;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 200ms ease;
}
.gallery-main img.fade-out { opacity: 0; }
.gallery-main .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}
.gallery-main .nav:hover {
    background: rgba(0,0,0,0.7);
}
.gallery-main .prev { left: 8px; }
.gallery-main .next { right: 8px; }
.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.gallery-thumbs .thumb {
    width: 70px;
    height: 70px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    flex-shrink: 0;
}
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .thumb:hover { border-color: #6B4E9B; }
.gallery-thumbs .thumb.active { border-color: #6B4E9B; box-shadow: 0 0 0 3px rgba(107,78,155,0.2); }
.zoom-hint { text-align: left; color: #777; font-size: 0.8rem; width: 70px; line-height: 1.3; margin-top: 4px; }

/* Disable zoom cursor/animations on touch devices */
@media (pointer: coarse) {
    .gallery-main { cursor: default; }
    .gallery-main img { transition: opacity 200ms ease; }
}

/* Product split layout */
.product-detail-modern .product-split {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.product-detail-modern .image-pane {
    flex: 0 0 625px;
    max-width: 625px;
}
.product-detail-modern .info-pane {
    flex: 1 1 auto;
    min-width: 0;
}
@media (max-width: 991.98px) {
    .product-detail-modern .product-split { flex-direction: column; }
    .product-detail-modern .image-pane { max-width: 100%; }
}

/* Mobile button stack */
@media (max-width: 576px) {
    .actions { flex-direction: column; }
    .actions .cta { width: 100%; }
}

/* =============================
     Lightbox Viewer
     ============================= */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}
.lightbox.open { display: flex; }
.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
}
.lightbox-content img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    background: #111;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.lightbox .lb-close {
    position: absolute;
    top: -40px;
    right: -10px;
    color: #fff;
    font-size: 1.8rem;
    background: transparent;
}
.lightbox .lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox .lb-prev { left: -56px; }
.lightbox .lb-next { right: -56px; }

@media (max-width: 768px) {
    .lightbox .lb-prev { left: -36px; }
    .lightbox .lb-next { right: -36px; }
    .lightbox .lb-close { top: -36px; right: 0; }
}

.details { padding: 10px 24px; }
.details .title { font-size: 2rem; font-weight: 700; color: #333; margin-bottom: 12px; }
.details .meta { display:flex; align-items:center; justify-content: space-between; border-bottom: 1px solid #e5e5e5; padding-bottom: 12px; margin-bottom: 16px; }
.details .meta-left { display:flex; flex-direction:column; gap:6px; }
.details .sku { color:#666; font-size:0.9rem; }
.details .stars { color:#FFB800; font-size:1rem; display:flex; align-items:center; gap:2px; }
.details .stars .rating-text { color:#666; font-size:0.85rem; margin-left:6px; }
.details .units-sold { background:#f0f8ff; color:#4169E1; padding:4px 10px; border-radius:12px; font-size:0.85rem; font-weight:600; }
.color-section { margin:16px 0 12px; }
.color-row { display:flex; align-items:center; gap:10px; padding:10px 12px; background:#f8f8f8; border-radius:6px; cursor:pointer; transition: background 0.2s ease; position:relative; }
.color-row:hover { background:#f0f0f0; }
.color-row .label { font-weight:600; color:#333; font-size:0.95rem; }
.color-row .value { color:#6B4E9B; font-weight:600; flex:1; }
.color-row .color-arrow { color:#666; font-size:0.9rem; transition: transform 0.3s ease; }
.color-section:hover .color-arrow { transform: rotate(180deg); }
.color-section.show .color-arrow { transform: rotate(180deg); }
.swatches { display:grid; grid-template-columns: repeat(auto-fill, minmax(110px,1fr)); gap:8px; background:#fafafa; border:1px solid #e5e5e5; border-radius:6px; padding:10px; margin-top:8px; max-height:0; overflow:hidden; opacity:0; transition: all 0.3s ease; }
.color-section:hover .swatches { max-height:500px; opacity:1; }
.color-section.show .swatches { max-height:500px; opacity:1; }
.swatch { display:flex; align-items:center; gap:6px; padding:6px 10px; border:2px solid #e0e0e0; border-radius:20px; background:#fff; cursor:pointer; transition: all 0.2s ease; }
.swatch:hover { border-color:#6B4E9B; transform:translateY(-1px); }
.swatch.active { border-color:#6B4E9B; box-shadow:0 0 0 2px rgba(107,78,155,0.15); background:#f4effa; }
.swatch .dot { width:16px; height:16px; border-radius:50%; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.swatch .name { font-size:0.85rem; color:#333; font-weight:500; }
.price-row { display:flex; align-items:baseline; gap:8px; border-top:1px solid #e5e5e5; padding-top:16px; margin-top:6px; margin-bottom:4px; }
.price-row .label { color:#555; font-size:1rem; font-weight:600; text-transform: uppercase; letter-spacing: 0.5px; }
.price-row .price { font-size:1.8rem; font-weight:700; color:#2C2C2C; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }
.stock-row { margin:10px 0 14px; }
.stock { font-size:1rem; font-weight:500; display:flex; align-items:center; gap:8px; }
.stock.ok { color:#28a745; }
.stock.bad { color:#dc3545; }
.stock-bar { height:6px; border-radius:3px; width:100%; }
.stock-bar.green { background:#28a745; }
.stock-bar.red { background:#dc3545; }
.qty-row { margin:16px 0 20px; }
.qty-row .qty-header { display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.qty-row .label { font-weight:600; color:#333; font-size:0.95rem; }
.qty-row .stock-count { font-size:0.85rem; color:#666; font-weight:500; }
.qty { display:inline-flex; align-items:center; border:2px solid #d0d0d0; border-radius:6px; overflow:hidden; background:#fff; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.qty .qty-btn { width:36px; height:36px; display:flex; align-items:center; justify-content:center; font-size:1rem; color:#333; background:#f8f8f8; border:none; cursor:pointer; transition: all 0.2s ease; }
.qty .qty-btn:hover:not(:disabled) { background:#e8e8e8; color:#000; }
.qty .qty-btn:disabled { opacity:0.4; cursor:not-allowed; }
.qty .qty-btn i { line-height:1; }
.qty input { width:60px; height:36px; text-align:center; border:none; border-left:1px solid #d0d0d0; border-right:1px solid #d0d0d0; font-weight:600; font-size:1rem; color:#333; background:#fff; }
.actions { display:flex; gap:12px; margin-top:14px; }
.actions .cta { flex:1; padding:14px 26px; border:none; border-radius:6px; font-weight:700; background:#2C2C2C; color:#fff; display:inline-flex; align-items:center; justify-content:center; gap:10px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.actions .cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.actions .cta.alt { background:#5D7B86; }
.actions .cta.alt:hover { filter: brightness(1.05); }
.actions .cta i { font-size:1.05rem; }
.short { margin-top:16px; padding:16px 18px; background:#f8f9fa; border-left:4px solid #6B4E9B; border-radius:6px; font-family: 'Roboto', 'Segoe UI', sans-serif; font-size:0.95rem; color:#555; line-height:1.6; }
.desc-block { margin-top:32px; padding:0; background:transparent; border:none; border-radius:0; }
.desc-block h3 { font-size:1.5rem; font-weight:600; color:#2C2C2C; margin-bottom:16px; padding-bottom:12px; border-bottom:2px solid #e8e8e8; font-family: 'Roboto', 'Segoe UI', sans-serif; letter-spacing:-0.5px; }
.desc-block .content { color:#4a4a4a; line-height:1.8; font-family: 'Roboto', 'Segoe UI', sans-serif; font-size:1rem; padding:8px 0; }
.desc-block .content p { margin-bottom:14px; }
.desc-block .content h4 { font-size:1.15rem; font-weight:600; color:#333; margin:20px 0 10px; }
.desc-block .content ul, .desc-block .content ol { padding-left:24px; margin-bottom:14px; }
.desc-block .content li { margin-bottom:8px; }

/* Related Products Cards - Matches Shop Page Style */
.product-link { text-decoration:none; color:inherit; display:block; }
/* ====================================
   Sky Art Shop - Main Stylesheet
   ==================================== */

/* ====================================
   CSS Variables
   ==================================== */
:root {
    --primary-color: #6B4E9B;
    --primary-dark: #563D7C;
    --secondary-color: #E91E63;
    --accent-color: #FF9800;
    --text-color: #2C3E50;
    --text-light: #5A6C7D;
    --bg-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #2C2C2C;
    --border-color: #E1E8ED;
    --success-color: #4CAF50;
    --error-color: #F44336;

    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;

    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.15);

    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

/* ====================================
   Reset & Base Styles
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

a:hover {
    opacity: 0.85;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: var(--transition-fast);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ====================================
   Typography
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

/* ====================================
   Container & Layout
   ==================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ====================================
   Navigation Bar
   ==================================== */
.navbar {
    background-color: var(--bg-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: relative;
}

.nav-brand {
    flex-shrink: 0;
}

.nav-brand a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.nav-brand h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    pointer-events: none;
}

.nav-center .nav-menu {
    pointer-events: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-icon {
    position: relative;
    color: var(--text-color);
    font-size: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-icon:hover {
    color: var(--primary-color);
}

.nav-icon .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
    display: none;
}

/* Cart and Wishlist Dropdown */
.dropdown-container {
    position: relative;
}

.icon-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 350px;
    max-height: 450px;
    z-index: 1002;
    animation: dropdownFadeIn 0.2s ease;
}

.icon-dropdown.show {
    display: block;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.dropdown-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.dropdown-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px 0;
}

.dropdown-items .empty-message {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.dropdown-item {
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #fafafa;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.dropdown-item-info {
    flex: 1;
    min-width: 0;
}

.dropdown-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

.dropdown-item-quantity {
    color: #999;
}

.dropdown-item-price {
    font-weight: 600;
    color: var(--primary-color);
}

.dropdown-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    font-size: 1.2rem;
    line-height: 1;
    transition: color 0.2s;
}

.dropdown-item-remove:hover {
    color: #e74c3c;
}

.dropdown-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

.dropdown-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.dropdown-total span:last-child {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.btn-checkout,
.btn-view-all {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    background: var(--primary-color) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-checkout:hover,
.btn-view-all:hover {
    background: var(--primary-color) !important;
    color: white !important;
    text-decoration: none !important;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-checkout:focus,
.btn-view-all:focus,
.btn-checkout:active,
.btn-view-all:active,
.btn-checkout:visited,
.btn-view-all:visited {
    background: var(--primary-color) !important;
    color: white !important;
    text-decoration: none !important;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-shrink: 0;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.nav-toggle:hover span {
    background-color: var(--primary-color);
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 2rem;
    background-color: white;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    min-width: 250px;
    z-index: 1001;
    margin-top: 0;
}

.nav-dropdown.active {
    display: block;
}

.nav-dropdown .nav-menu {
    flex-direction: column;
    padding: var(--spacing-sm);
    gap: 0;
}

.nav-dropdown .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
}

.nav-dropdown .nav-menu li:last-child {
    border-bottom: none;
}

.nav-dropdown .nav-menu a {
    display: block;
    padding: 12px 16px;
    width: 100%;
    text-align: left;
}

.nav-dropdown .nav-menu a:hover {
    background-color: #f5f5f5;
}

.nav-dropdown .nav-menu a.active::after {
    display: none;
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.hero-content {
    padding: 0 var(--spacing-md);
}

.hero-content h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.hero-content .hero-description {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.hero-content .hero-description p {
    margin-bottom: 1rem;
}

.hero-content .hero-description ul,
.hero-content .hero-description ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.hero-content .hero-description h1,
.hero-content .hero-description h2,
.hero-content .hero-description h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding-right: 2rem;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(107, 78, 155, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 78, 155, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #c2185b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
}

.btn-icon svg {
    pointer-events: none;
    flex-shrink: 0;
}

/* ====================================
   Sections
   ==================================== */
section {
    padding: var(--spacing-xl) 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

/* ====================================
   Inspiration Section
   ==================================== */
.inspiration {
    background-color: var(--bg-light);
}

.inspiration h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.inspiration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.inspiration-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.inspiration-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.inspiration-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ====================================
   Collection Section
   ==================================== */
.collection {
    text-align: center;
}

.collection h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.collection-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.collection-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.collection-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.collection-item h3 {
    padding: var(--spacing-sm);
    color: var(--text-color);
}

/* ====================================
   Promotion Section
   ==================================== */
.promotion {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.promotion .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.promo-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.promo-card h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.promo-description {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.promo-card.featured {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.3), rgba(255, 193, 7, 0.3));
}

/* ====================================
   Products Grid
   ==================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

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

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

.product-card h3 {
    padding: var(--spacing-sm);
    font-size: 1.1rem;
}

.product-color-badge {
    display: inline-block;
    margin: 0 var(--spacing-sm) var(--spacing-xs);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.product-description {
    padding: 0 var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
}

/* Product Description Rich Text Styles */
.product-description p {
    margin-bottom: 0.5em;
}

.product-description strong,
.product-description b {
    font-weight: bold;
    color: var(--text-color);
}

.product-description em,
.product-description i {
    font-style: italic;
}

.product-description u {
    text-decoration: underline;
}

.product-description ul,
.product-description ol {
    margin: 0.5em 0 0.5em 1.2em;
    padding-left: 0;
}

.product-description li {
    margin-bottom: 0.3em;
}

.price {
    padding: 0 var(--spacing-sm);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.product-card .btn {
    width: calc(100% - var(--spacing-md));
    margin: 0 var(--spacing-sm) var(--spacing-sm);
}

/* ====================================
   Portfolio Section
   ==================================== */
.portfolio-hero,
.shop-hero,
.about-hero,
.contact-hero,
.category-hero {
    text-align: center;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #EDAEF9 0%, #81B1FA 100%);
}

.portfolio-hero h1,
.shop-hero h1,
.about-hero h1,
.contact-hero h1,
.category-hero h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
}

.portfolio-gallery {
    padding: var(--spacing-xl) 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.portfolio-category {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    height: 400px;
}

.category-link {
    display: block;
    height: 100%;
}

.category-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: var(--spacing-md);
    color: white;
    transition: var(--transition);
}

.category-overlay h2 {
    color: white;
    margin: 0;
}

.portfolio-category:hover .category-image img {
    transform: scale(1.1);
}

.portfolio-category:hover .category-overlay {
    background: linear-gradient(to top, rgba(107, 78, 155, 0.9), transparent);
}

/* ====================================
   Breadcrumb
   ==================================== */
.breadcrumb {
    padding: var(--spacing-sm) 0;
    background-color: var(--bg-light);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

/* ====================================
   Projects Gallery
   ==================================== */
.projects-gallery {
    padding: var(--spacing-xl) 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.project-image {
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: var(--spacing-md);
}

.project-info h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.project-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ====================================
   Shop Page
   ==================================== */
.shop-filters {
    background-color: var(--bg-light);
    padding: var(--spacing-md) 0;
}

.filter-bar {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.filter-group label {
    font-weight: 600;
}

.filter-group select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    cursor: pointer;
}

.shop-products {
    padding: var(--spacing-xl) 0;
}

/* ====================================
   About Page
   ==================================== */
.about-content {
    padding: var(--spacing-xl) 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-xl);
}

.about-main-content {
    min-width: 0;
}

.content-wrapper {
    max-width: 100%;
}

.content-wrapper h2 {
    color: var(--primary-color);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: 2rem;
}

.content-wrapper h3 {
    color: var(--text-color);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.content-wrapper p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.content-wrapper ol {
    list-style: decimal;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.content-wrapper li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.7;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin: var(--spacing-md) 0;
}

/* About Sidebar Image Gallery */
.about-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-images {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sidebar-image-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.sidebar-image-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.sidebar-image-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Team Section */
.team-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.section-header .lead {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
    gap: var(--spacing-lg);
    justify-content: center;
}

.team-member-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.team-member-info {
    padding: 0 var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-grow: 1;
}

.member-name {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.member-role {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.team-member-photo {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.team-member-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(107, 78, 155, 0.2);
    transition: var(--transition);
}

.team-member-card:hover .team-member-photo img {
    border-color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(107, 78, 155, 0.3);
    transform: scale(1.05);
}

/* Legacy styles for fallback */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
}

.about-text h2 {
    color: var(--primary-color);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.about-text ul {
    list-style: disc;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.about-text li {
    margin-bottom: var(--spacing-xs);
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.about-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-sidebar {
        position: relative;
        top: 0;
    }

    .sidebar-images {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

    .sidebar-image-item {
        flex: 1 1 calc(50% - var(--spacing-sm));
        min-width: 200px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* ====================================
   Contact Page
   ==================================== */
.contact-form-section {
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
}

.contact-info {
    background-color: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: 10px;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.contact-item {
    margin-bottom: var(--spacing-md);
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.contact-item a {
    color: var(--text-color);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 78, 155, 0.1);
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    margin-bottom: var(--spacing-sm);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links h3 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.footer-links ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: #CCCCCC;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #CCCCCC;
    font-size: 0.9rem;
}

/* ====================================
   Responsive Design
   ==================================== */

/* Tablet */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .nav-brand h1 {
        font-size: 1.5rem;
    }

    .nav-center {
        display: none;
    }

    .nav-dropdown {
        display: none;
        position: fixed;
        left: 0;
        top: 60px;
        background-color: white;
        width: 100%;
        box-shadow: var(--shadow-md);
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        border-radius: 0;
        margin-top: 0;
    }

    .nav-dropdown.active {
        display: block;
    }

    .nav-dropdown .nav-menu {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .inspiration-content {
        grid-template-columns: 1fr;
    }

    .collection-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 2.5rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .portfolio-hero h1,
    .shop-hero h1,
    .about-hero h1,
    .contact-hero h1,
    .category-hero h1 {
        font-size: 2rem;
    }

    .collection-grid,
    .products-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select {
        width: 100%;
    }

    .page-hero h1 {
        font-size: 2.2rem !important;
    }

    .hero-subtitle {
        font-size: 1.2rem !important;
    }

    .content-wrapper {
        font-size: 1rem;
    }

    .content-wrapper h1 { font-size: 1.8rem !important; }
    .content-wrapper h2 { font-size: 1.5rem !important; }
    .content-wrapper h3 { font-size: 1.3rem !important; }
    .content-wrapper h4 { font-size: 1.1rem !important; }
    .content-wrapper p { font-size: 1rem !important; }
}

/* ====================================
   Page Content Styles
   ==================================== */
.page-hero {
    background: linear-gradient(135deg, #EDAEF9 0%, #81B1FA 100%);
    padding: 4rem 0 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff !important;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.page-content {
    padding: 2rem 0 4rem;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-color);
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Rich Text Editor Content Styles */
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    line-height: 1.3;
    color: var(--primary-color);
}

.content-wrapper h1 { font-size: 2.5rem; font-weight: 700; }
.content-wrapper h2 { font-size: 2rem; font-weight: 600; }
.content-wrapper h3 { font-size: 1.7rem; font-weight: 600; }
.content-wrapper h4 { font-size: 1.4rem; font-weight: 600; }
.content-wrapper h5 { font-size: 1.2rem; font-weight: 600; }
.content-wrapper h6 { font-size: 1.1rem; font-weight: 600; }

.content-wrapper p {
    margin-bottom: 1.2em;
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 1em 0 1.5em 2em;
    padding-left: 0;
}

/* Preserve inline styles from pasted content */
.content-wrapper [style*=\"font-weight\"],
.content-wrapper [style*=\"font-style\"],
.content-wrapper [style*=\"text-decoration\"],
.content-wrapper [style*=\"color\"],
.content-wrapper [style*=\"background\"],
.content-wrapper [style*=\"font-size\"],
.content-wrapper [style*=\"text-align\"],
.content-wrapper [style*=\"margin\"],
.content-wrapper [style*=\"padding\"] {
    /* Inline styles preserved */
}

.content-wrapper strong,
.content-wrapper b {
    font-weight: bold;
}

.content-wrapper em,
.content-wrapper i {
    font-style: italic;
}

.content-wrapper u {
    text-decoration: underline;
}

.content-wrapper s,
.content-wrapper strike {
    text-decoration: line-through;
}

.content-wrapper br {
    display: block;
    margin: 0.5em 0;
    content: \"\";
}

.content-wrapper div,
.content-wrapper span {
    display: inline;
}

.content-wrapper div {
    display: block;
}

.content-wrapper li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.content-wrapper blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    color: var(--text-light);
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.content-wrapper a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.content-wrapper a:hover {
    border-bottom-color: var(--primary-color);
}

.content-wrapper table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
    box-shadow: var(--shadow-sm);
}

.content-wrapper table th,
.content-wrapper table td {
    padding: 0.75em;
    border: 1px solid var(--border-color);
    text-align: left;
}

.content-wrapper table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.content-wrapper table tr:nth-child(even) {
    background: var(--bg-light);
}

.content-wrapper pre {
    background: var(--bg-dark);
    color: #f8f8f2;
    padding: 1em;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.5em 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.content-wrapper code {
    background: var(--bg-light);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.content-wrapper pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.content-wrapper hr {
    margin: 2em 0;
    border: none;
    border-top: 2px solid var(--border-color);
}

/* ====================================
   Utility Classes
   ==================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

/* ====================================
   Dynamic Homepage Sections
   ==================================== */
.custom-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.custom-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.custom-section .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 30px;
}

.custom-section .img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

/* Dynamic section content styling */
.inspiration-text p,
.custom-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.inspiration-text ul,
.custom-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.inspiration-text li,
.custom-section li {
    margin-bottom: 8px;
}

/* ====================================
   Product Detail Page
   ==================================== */
.product-detail {
    padding: var(--spacing-xl) 0;
    background: #fff;
}

/* ====================================
   PRODUCT DETAIL PAGE - CLEAN LAYOUT
   ==================================== */

.product-detail-page {
    padding: 40px 0;
    background: #fff;
}

/* LEFT COLUMN: Product Images Section (40%) */
.product-image-section {
    background: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-image-wrapper {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px 30px; /* slightly bigger: 20px vertical, 30px horizontal */
    margin-bottom: 20px;
    display: inline-block;
    width: auto;
    max-width: 100%;
}

.main-product-img {
    max-width: 100%;
    max-height: 300px; /* increase from 280px */
    height: auto;
    display: block;
    object-fit: contain;
}

/* Thumbnail Gallery - Horizontal below */
.thumbnail-gallery {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.thumbnail-item-gallery {
    width: 60px;
    height: 60px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.thumbnail-item-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-item-gallery:hover {
    border-color: #6B4E9B;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.thumbnail-item-gallery.active {
    border-color: #6B4E9B;
    box-shadow: 0 0 0 3px rgba(107, 78, 155, 0.2);
}

/* Zoom Tooltip */
.zoom-tooltip {
    font-size: 0.85rem;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
}

.zoom-tooltip i {
    font-size: 1rem;
}

/* Description Section Below Images */
.description-section {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
    margin-top: 25px;
    text-align: left;
}

.description-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6B4E9B;
}

.description-content {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

.description-content p {
    margin-bottom: 12px;
}

.description-content ul,
.description-content ol {
    margin-left: 25px;
    margin-bottom: 12px;
}

.description-content li {
    margin-bottom: 8px;
}

/* RIGHT COLUMN: Product Details Section (60%) */
.product-details-section {
    padding: 20px 30px;
}

/* A. Product Title */
.product-title-main {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* B. SKU + Rating */
.product-sku-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.sku-badge {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.rating-display {
    color: #FFB800;
    font-size: 1.1rem;
}

.rating-display i {
    margin-left: 2px;
}

/* C. Color Label */
.color-label-section {
    margin-bottom: 15px;
}

.color-title {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.color-title strong {
    color: #6B4E9B;
    font-weight: 700;
}

/* D. Color Selection Grid */
.color-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
    padding: 20px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.color-swatch {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-swatch:hover:not(.inactive-swatch) {
    border-color: #6B4E9B;
    box-shadow: 0 2px 8px rgba(107, 78, 155, 0.2);
    transform: translateY(-2px);
}

.color-swatch.active-swatch {
    border-color: #6B4E9B;
    background: #f0ebf7;
    box-shadow: 0 0 0 3px rgba(107, 78, 155, 0.15);
}

.color-swatch.inactive-swatch {
    opacity: 0.4;
    cursor: not-allowed;
}

.color-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.color-name-text {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

/* E. Price Section */
.price-section-block {
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.price-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4169E1;
}

/* F. Stock Indicator */
.stock-indicator-section {
    margin-bottom: 25px;
}

.stock-text {
    font-size: 1rem;
    color: #28a745;
    font-weight: 500;
    margin-bottom: 10px;
}

.stock-text.out-of-stock {
    color: #dc3545;
}

.stock-bar-green {
    height: 6px;
    background: #28a745;
    border-radius: 3px;
    width: 100%;
}

.stock-bar-red {
    height: 6px;
    background: #dc3545;
    border-radius: 3px;
    width: 100%;
}

/* G. Quantity Selector */
.quantity-selector-section {
    margin-bottom: 25px;
}

.qty-label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 12px;
}

.qty-selector-wrapper {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: white;
}

.qty-minus-btn,
.qty-plus-btn {
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #555;
    transition: all 0.3s ease;
}

.qty-minus-btn:hover:not(:disabled),
.qty-plus-btn:hover:not(:disabled) {
    background: #f5f5f5;
    color: #6B4E9B;
}

.qty-minus-btn:disabled,
.qty-plus-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-number {
    width: 70px;
    height: 45px;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    background: white;
    color: #333;
}

/* H. Buttons Section */
.action-buttons-section {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-add-cart {
    flex: 1;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    background: #2C2C2C;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-cart:hover:not(:disabled) {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.btn-add-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-add-wishlist {
    flex: 1;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    background: #2C2C2C;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-wishlist:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Short Description Box */
.short-description-box {
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    color: #555;
    line-height: 1.7;
}

.short-description-box p {
    margin: 0;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.sku-label {
    font-size: 0.85rem;
    color: #777;
}

.sku-label strong {
    color: #333;
    font-weight: 600;
}

.rating-stars {
    color: #FFB800;
    font-size: 1rem;
}

.rating-stars i {
    margin-right: 2px;
}

/* New Compact Product Layout Styles */
.product-meta-compact {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.sku-text {
    font-size: 0.9rem;
    color: #777;
}

.sku-text strong {
    color: #333;
    font-weight: 600;
}

.rating-stars-compact {
    color: #FFB800;
    font-size: 1rem;
}

.rating-stars-compact i {
    margin-right: 2px;
}

.product-price-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6B4E9B;
    margin-bottom: 15px;
}

.product-stock-info {
    margin-bottom: 20px;
}

.stock-available {
    color: #28a745;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-available i {
    font-size: 1.2rem;
}

.stock-unavailable {
    color: #dc3545;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-unavailable i {
    font-size: 1.2rem;
}

.product-quantity-section {
    margin-bottom: 25px;
}

.quantity-label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 10px;
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #555;
    transition: all 0.3s ease;
}

.qty-btn:hover:not(:disabled) {
    background: #f0f0f0;
    color: #6B4E9B;
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-input {
    width: 70px;
    height: 45px;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    background: white;
    color: #333;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-cart-main {
    flex: 1;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    background: #6B4E9B;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-cart-main:hover:not(:disabled) {
    background: #5a3e82;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 78, 155, 0.3);
}

.btn-cart-main:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-wishlist-icon {
    width: 55px;
    height: 55px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-wishlist-icon:hover {
    border-color: #E91E63;
    color: #E91E63;
    background: #fff5f8;
}

.product-color-info {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.color-label {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
}

.color-value-badge {
    display: inline-block;
    padding: 5px 15px;
    background: #6B4E9B;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-short-desc {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    color: #555;
    line-height: 1.6;
}

.product-short-desc p {
    margin: 0;
}

/* Section Labels */
.section-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.color-value {
    font-weight: 500;
    color: var(--primary-color);
}

/* Color Grid Selection */
.color-selection-section {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: white;
    font-size: 0.9rem;
}

.color-option:hover:not(.unavailable) {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(107, 78, 155, 0.15);
}

.color-option.active {
    border-color: #6B4E9B;
    background: #f8f6fb;
    box-shadow: 0 0 0 2px rgba(107, 78, 155, 0.15);
    font-weight: 600;
}

.color-circle-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.color-name {
    font-size: 0.85rem;
    color: #4A5F66;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price Section */
.price-section {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

.price-display {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 5px;
}

/* Stock Section */
.stock-section {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

.stock-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    margin-top: 5px;
}

.stock-info.available {
    color: #28a745;
}

.stock-info.available i {
    font-size: 1.2rem;
}

.stock-info.unavailable {
    color: #dc3545;
}

.stock-info.unavailable i {
    font-size: 1.2rem;
}

/* Quantity Controls */
.quantity-section {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

.quantity-wrapper {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.qty-control-btn {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #4A5F66;
    transition: all 0.3s ease;
}

.qty-control-btn:hover:not(:disabled) {
    background: #f5f5f5;
    color: var(--primary-color);
}

.qty-control-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-display {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    background: white;
    color: #4A5F66;
}

/* Action Buttons */
.action-buttons-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-add-to-cart {
    flex: 1;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    background: #2D5F6D;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover:not(:disabled) {
    background: #1E4555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 95, 109, 0.3);
}

.btn-add-to-wishlist {
    flex: 1;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    background: #5D7B86;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-to-wishlist:hover {
    background: #4A6370;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 123, 134, 0.3);
}

/* Description Section */
.product-description-tabs {
    border-top: 1px solid #e5e5e5;
    padding-top: 30px;
}

.description-title {
    font-size: 1.5rem;
    color: #4A5F66;
    font-weight: 600;
    margin-bottom: 20px;
}

.description-content {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

.product-description-section {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
}

.product-description-section .section-title {
    font-size: 2rem;
    color: var(--text-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
}

.product-full-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.product-full-description p {
    margin-bottom: 1rem;
}

.product-full-description ul,
.product-full-description ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.product-full-description li {
    margin-bottom: 0.5rem;
}

.product-full-description h1,
.product-full-description h2,
.product-full-description h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

/* Product Card Link Styling */
.product-card .product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card .product-link:hover h3 {
    color: var(--primary-color);
}

