/* Inkrelic eCommerce Frontend Styles */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,560;9..144,680&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #c45c26;
    --secondary-color: #8c3d16;
    --accent-color: #e8a87c;
    --success-color: #1f7a4d;
    --warning-color: #b45309;
    --dark-color: #1c1917;
    --light-color: #f6f1ea;
    --border-color: #e6ddd2;
    --text-color: #44403c;
    --text-muted: #78716c;
    --orange-light: #f8efe6;
    --orange-dark: #8c3d16;
    --ink: #1c1917;
    --paper: #fbf7f2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--paper);
}

h1, h2, .navbar-brand strong, .page-header h1 {
    font-family: 'Fraunces', Georgia, serif;
}

.site-nav {
    background: var(--ink);
    box-shadow: 0 8px 24px rgba(28, 25, 23, 0.18);
    padding: 0.75rem 0;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff !important;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #e8a87c, #c45c26);
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 680;
}

.brand-lockup strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
}

.brand-lockup small {
    display: block;
    color: #d6d3d1;
    letter-spacing: 0.04em;
    font-size: 0.72rem;
}

.site-nav .nav-link {
    color: rgba(255,255,255,0.88) !important;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
    color: #fff !important;
}

.announcement-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    background: #fff;
    color: var(--ink);
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--border-color);
}

.announcement-bar .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.payment-card,
.product-card,
.card {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(28, 25, 23, 0.05);
}

.page-header {
    background: var(--ink) !important;
}

.price-tag {
    color: var(--primary-color);
    font-family: 'Fraunces', Georgia, serif;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 1rem;
    min-height: 60px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 45px;
    max-width: 180px;
}

.navbar-brand i {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.cart-count {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    color: white;
}

/* Announcement Marquee */
.announcement-marquee {
    background: white;
    color: black;
    padding: 8px 0;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 2px solid #ff6b35;
}

.announcement-marquee marquee {
    margin: 0;
}

/* Hero Slider */
.carousel {
    height: 600px;
    margin-bottom: 0;
}

.carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: opacity 0.6s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item:not(.active) {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.carousel-caption {
    text-align: center;
    padding: 2rem;
    background: rgba(28, 25, 23, 0.72);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 10px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Section Styling */
section {
    padding: 4rem 0;
}

section h2 {
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Category Cards */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
}

.category-card-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Product Cards */
.product-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-card-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.product-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.product-placeholder-large {
    width: 100%;
    height: 400px;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: 10px;
}

.product-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-card-actions {
    opacity: 1;
}

.product-card-actions .btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.product-badge.new {
    background: linear-gradient(135deg, var(--success-color) 0%, #38ef7d 100%);
}

.product-badge.trending {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.product-card-body {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.45rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-old-price {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

/* Product Page */
.product-page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.product-sku {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.product-rating {
    margin-bottom: 1rem;
}

.product-rating i {
    color: #ffc107;
}

.product-page-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 1rem;
}

.discount-badge {
    background: linear-gradient(135deg, var(--warning-color) 0%, #f5576c 100%);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 1rem;
}

/* Size Selection */
.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.size-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.size-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: var(--primary-color);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 700;
    transition: all 0.3s;
}

.qty-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.qty-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
}

.qty-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Stock Status */
.stock-status {
    padding: 1rem;
    background: var(--light-color);
    border-radius: 5px;
    margin-top: 1rem;
}

/* Product Gallery */
.product-gallery {
    margin-bottom: 2rem;
}

.main-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail:hover {
    border-color: var(--primary-color);
}

/* Reviews */
.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.review-rating {
    margin-bottom: 1rem;
}

.review-rating i {
    color: #ffc107;
}

.review-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: var(--dark-color);
}

.review-author span {
    font-weight: 400;
    color: var(--text-muted);
}

.review-item {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Instagram Gallery */
.instagram-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    cursor: pointer;
}

.instagram-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

.instagram-placeholder i {
    margin-bottom: 10px;
}

.instagram-placeholder span {
    font-size: 0.875rem;
    font-weight: 600;
}

.instagram-item:hover .instagram-placeholder {
    transform: scale(1.1);
}

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

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem;
    border-radius: 10px;
}

.newsletter-section h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.newsletter-section p {
    margin-bottom: 0;
}

.newsletter-section .form-control {
    border: none;
    padding: 1rem;
}

.newsletter-section .btn {
    padding: 1rem 2rem;
    border: none;
    background: var(--dark-color);
    color: white;
    font-weight: 600;
}

.newsletter-section .btn:hover {
    background: #1a202c;
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: white;
    padding: 1.1rem 0 0.7rem;
}

.site-footer h6 {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    color: white;
}

.site-footer li {
    margin-bottom: 0.2rem;
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.site-footer .footer-note,
.site-footer .footer-legal {
    color: rgba(255,255,255,0.65);
    font-size: 0.75rem;
    line-height: 1.35;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.35rem 1rem;
    flex-wrap: wrap;
    margin-top: 0.7rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.78rem;
}

.footer-legal {
    flex: 1 1 12rem;
    min-width: 0;
}

footer {
    background: var(--dark-color);
    color: white;
}

footer h4 {
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: white;
}

footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.75rem;
}

.social-links a {
    font-size: 1rem;
    margin-right: 0.7rem;
    transition: transform 0.3s;
}

.nav-tools {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 0.15rem;
}

.nav-tools .nav-link {
    padding: 0.4rem 0.55rem;
}

.nav-tools .navbar-toggler {
    border-color: rgba(255,255,255,0.35);
    padding: 0.25rem 0.45rem;
}

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

footer hr {
    border-color: rgba(255,255,255,0.1);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Cart Page */
.cart-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    background: white;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 1.5rem;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cart-item-size {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-summary {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-summary-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #38ef7d 100%);
    border: none;
}

.btn-success:hover {
    opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 10px;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* Product Description */
.product-description {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    line-height: 1.8;
}

/* Custom Print Page */
.custom-print-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
}

.file-upload-area i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-info-card i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Account Page */
.account-nav {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.account-nav .nav-link {
    color: var(--text-color);
    padding: 0.75rem 1rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.account-nav .nav-link:hover,
.account-nav .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.order-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.order-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.processing {
    background: #d1ecf1;
    color: #0c5460;
}

.order-status.shipped {
    background: #d4edda;
    color: #155724;
}

.order-status.delivered {
    background: #28a745;
    color: white;
}

.order-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Wishlist */
.wishlist-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.wishlist-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 1.5rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .site-nav .container {
        flex-wrap: wrap;
    }

    .brand-lockup {
        min-width: 0;
    }

    .brand-lockup small {
        display: none;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

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

    .site-nav .navbar-toggler {
        display: inline-flex !important;
        align-items: center;
    }

    .product-price {
        font-size: 1rem;
    }

    .announcement-bar span:nth-child(n+4) {
        display: none;
    }

    .site-nav .navbar-collapse {
        flex-basis: 100%;
        background: #292524;
        border-radius: 12px;
        margin-top: 0.4rem;
        padding: 0.35rem 0.5rem 0.6rem;
    }

    .announcement-bar {
        font-size: 0.72rem;
        gap: 0.35rem;
        padding: 0.35rem 0.75rem;
        text-align: center;
    }

    .page-header .py-5,
    .container.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .product-card-img {
        height: 170px;
    }

    .shop-toolbar {
        flex-wrap: wrap;
        gap: 0.6rem;
        align-items: flex-start !important;
    }

    .shop-toolbar .form-select {
        width: 100% !important;
        max-width: 220px;
    }

    .newsletter-section .input-group {
        flex-direction: column;
    }

    .newsletter-section .input-group .form-control,
    .newsletter-section .input-group .btn {
        width: 100%;
        border-radius: 8px !important;
        margin: 0;
    }

    .newsletter-section .btn {
        margin-top: 0.5rem;
    }

    .product-detail-img,
    .product-gallery img {
        width: 100%;
        height: auto;
    }

    .checkout-actions .btn,
    .product-buy .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 768px) {
    .carousel {
        height: 400px;
    }

    .carousel-item {
        height: 400px;
    }

    .carousel-caption {
        padding: 1.5rem;
        background: rgba(0,0,0,0.5);
        margin: 0 1rem;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .carousel-caption .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 8px;
    }
    
    .product-page-title {
        font-size: 1.5rem;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item img {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .cart-item-actions {
        width: 100%;
        justify-content: center;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 2rem 0;
    }

    .carousel {
        height: 300px;
    }

    .carousel-item {
        height: 300px;
    }

    .carousel-caption {
        padding: 1rem;
        background: rgba(0,0,0,0.6);
        margin: 0 0.5rem;
    }

    .carousel-caption h1 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .carousel-caption p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        display: none;
    }

    .carousel-caption .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin: 0.2rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 6px;
    }

    .newsletter-section {
        padding: 2rem 1rem;
    }
    
    .size-options {
        flex-direction: column;
    }
    
    .size-btn {
        width: 100%;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

/* Flash Messages */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #38ef7d 100%);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    color: white;
}

.alert-warning {
    background: linear-gradient(135deg, #ffb347 0%, #ff6b35 100%);
    color: white;
}

.alert-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Print Styles */
@media print {
    .navbar,
    .whatsapp-float,
    .btn,
    .carousel {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
}

/* Inkrelic gallery photography and footer trust badges */
.instagram-item img {
    display: block;
}

.instagram-image-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.2rem 0.65rem 0.7rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    pointer-events: none;
}

.instagram-overlay-label {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 999px;
}

.footer-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.13);
    border-bottom: 1px solid rgba(255,255,255,0.13);
}

.footer-trust-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.footer-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 140, 66, 0.18);
    border: 1px solid rgba(255, 140, 66, 0.45);
    font-size: 1rem;
}

.footer-trust-item strong,
.footer-trust-item small {
    display: block;
}

.footer-trust-item strong {
    color: #fff;
    font-size: 0.82rem;
    line-height: 1.3;
}

.footer-trust-item small {
    margin-top: 0.15rem;
    color: rgba(255,255,255,0.62);
    font-size: 0.72rem;
    line-height: 1.35;
}

@media (max-width: 767.98px) {
    .footer-trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-trust-item {
        align-items: flex-start;
    }
}

@media (max-width: 380px) {
    .footer-trust-strip {
        grid-template-columns: 1fr;
    }
}

/* Standard storefront header alignment */
.site-nav > .container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-nav .navbar-collapse {
    min-width: 0;
}

.site-nav .navbar-nav {
    align-items: center;
}

.site-nav .nav-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
    flex: 0 0 auto;
    white-space: nowrap;
}

.site-nav .nav-tools > .nav-link,
.site-nav .nav-tools .dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.6rem;
    border-radius: 0.5rem;
}

.site-nav .nav-tools > .nav-link:hover,
.site-nav .nav-tools .dropdown > .nav-link:hover {
    background: rgba(255,255,255,0.09);
}

.site-nav .cart-count {
    min-width: 19px;
    line-height: 1.2;
    text-align: center;
}

@media (max-width: 991.98px) {
    .site-nav > .container {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .site-nav .brand-lockup {
        margin-right: auto;
        min-width: 0;
    }

    .site-nav .nav-tools {
        margin-left: auto;
        order: 2;
    }

    .site-nav .navbar-toggler {
        order: 3;
        margin-left: 0.25rem;
    }

    .site-nav .navbar-collapse {
        order: 4;
        flex-basis: 100%;
        width: 100%;
    }

    .site-nav .navbar-nav {
        align-items: stretch;
        padding-top: 0.5rem;
    }

    .site-nav .navbar-nav .nav-link {
        padding: 0.65rem 0.25rem;
    }
}

/* Header logo image */
.site-nav .brand-logo-img {
    display: block;
    width: auto;
    height: 44px;
    max-width: 190px;
    object-fit: contain;
}

.site-nav .brand-lockup {
    flex: 0 0 auto;
    gap: 0;
}

@media (max-width: 575.98px) {
    .site-nav .brand-logo-img {
        height: 38px;
        max-width: 150px;
    }
}

/* Homepage: why Inkrelic and highlighted metal prints */
.section-eyebrow {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.why-inkrelic-section {
    background: #fffaf5;
}

.why-inkrelic-heading {
    max-width: 700px;
}

.why-inkrelic-heading h2,
.highlight-products-section h2 {
    color: var(--ink);
}

.why-inkrelic-heading p {
    color: var(--text-muted);
}

.why-inkrelic-card {
    padding: 1.35rem 1.1rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-inkrelic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(28, 25, 23, 0.08);
}

.why-inkrelic-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    border-radius: 12px;
    color: var(--primary-color);
    background: var(--orange-light);
    font-size: 1.15rem;
}

.why-inkrelic-card h3 {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.why-inkrelic-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.highlight-products-section {
    background: #fff;
}

.highlight-product-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(28, 25, 23, 0.09);
}

.highlight-product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 4 / 4.6;
    background: var(--light-color);
    text-decoration: none;
}

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

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

.highlight-product-placeholder {
    color: var(--text-muted);
}

.highlight-product-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem 0.6rem;
    color: #fff;
    background: var(--primary-color);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.highlight-product-info {
    padding: 1rem;
}

.highlight-product-info h3 {
    margin: 0.35rem 0 0.55rem;
    font-size: 1rem;
    line-height: 1.4;
}

.highlight-product-info h3 a {
    color: var(--ink);
    text-decoration: none;
}

.highlight-product-info h3 a:hover {
    color: var(--primary-color);
}

.highlight-product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.8rem;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.highlight-products-empty {
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--text-muted);
    border: 1px dashed var(--border-color);
    border-radius: 16px;
    background: var(--light-color);
}

@media (max-width: 575.98px) {
    .why-inkrelic-card {
        padding: 1rem 0.8rem;
    }
    .highlight-product-info {
        padding: 0.75rem;
    }
    .highlight-product-info h3 {
        font-size: 0.92rem;
    }
}

/* Featured product layout hardening: equal cards and graceful missing-image fallback */
.highlight-products-section .row {
    align-items: stretch;
}

.highlight-products-section .row > [class*="col-"] {
    display: flex;
    min-width: 0;
}

.highlight-products-section .highlight-product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6ddd2;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(28, 25, 23, 0.06);
}

.highlight-products-section .highlight-product-image {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 4.4;
    overflow: hidden;
    background: #f2ece5;
    flex: 0 0 auto;
}

.highlight-products-section .highlight-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.highlight-products-section .highlight-product-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #8c8176;
    background: #f2ece5;
}

.highlight-products-section .highlight-product-placeholder[hidden] {
    display: none !important;
}

.highlight-products-section .highlight-product-placeholder small {
    font-size: 0.8rem;
}

.highlight-products-section .highlight-product-tag {
    z-index: 2;
}

.highlight-products-section .highlight-product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 auto;
    padding: 1rem;
}

.highlight-products-section .highlight-product-info .product-category {
    display: block;
    margin-bottom: 0.2rem;
    color: #78716c;
    font-size: 0.8rem;
}

.highlight-products-section .highlight-product-info h3 {
    width: 100%;
    margin: 0.25rem 0 0.6rem;
    font-size: 1rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.highlight-products-section .highlight-product-info h3 a {
    color: #1c1917;
    text-decoration: none;
}

.highlight-products-section .highlight-product-info .product-price {
    margin-top: auto;
    padding-top: 0.25rem;
    color: #c45c26;
    font-weight: 700;
}

.highlight-products-section .highlight-product-info .highlight-product-link {
    margin-top: 0.7rem;
    color: #c45c26;
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .highlight-products-section .highlight-product-image {
        aspect-ratio: 1 / 1.1;
    }
    .highlight-products-section .highlight-product-info {
        padding: 0.8rem;
    }
}

/* Footer brand logo sizing */
.site-footer .footer-brand-logo { display:flex; align-items:center; justify-content:flex-start; width:100%; max-width:230px; height:68px; margin:.45rem 0 .65rem; padding:.4rem 0; overflow:hidden; text-decoration:none; }
.site-footer .footer-brand-logo img { display:block; width:auto; height:auto; max-width:100%; max-height:62px; object-fit:contain; object-position:left center; }
@media (max-width:575.98px) { .site-footer .footer-brand-logo { max-width:190px; height:58px; } .site-footer .footer-brand-logo img { max-height:54px; } }
