:root {
    --main-bg: #FEFFF0;
    --blue: #BAE6FF;
    --yellow: #FFDC58;
}

html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-bg);
    font-family: "Space Grotesk", sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Logo boyut kisitlamasi */
.custom-logo-link img,
.custom-logo {
    max-height: 45px;
    width: auto;
}


/* Showcase carousel base styles */
#showcase-carousel {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

#showcase-carousel.is-dragging {
    cursor: grabbing;
}

#showcase-carousel img {
    pointer-events: none;
}

/* Showcase carousel responsive */
@media (max-width: 640px) {
    .showcase-item {
        flex: 0 0 100% !important;
        min-width: 100% !important;
    }
}

@media (min-width: 641px) and (max-width: 767px) {
    .showcase-item {
        flex: 0 0 calc(50% - 0.5rem) !important;
        min-width: calc(50% - 0.5rem) !important;
    }
}

/* About Journey section responsive grid */
.about-journey-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-journey-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Services cards responsive grid */
.services-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .services-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-card-grid > *:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 0.75rem);
        margin: 0 auto;
    }
}

/* Blog "Explore Blog" link hover */
.explore-blog-link:hover {
    text-decoration: underline;
}

/* About page styles */
.about-service-card {
    background: white;
    border: 2px solid black;
    padding: 0;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.about-service-card:hover {
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.about-quote-box {
    background: white;
    border: 2px solid black;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    padding: 2rem;
    text-align: center;
    font-style: italic;
    font-size: 1.125rem;
}

.about-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid black;
    border-radius: 50%;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.about-social-links a:hover {
    background: var(--yellow);
}

/* About service cards responsive grid */
@media (min-width: 768px) {
    .about-service-card {
        grid-template-columns: 280px 1fr !important;
    }

    .about-service-card > div:first-child {
        border-bottom: none !important;
        border-right: 2px solid black;
    }

    .about-service-card > div:first-child img {
        height: 100% !important;
        min-height: 220px;
    }
}

/* Contact Form 7 Neo-Brutalist Styling */
.wpcf7 {
    max-width: 100%;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.wpcf7-form label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid black;
    background: #FEFFF0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.2s ease;
    box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    box-shadow: 3px 3px 0px rgba(0,0,0,0.3);
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--blue);
    color: black;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid black;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
}

.wpcf7-form input[type="submit"]:hover {
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.wpcf7-form .wpcf7-response-output {
    border: 2px solid black !important;
    padding: 1rem !important;
    margin: 1rem 0 0 0 !important;
    font-size: 0.875rem;
}

.wpcf7-form .wpcf7-not-valid-tip {
    color: #e53e3e;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.wpcf7-form .wpcf7-spinner {
    margin-left: 1rem;
}

.wpcf7-form p {
    margin: 0;
}

/* Services page styles */
.services-hero-card {
    background: white;
    border: 2px solid black;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.services-hero-card:hover {
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.services-hero-card img {
    border-bottom: 2px solid black;
}

.solutions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solutions-list li {
    padding: 1rem 1.25rem;
    border: 2px solid black;
    border-bottom: none;
    background: white;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.solutions-list li:last-child {
    border-bottom: 2px solid black;
}

.solutions-list li:hover {
    background: var(--yellow);
}

.etsy-review-card {
    background: white;
    border: 2px solid black;
    padding: 1.5rem;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.15);
}


/* ========================================
   Blog Archive Grid
   ======================================== */
.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1023px) {
    .blog-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .blog-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog archive card */
.blog-archive-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 2px solid black;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-archive-card:hover {
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

/* ========================================
   Blog Archive Pagination (Neo-Brutalist)
   ======================================== */
.blog-archive-pagination {
    display: flex;
    justify-content: center;
}

.blog-archive-pagination .page-numbers {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    margin: 0;
}

.blog-archive-pagination .page-numbers li {
    margin: 0;
}

.blog-archive-pagination .page-numbers li a,
.blog-archive-pagination .page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    border: 2px solid black;
    margin-left: -2px;
    background: white;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.blog-archive-pagination .page-numbers li:first-child a,
.blog-archive-pagination .page-numbers li:first-child span {
    margin-left: 0;
}

.blog-archive-pagination .page-numbers li a:hover {
    background: var(--yellow);
    position: relative;
    z-index: 1;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.blog-archive-pagination .page-numbers li span.current {
    background: var(--blue);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.blog-archive-pagination .page-numbers li span.dots {
    background: transparent;
    border-color: transparent;
    min-width: 30px;
    cursor: default;
}

.blog-archive-pagination .page-numbers li .prev,
.blog-archive-pagination .page-numbers li .next {
    font-weight: 600;
    gap: 0.25rem;
}

/* Pagination responsive */
@media (max-width: 480px) {
    .blog-archive-pagination .page-numbers li a,
    .blog-archive-pagination .page-numbers li span {
        min-width: 38px;
        height: 38px;
        padding: 0 0.5rem;
        font-size: 0.8rem;
    }
}

/* ========================================
   Single Post Styles
   ======================================== */

/* Post Title */
.single-post-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1.5rem 0;
    color: black;
}

@media (min-width: 768px) {
    .single-post-title {
        font-size: 3rem;
    }
}

/* Category Badge */
.single-post-category-badge {
    display: inline-block;
    background: var(--yellow);
    color: black;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.85rem;
    border: 2px solid black;
    text-decoration: none;
    margin-right: 0.5rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.single-post-category-badge:hover {
    box-shadow: 3px 3px 0px rgba(0,0,0,0.3);
    transform: translateY(-1px);
}

/* Post Meta */
.single-post-meta {
    margin-bottom: 2rem;
}

.single-post-meta-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #555;
}

.single-post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.single-post-meta-item i {
    font-size: 1.05rem;
}

.single-post-meta-divider {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #999;
    border-radius: 50%;
}

/* Featured Image */
.single-post-featured-image {
    background: white;
    padding: 0.5rem;
    border: 2px solid black;
    margin-top: 0.5rem;
}

.single-post-thumbnail {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid black;
}

/* ========================================
   Single Post Content (prose-like styles)
   ======================================== */

.single-post-content {
    max-width: 42rem;
    margin: 0 auto;
}

.single-post-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #222;
}

.single-post-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: black;
}

.single-post-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: black;
}

.single-post-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.75rem;
    margin-bottom: 0.625rem;
    color: black;
}

.single-post-content a {
    color: black;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--yellow);
    transition: text-decoration-color 0.2s ease;
}

.single-post-content a:hover {
    text-decoration-color: var(--blue);
}

.single-post-content ul {
    list-style: disc;
    padding-left: 1.75rem;
    margin-bottom: 1.5rem;
}

.single-post-content ol {
    list-style: decimal;
    padding-left: 1.75rem;
    margin-bottom: 1.5rem;
}

.single-post-content ul li,
.single-post-content ol li {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 0.5rem;
    color: #222;
}

.single-post-content ul ul,
.single-post-content ol ol,
.single-post-content ul ol,
.single-post-content ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.single-post-content blockquote {
    border-left: 4px solid black;
    background: white;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #333;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
}

.single-post-content blockquote p {
    margin-bottom: 0;
}

.single-post-content blockquote cite {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    color: #555;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border: 2px solid black;
    border-radius: 2px;
    margin: 1.5rem 0;
    display: block;
}

.single-post-content figure {
    margin: 2rem 0;
}

.single-post-content figure img {
    margin: 0 0 0.5rem 0;
}

.single-post-content figcaption {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    font-style: italic;
}

.single-post-content pre {
    background: #1a1a2e;
    color: #e2e8f0;
    padding: 1.25rem 1.5rem;
    border: 2px solid black;
    overflow-x: auto;
    margin: 1.75rem 0;
    font-size: 0.9rem;
    line-height: 1.65;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.single-post-content code {
    background: rgba(0,0,0,0.06);
    padding: 0.15rem 0.4rem;
    border-radius: 2px;
    font-size: 0.9em;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.single-post-content pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

.single-post-content table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid black;
    margin: 1.75rem 0;
    font-size: 0.95rem;
}

.single-post-content thead {
    background: var(--yellow);
}

.single-post-content th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 700;
    border: 2px solid black;
}

.single-post-content td {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-left: 2px solid black;
    border-right: 2px solid black;
}

.single-post-content tbody tr:nth-child(even) {
    background: rgba(0,0,0,0.02);
}

.single-post-content tbody tr:last-child td {
    border-bottom: 2px solid black;
}

.single-post-content hr {
    border: none;
    border-top: 2px dashed #ccc;
    margin: 2.5rem 0;
}

.single-post-content .wp-block-image {
    margin: 2rem 0;
}

.single-post-content .wp-block-image img {
    margin: 0 auto;
}

.single-post-content .wp-block-image figcaption {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Gutenberg alignment support */
.single-post-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.single-post-content .alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.single-post-content .alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.single-post-content .alignwide {
    max-width: 48rem;
    margin-left: -3rem;
    margin-right: -3rem;
}

@media (max-width: 768px) {
    .single-post-content .alignwide {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .single-post-content .alignleft,
    .single-post-content .alignright {
        float: none;
        margin-left: 0;
        margin-right: 0;
    }
}

/* ========================================
   Post Tags
   ======================================== */

.single-post-tags {
    max-width: 42rem;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 2px dashed #ddd;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.single-post-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.75rem;
    border: 2px solid black;
    background: white;
    color: black;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.single-post-tag:hover {
    background: var(--blue);
    box-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

/* ========================================
   Post Navigation
   ======================================== */

.single-post-nav-container {
    max-width: 42rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 640px) {
    .single-post-nav-container {
        grid-template-columns: 1fr;
    }
}

.single-post-nav-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    border: 2px solid black;
    background: white;
    text-decoration: none;
    color: black;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.single-post-nav-card:hover {
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.single-post-nav-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #777;
}

.single-post-nav-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-post-nav-next {
    text-align: right;
}

.single-post-nav-next .single-post-nav-label {
    justify-content: flex-end;
}

/* ========================================
   Gallery Grid (centered last row)
   ======================================== */

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.gallery-grid > * {
    flex: 0 0 calc(33.333% - 0.667rem);
}

.gallery-grid--2col > * {
    flex: 0 0 calc(50% - 0.5rem);
}

@media (max-width: 768px) {
    .gallery-grid > * {
        flex: 0 0 calc(50% - 0.5rem);
    }
    .gallery-grid--2col > * {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    .gallery-grid > * {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

/* ========================================
   Lightbox
   ======================================== */

[data-lightbox] {
    cursor: zoom-in;
}

.md-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    overflow: hidden;
}

.md-lightbox-overlay.md-lightbox-active {
    opacity: 1;
    pointer-events: auto;
}

.md-lightbox-img {
    max-width: calc(90vw - 6px);
    max-height: calc(90vh - 6px);
    object-fit: contain;
    border: 3px solid white;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    transition: transform 0.2s ease;
    box-sizing: border-box;
}

.md-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    z-index: 10;
    transition: transform 0.15s ease;
}

.md-lightbox-close:hover {
    transform: scale(1.2);
}

.md-lightbox-prev,
.md-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    color: white;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s ease;
    z-index: 10;
}

.md-lightbox-prev { left: 1.5rem; }
.md-lightbox-next { right: 1.5rem; }

.md-lightbox-prev:hover,
.md-lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}

@media (max-width: 640px) {
    .md-lightbox-prev,
    .md-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    .md-lightbox-prev { left: 0.75rem; }
    .md-lightbox-next { right: 0.75rem; }
    .md-lightbox-close { top: 0.5rem; right: 0.75rem; }
}

/* ========================================
   WooCommerce - Shop Page (Neo-Brutalist)
   ======================================== */

/* Product Grid */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce ul.products > *:only-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.75rem);
    margin: 0 auto !important;
}

@media (max-width: 640px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
    .woocommerce ul.products > *:only-child {
        max-width: 100%;
    }
}

/* Product Card */
.wc-product-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 2px solid black;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.wc-product-card:hover {
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.wc-product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Product Image */
.wc-product-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-bottom: 2px solid black;
}

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

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

.wc-product-card-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-product-card-placeholder img {
    opacity: 0.3;
}

/* Sale Badge */
.wc-product-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--yellow);
    color: black;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.65rem;
    border: 2px solid black;
}

/* Product Card Content */
.wc-product-card-content {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.wc-product-card-category {
    display: inline-block;
    background: var(--yellow);
    border-radius: 9999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 500;
    align-self: flex-start;
}

.wc-product-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wc-product-card-excerpt {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wc-product-card-footer {
    margin-top: auto;
    padding-top: 0.5rem;
}

.wc-product-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: black;
}

.wc-product-card-price del {
    opacity: 0.4;
    font-weight: 400;
    font-size: 0.9rem;
}

.wc-product-card-price ins {
    text-decoration: none;
}

/* Product Card Action Button */
.wc-product-card-action {
    padding: 0 1.25rem 1.25rem;
}

.wc-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.7rem 1.25rem;
    background: var(--blue);
    color: black;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid black;
    border-radius: 9999px;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.wc-product-btn:hover {
    box-shadow: 3px 3px 0px rgba(0,0,0,0.25);
    transform: translateY(-1px);
}

.wc-product-btn.added::after {
    content: none !important;
}

/* Toolbar: Result Count + Ordering */
.wc-shop-toolbar {
    font-family: "Space Grotesk", sans-serif;
}

.woocommerce-result-count {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.woocommerce-ordering select.orderby {
    appearance: none;
    -webkit-appearance: none;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border: 2px solid black;
    background: white;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='black'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: box-shadow 0.2s ease;
}

.woocommerce-ordering select.orderby:focus {
    outline: none;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.2);
}

/* WooCommerce default sale badge override (hide it, we use our own) */
.woocommerce span.onsale {
    display: none !important;
}

/* Remove default WooCommerce styles that conflict */
.woocommerce ul.products li.product .price {
    color: black;
    font-size: inherit;
    margin: 0;
}

.woocommerce ul.products li.product a img {
    margin: 0;
}

.woocommerce ul.products li.product .button {
    display: none;
}

.woocommerce ul.products li.product .star-rating {
    display: none;
}

/* ========================================
   WooCommerce - Single Product (Neo-Brutalist)
   ======================================== */

/* Breadcrumb */
.wc-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 2rem;
}

.wc-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wc-breadcrumb a:hover {
    color: black;
}

.wc-breadcrumb-sep {
    font-size: 0.75rem;
    opacity: 0.5;
}

.wc-breadcrumb-current {
    color: black;
    font-weight: 600;
}

/* Single Product Header */
.wc-single-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Gallery - stacked layout with thumbs below */
.wc-single-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
}

.wc-single-gallery-main {
    border: 2px solid black;
    background: white;
    padding: 0.5rem;
    overflow: hidden;
    width: 100%;
}

.wc-single-gallery-img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
}

.wc-single-gallery-placeholder {
    aspect-ratio: 1;
    background: #f0f0e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-single-gallery-placeholder img {
    opacity: 0.3;
}

.wc-single-gallery-thumbs {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    justify-content: center;
    width: 100%;
}

.wc-single-gallery-thumb {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border: 2px solid #ddd;
    padding: 2px;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.wc-single-gallery-thumb:hover,
.wc-single-gallery-thumb.is-active {
    border-color: black;
}

.wc-single-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 640px) {
    .wc-single-gallery-thumb {
        width: 52px;
        height: 52px;
    }
}

/* Details section below gallery */
.wc-single-details {
    width: 100%;
}

/* Summary */
.wc-single-summary {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.wc-single-category-badge {
    display: inline-block;
    background: var(--yellow);
    color: black;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.75rem;
    border: 2px solid black;
    text-decoration: none;
    margin-right: 0.35rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.wc-single-category-badge:hover {
    box-shadow: 3px 3px 0px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.wc-single-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 1rem 0;
    color: black;
}

@media (min-width: 768px) {
    .wc-single-title {
        font-size: 2rem;
    }
}

.wc-single-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: black;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px dashed #ddd;
}

.wc-single-price del {
    opacity: 0.4;
    font-weight: 400;
    font-size: 1.1rem;
}

.wc-single-price ins {
    text-decoration: none;
}

.wc-single-short-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.5rem;
}

.wc-single-short-desc p {
    margin-bottom: 0.75rem;
}

.wc-single-short-desc p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Variations form
   ========================================================================== */

.wc-single-details .variations_form,
.wc-single-summary .variations_form {
    display: block !important;
}

/* --- Variations table (label + dropdown) --- */
.wc-single-details .variations_form .variations,
.wc-single-summary .variations_form .variations {
    margin-bottom: 0 !important;
    width: auto !important;
    max-width: 280px !important;
    table-layout: auto;
}

.wc-single-details .variations_form .variations tr,
.wc-single-summary .variations_form .variations tr {
    display: block;
}

.wc-single-details .variations_form .variations th,
.wc-single-details .variations_form .variations td,
.wc-single-summary .variations_form .variations th,
.wc-single-summary .variations_form .variations td {
    padding: 0;
    display: block;
    text-align: left;
}

.wc-single-details .variations_form .variations th label,
.wc-single-summary .variations_form .variations th label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: black;
    margin-bottom: 0.5rem;
    display: block;
}

.wc-single-details .variations_form .variations select,
.wc-single-summary .variations_form .variations select {
    width: 100%;
    max-width: 280px !important;
    appearance: none;
    -webkit-appearance: none;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    border: 2px solid black;
    background: white;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='black'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: box-shadow 0.2s ease;
}

.wc-single-details .variations_form .variations select:focus,
.wc-single-summary .variations_form .variations select:focus {
    outline: none;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.2);
}

/* Clear link */
.wc-single-details .variations_form .reset_variations,
.wc-single-summary .variations_form .reset_variations {
    font-size: 0.75rem;
    color: #999;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    margin-top: 0.35rem;
}

/* Screen reader alert */
.wc-single-details .variations_form .reset_variations_alert,
.wc-single-summary .variations_form .reset_variations_alert {
    position: absolute;
}

/* --- single_variation_wrap: price + qty/button --- */
.wc-single-details .single_variation_wrap,
.wc-single-summary .single_variation_wrap {
    margin-top: 1.5rem;
}

/* Variation price */
.wc-single-details .woocommerce-variation-price,
.wc-single-summary .woocommerce-variation-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: black !important;
    margin: 0 0 1rem 0 !important;
}

.wc-single-details .woocommerce-variation-price .price,
.wc-single-summary .woocommerce-variation-price .price {
    color: black !important;
}

/* --- Qty + Add to cart in one row --- */
.wc-single-details .woocommerce-variation-add-to-cart,
.wc-single-summary .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
    max-width: 380px;
}

.wc-single-details .quantity,
.wc-single-summary .quantity {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.wc-single-details .quantity .qty,
.wc-single-summary .quantity .qty {
    width: 60px;
    text-align: center;
    padding: 0.8rem 0.5rem;
    border: 2px solid black !important;
    border-right: none !important;
    border-radius: 9999px 0 0 9999px !important;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    background: white;
    -moz-appearance: textfield;
}

.wc-single-details .quantity .qty::-webkit-outer-spin-button,
.wc-single-details .quantity .qty::-webkit-inner-spin-button,
.wc-single-summary .quantity .qty::-webkit-outer-spin-button,
.wc-single-summary .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to cart button */
.wc-single-details .woocommerce-variation-add-to-cart .button,
.wc-single-summary .woocommerce-variation-add-to-cart .button,
.wc-single-details .woocommerce-variation-add-to-cart .single_add_to_cart_button,
.wc-single-summary .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1;
    padding: 0.8rem 2rem !important;
    background: var(--blue) !important;
    color: black !important;
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border: 2px solid black !important;
    border-radius: 0 9999px 9999px 0 !important;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.wc-single-details .woocommerce-variation-add-to-cart .button:hover,
.wc-single-summary .woocommerce-variation-add-to-cart .button:hover,
.wc-single-details .woocommerce-variation-add-to-cart .single_add_to_cart_button:hover,
.wc-single-summary .woocommerce-variation-add-to-cart .single_add_to_cart_button:hover {
    box-shadow: 4px 4px 0px rgba(0,0,0,0.25) !important;
    transform: translateY(-1px);
    background: var(--blue) !important;
}

/* --- Simple product cart form --- */
.wc-single-details .cart:not(.variations_form),
.wc-single-summary .cart:not(.variations_form) {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.wc-single-add-to-cart {
    flex: 1;
    min-width: 180px;
}

/* Mobile dropdown full width */
@media (max-width: 520px) {
    .wc-single-details .variations_form .variations select,
    .wc-single-summary .variations_form .variations select {
        max-width: 100%;
    }

    .wc-single-details .woocommerce-variation-add-to-cart,
    .wc-single-summary .woocommerce-variation-add-to-cart {
        max-width: 100%;
    }
}

/* Product Meta */
.wc-single-meta {
    border-top: 2px dashed #ddd;
    padding-top: 1.25rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wc-single-meta-item {
    font-size: 0.85rem;
    color: #555;
    display: flex;
    gap: 0.35rem;
}

.wc-single-meta-label {
    font-weight: 600;
    color: black;
}

.wc-single-meta a {
    color: #555;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: #ccc;
    transition: text-decoration-color 0.2s ease;
}

.wc-single-meta a:hover {
    text-decoration-color: var(--blue);
}

/* Tabs */
.wc-single-product .woocommerce-tabs {
    margin-top: 3rem;
}

.wc-single-product .woocommerce-tabs ul.tabs {
    list-style: none !important;
    display: flex !important;
    padding: 0 !important;
    margin: 0 0 0 0 !important;
    gap: 0;
    border-bottom: 2px solid black;
}

.wc-single-product .woocommerce-tabs ul.tabs::before,
.wc-single-product .woocommerce-tabs ul.tabs::after {
    display: none;
}

.wc-single-product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    border: 2px solid black;
    border-bottom: none;
    margin-right: -2px;
    background: white;
    position: relative;
    border-radius: 0;
}

.wc-single-product .woocommerce-tabs ul.tabs li::before,
.wc-single-product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

.wc-single-product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #555;
    transition: background 0.2s ease, color 0.2s ease;
}

.wc-single-product .woocommerce-tabs ul.tabs li a:hover {
    background: #f5f5e5;
    color: black;
}

.wc-single-product .woocommerce-tabs ul.tabs li.active {
    background: var(--main-bg);
    border-bottom: 2px solid var(--main-bg);
    z-index: 1;
}

.wc-single-product .woocommerce-tabs ul.tabs li.active a {
    color: black;
}

.wc-single-product .woocommerce-tabs .panel,
.woocommerce-tabs .wc-tab {
    border: 2px solid black;
    border-top: none;
    padding: 2rem 2.5rem !important;
    margin: 0 !important;
    background: white;
}

@media (max-width: 768px) {
    .wc-single-product .woocommerce-tabs .panel,
    .woocommerce-tabs .wc-tab {
        padding: 1.5rem !important;
    }
}

.wc-single-product .woocommerce-tabs .panel h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.wc-single-product .woocommerce-tabs .panel p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1rem;
}

.wc-single-product .woocommerce-tabs .panel p:last-child {
    margin-bottom: 0;
}

/* Additional information table */
.wc-single-product .woocommerce-tabs .shop_attributes {
    width: 100%;
    border-collapse: collapse;
}

.wc-single-product .woocommerce-tabs .shop_attributes th {
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    background: #f5f5e5;
    font-size: 0.9rem;
    width: 35%;
}

.wc-single-product .woocommerce-tabs .shop_attributes td {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    font-size: 0.9rem;
}

.wc-single-product .woocommerce-tabs .shop_attributes p {
    margin: 0;
}

/* ========================================
   WooCommerce Cart Page
   ======================================== */

.wc-cart-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Cart Items */
.wc-cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wc-cart-item {
    display: flex;
    gap: 1rem;
    border: 2px solid black;
    background: white;
    padding: 1rem;
    transition: box-shadow 0.2s ease;
}

.wc-cart-item:hover {
    box-shadow: 4px 4px 0px rgba(0,0,0,0.15);
}

.wc-cart-item-img {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.wc-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid black;
}

.wc-cart-item-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.wc-cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.wc-cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.wc-cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
}

.wc-cart-item-name a {
    color: black;
    text-decoration: none;
}

.wc-cart-item-name a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--yellow);
}

.wc-cart-item-name dl.variation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    margin: 0.35rem 0 0 0;
    font-weight: 400;
    font-size: 0.8rem;
    color: #666;
}

.wc-cart-item-name dl.variation dt {
    margin: 0;
    font-weight: 500;
}

.wc-cart-item-name dl.variation dd {
    margin: 0;
}

.wc-cart-item-name dl.variation dd p {
    margin: 0;
}

.wc-cart-remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 2px solid black;
    background: white;
    color: black;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.wc-cart-remove-btn:hover {
    background: black;
    color: white;
}

.wc-cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
}

.wc-cart-item-qty .quantity {
    display: flex;
    align-items: center;
}

.wc-cart-item-qty .quantity .qty {
    width: 56px;
    height: 36px;
    border: 2px solid black;
    background: white;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: "Space Grotesk", sans-serif;
    -moz-appearance: textfield;
    appearance: textfield;
}

.wc-cart-item-qty .quantity .qty::-webkit-outer-spin-button,
.wc-cart-item-qty .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wc-cart-item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: black;
}

/* Cart Actions (Coupon + Update) */
.wc-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.wc-cart-coupon {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.wc-cart-coupon-input {
    border: 2px solid black;
    border-right: none;
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
    font-family: "Space Grotesk", sans-serif;
    background: white;
    min-width: 140px;
    border-radius: 9999px 0 0 9999px;
}

.wc-cart-coupon-input:focus {
    outline: none;
    border-color: black;
    box-shadow: inset 0 0 0 1px black;
}

.wc-cart-coupon-input::placeholder {
    color: #999;
}

.wc-cart-coupon-btn {
    border: 2px solid black;
    background: var(--yellow);
    color: black;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: "Space Grotesk", sans-serif;
    padding: 0.6rem 1rem;
    cursor: pointer;
    border-radius: 0 9999px 9999px 0;
    white-space: nowrap;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.wc-cart-coupon-btn:hover {
    box-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

.wc-cart-update-btn {
    border: 2px solid black;
    background: white;
    color: black;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: "Space Grotesk", sans-serif;
    padding: 0.6rem 1.25rem;
    cursor: pointer;
    border-radius: 9999px;
    white-space: nowrap;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    margin-left: auto;
}

.wc-cart-update-btn:hover {
    background: #f5f5e5;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

/* Cart Collaterals (Totals) */
.wc-cart-collaterals {
    max-width: 380px;
    margin-left: auto;
}

.wc-cart-collaterals .cart_totals {
    border: 2px solid black;
    background: white;
    padding: 1.5rem;
}

.wc-cart-collaterals .cart_totals h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid black;
}

.wc-cart-collaterals .cart_totals .shop_table {
    width: 100%;
    border: none;
    border-collapse: collapse;
}

.wc-cart-collaterals .cart_totals .shop_table th,
.wc-cart-collaterals .cart_totals .shop_table td {
    padding: 0.6rem 0;
    border: none;
    font-size: 0.9rem;
    vertical-align: top;
}

.wc-cart-collaterals .cart_totals .shop_table th {
    font-weight: 500;
    color: #555;
    text-align: left;
    width: 40%;
}

.wc-cart-collaterals .cart_totals .shop_table td {
    font-weight: 600;
    color: black;
    text-align: right;
}

.wc-cart-collaterals .cart_totals .order-total th,
.wc-cart-collaterals .cart_totals .order-total td {
    padding-top: 0.75rem;
    border-top: 2px solid black;
    font-size: 1.1rem;
    font-weight: 700;
}

.wc-cart-collaterals .wc-proceed-to-checkout {
    margin-top: 1.25rem;
}

.wc-cart-collaterals .wc-proceed-to-checkout a.checkout-button,
.wc-cart-collaterals .wc-proceed-to-checkout .button {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--blue) !important;
    color: black !important;
    border: 2px solid black !important;
    border-radius: 9999px !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    font-family: "Space Grotesk", sans-serif !important;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.wc-cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover,
.wc-cart-collaterals .wc-proceed-to-checkout .button:hover {
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

/* WooCommerce notices styling */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border: 2px solid black !important;
    background: white !important;
    color: black !important;
    padding: 0.75rem 1rem !important;
    margin-bottom: 1rem !important;
    font-size: 0.9rem;
    border-left-width: 4px !important;
    list-style: none;
}

.woocommerce-message {
    border-left-color: var(--blue) !important;
}

.woocommerce-info {
    border-left-color: var(--yellow) !important;
}

.woocommerce-error {
    border-left-color: #ff6b6b !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none !important;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    color: black;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: var(--yellow);
}

/* Empty cart */
.cart-empty {
    text-align: center;
    padding: 3rem 0;
    font-size: 1.1rem;
    color: #555;
}

.return-to-shop {
    text-align: center;
    margin-top: 1.5rem;
}

.return-to-shop a.button {
    display: inline-block;
    background: var(--blue) !important;
    color: black !important;
    border: 2px solid black !important;
    border-radius: 9999px !important;
    padding: 0.75rem 2rem !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    font-family: "Space Grotesk", sans-serif !important;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.return-to-shop a.button:hover {
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

/* Cart page responsive */
@media (max-width: 640px) {
    .wc-cart-item-img {
        width: 80px;
        height: 80px;
    }

    .wc-cart-item-name {
        font-size: 0.85rem;
    }

    .wc-cart-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .wc-cart-coupon {
        width: 100%;
    }

    .wc-cart-coupon-input {
        flex: 1;
        min-width: 0;
    }

    .wc-cart-update-btn {
        margin-left: 0;
    }

    .wc-cart-collaterals {
        max-width: 100%;
        margin-left: 0;
    }
}

/* ========================================
   WooCommerce Checkout Page
   ======================================== */

/* Coupon toggle notice */
.woocommerce-form-coupon-toggle .woocommerce-info {
    background: white !important;
    border: 2px solid black !important;
    border-left-width: 4px !important;
    border-left-color: var(--yellow) !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem;
    margin-bottom: 1.5rem !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info::before {
    display: none !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a {
    color: black;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: var(--yellow);
}

/* Coupon form (hidden by default, shown on click) */
.checkout_coupon {
    border: 2px solid black !important;
    background: white !important;
    padding: 1rem !important;
    margin-bottom: 1.5rem !important;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-end;
}

.checkout_coupon .form-row {
    margin: 0 !important;
    padding: 0 !important;
}

.checkout_coupon .input-text {
    border: 2px solid black !important;
    padding: 0.6rem 0.75rem !important;
    font-size: 0.9rem !important;
    font-family: "Space Grotesk", sans-serif !important;
    background: white !important;
    border-radius: 0 !important;
    width: auto !important;
}

.checkout_coupon .button {
    background: var(--yellow) !important;
    color: black !important;
    border: 2px solid black !important;
    border-radius: 9999px !important;
    padding: 0.6rem 1.25rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    font-family: "Space Grotesk", sans-serif !important;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.checkout_coupon .button:hover {
    box-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

/* Stack billing + additional info vertically */
.woocommerce-checkout .col2-set {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    float: none !important;
    width: 100% !important;
}

/* Section headings */
.woocommerce-checkout h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid black;
}

.woocommerce-checkout h3#order_review_heading {
    font-size: 1.25rem;
    margin-top: 0.5rem;
}

/* Form fields */
.woocommerce-checkout .form-row {
    margin: 0 0 0.75rem 0 !important;
    padding: 0 !important;
}

.woocommerce-checkout .form-row label {
    font-size: 0.85rem;
    font-weight: 600;
    color: black;
    margin-bottom: 0.25rem;
    display: block;
}

.woocommerce-checkout .form-row label .required {
    color: #e53e3e;
}

.woocommerce-checkout .form-row label .optional {
    font-weight: 400;
    color: #888;
    font-size: 0.8rem;
}

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
    width: 100% !important;
    border: 2px solid black !important;
    padding: 0.6rem 0.75rem !important;
    font-size: 0.9rem !important;
    font-family: "Space Grotesk", sans-serif !important;
    background: white !important;
    border-radius: 0 !important;
    color: black !important;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout .form-row textarea:focus {
    outline: none !important;
    border-color: black !important;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.1) !important;
}

.woocommerce-checkout .form-row textarea {
    min-height: 100px;
    resize: vertical;
}

/* Select2 dropdown styling */
.woocommerce-checkout .select2-container .select2-selection--single {
    border: 2px solid black !important;
    border-radius: 0 !important;
    height: auto !important;
    padding: 0.6rem 0.75rem !important;
    background: white !important;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
    font-size: 0.9rem !important;
    font-family: "Space Grotesk", sans-serif !important;
    color: black !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 8px !important;
}

/* First/Last name side by side */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: 48% !important;
    float: left !important;
}

.woocommerce-checkout .form-row-first {
    margin-right: 4% !important;
}

.woocommerce-checkout .form-row-wide {
    width: 100% !important;
    clear: both;
}

/* Order review table */
.woocommerce-checkout-review-order-table {
    width: 100% !important;
    border: 2px solid black !important;
    border-collapse: collapse !important;
    background: white !important;
    margin-bottom: 1.5rem !important;
}

.woocommerce-checkout-review-order-table thead {
    background: var(--yellow);
}

.woocommerce-checkout-review-order-table th {
    padding: 0.65rem 1rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-align: left !important;
    border: 2px solid black !important;
}

.woocommerce-checkout-review-order-table td {
    padding: 0.65rem 1rem !important;
    font-size: 0.9rem !important;
    border: 1px solid #ddd !important;
    border-left: 2px solid black !important;
    border-right: 2px solid black !important;
}

.woocommerce-checkout-review-order-table tbody td {
    border-bottom: 1px solid #ddd !important;
}

.woocommerce-checkout-review-order-table tfoot th {
    background: transparent;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border: 1px solid #ddd !important;
    border-left: 2px solid black !important;
}

.woocommerce-checkout-review-order-table tfoot td {
    font-weight: 600 !important;
    text-align: right !important;
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
    border-top: 2px solid black !important;
    border-bottom: 2px solid black !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

.woocommerce-checkout-review-order-table .product-name {
    font-weight: 500;
}

.woocommerce-checkout-review-order-table .product-name .product-quantity {
    font-weight: 700;
}

/* Payment methods */
.woocommerce-checkout-payment {
    border: 2px solid black !important;
    background: white !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.woocommerce-checkout-payment .wc_payment_methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-checkout-payment .wc_payment_method {
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #ddd;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.woocommerce-checkout-payment .wc_payment_method:last-child {
    border-bottom: none;
}

.woocommerce-checkout-payment .wc_payment_method:hover {
    background: #f9f9f0;
}

.woocommerce-checkout-payment .wc_payment_method .input-radio {
    accent-color: black;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 0 0 0 1.25rem !important;
    cursor: pointer;
}

.woocommerce-checkout-payment .wc_payment_method > label {
    display: block !important;
    flex: 1;
    padding: 1rem 1.25rem 1rem 0.65rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    margin: 0 !important;
}

.woocommerce-checkout-payment .wc_payment_method .payment_box {
    width: 100%;
}

.woocommerce-checkout-payment .payment_box {
    background: #f9f9f0 !important;
    border-top: 1px solid #ddd;
    padding: 1rem 1.25rem !important;
    font-size: 0.85rem;
    color: #444;
    margin: 0 !important;
}

.woocommerce-checkout-payment .payment_box::before {
    display: none !important;
}

/* Place order section */
.woocommerce-checkout-payment .place-order {
    padding: 1rem !important;
    border-top: 2px solid black;
}

.woocommerce-checkout-payment .place-order .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #444;
}

.woocommerce-checkout-payment .place-order .woocommerce-terms-and-conditions-wrapper a {
    color: black;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: var(--yellow);
}

.woocommerce-checkout-payment .place-order .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.woocommerce-checkout-payment .place-order .woocommerce-form__label-for-checkbox input[type="checkbox"] {
    accent-color: black;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.woocommerce-checkout-payment #place_order,
.woocommerce-checkout-payment .place-order .button {
    display: block;
    width: 100%;
    background: var(--blue) !important;
    color: black !important;
    border: 2px solid black !important;
    border-radius: 9999px !important;
    padding: 0.85rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    font-family: "Space Grotesk", sans-serif !important;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
    text-align: center;
}

.woocommerce-checkout-payment #place_order:hover,
.woocommerce-checkout-payment .place-order .button:hover {
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

/* Sözleşmeler section (contract plugin) */
.woocommerce-checkout-payment .payment_box h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    border-bottom: none;
    padding-bottom: 0;
}

.woocommerce-checkout-payment .payment_box h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.75rem 0 0.35rem 0;
}

.woocommerce-checkout-payment .payment_box .tg {
    width: 100% !important;
    border-collapse: collapse;
    border: 1px solid #ddd;
    font-size: 0.8rem;
    margin: 0.5rem 0;
}

.woocommerce-checkout-payment .payment_box .tg th,
.woocommerce-checkout-payment .payment_box .tg td {
    padding: 0.35rem 0.5rem;
    border: 1px solid #ddd;
    font-size: 0.8rem;
}

/* Checkout responsive */
@media (max-width: 768px) {
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
    }
}

/* ========================================
   ORDER RECEIVED / THANKYOU PAGE
   ======================================== */

.woocommerce-order {
    font-family: "Space Grotesk", sans-serif;
}

/* Success message */
.woocommerce-order .woocommerce-thankyou-order-received {
    background: var(--blue);
    border: 2px solid black;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Order overview list (number, date, email, total, method) */
.woocommerce-order .woocommerce-order-overview {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 2rem 0 !important;
    display: flex;
    flex-wrap: wrap;
    border: 2px solid black;
    background: white;
}

.woocommerce-order .woocommerce-order-overview li {
    padding: 1rem 1.25rem;
    border-right: 1px solid #e0e0e0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    flex: 1;
    min-width: 130px;
}

.woocommerce-order .woocommerce-order-overview li:last-child {
    border-right: none;
}

.woocommerce-order .woocommerce-order-overview li strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: black;
    margin-top: 0.35rem;
    text-transform: none;
    letter-spacing: 0;
}

/* Bank details (BACS - direct bank transfer) */
.woocommerce-order .woocommerce-bacs-bank-details {
    margin-bottom: 2rem;
}

.woocommerce-order .wc-bacs-bank-details-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.woocommerce-order .woocommerce-bacs-bank-details .wc-bacs-bank-details-account-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 1.25rem 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid black;
}

.woocommerce-order .woocommerce-bacs-bank-details .wc-bacs-bank-details-account-name:first-child {
    margin-top: 0;
}

.woocommerce-order .woocommerce-bacs-bank-details .wc-bacs-bank-details-account-name + ul,
.woocommerce-order .woocommerce-bacs-bank-details ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 0 0 !important;
    display: flex;
    flex-wrap: wrap;
    border: 2px solid black;
    background: white;
}

.woocommerce-order .woocommerce-bacs-bank-details ul li {
    padding: 0.75rem 1rem;
    border-right: 2px solid black;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #555;
    flex: 1;
    min-width: 120px;
}

.woocommerce-order .woocommerce-bacs-bank-details ul li:last-child {
    border-right: none;
}

.woocommerce-order .woocommerce-bacs-bank-details ul li strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: black;
    margin-top: 0.2rem;
    text-transform: none;
    letter-spacing: 0;
}

/* Order details table */
.woocommerce-order .woocommerce-order-details {
    margin-bottom: 2rem;
}

.woocommerce-order .woocommerce-order-details__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid black;
}

.woocommerce-order .woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid black;
    font-size: 0.9rem;
}

.woocommerce-order .woocommerce-table--order-details thead th {
    background: var(--yellow);
    padding: 0.65rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid black;
}

.woocommerce-order .woocommerce-table--order-details thead th:last-child {
    text-align: right;
}

.woocommerce-order .woocommerce-table--order-details tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: top;
}

.woocommerce-order .woocommerce-table--order-details tbody td:last-child {
    text-align: right;
}

.woocommerce-order .woocommerce-table--order-details tbody td a {
    color: black;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-order .woocommerce-table--order-details tbody td a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: var(--yellow);
}

.woocommerce-order .woocommerce-table--order-details tbody td .wc-item-meta {
    list-style: none;
    padding: 0;
    margin: 0.35rem 0 0 0;
    font-size: 0.8rem;
    color: #666;
}

.woocommerce-order .woocommerce-table--order-details tbody td .wc-item-meta li {
    margin-bottom: 0.15rem;
}

.woocommerce-order .woocommerce-table--order-details tfoot th {
    padding: 0.65rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    border-top: 1px solid #e5e5e5;
}

.woocommerce-order .woocommerce-table--order-details tfoot td {
    padding: 0.65rem 1rem;
    text-align: right;
    font-weight: 600;
    border-top: 1px solid #e5e5e5;
}

.woocommerce-order .woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-order .woocommerce-table--order-details tfoot tr:last-child td {
    border-top: 2px solid black;
    font-weight: 700;
    font-size: 1rem;
}

/* Customer details / billing address */
.woocommerce-order .woocommerce-customer-details {
    margin-bottom: 2rem;
}

.woocommerce-order .woocommerce-customer-details .woocommerce-column__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid black;
}

.woocommerce-order .woocommerce-customer-details address {
    font-style: normal;
    background: white;
    border: 2px solid black;
    padding: 1rem 1.25rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.woocommerce-order .woocommerce-customer-details address p {
    margin: 0.25rem 0 0 0;
    padding-left: 0 !important;
    position: static !important;
}

.woocommerce-order .woocommerce-customer-details address p::before {
    display: none !important;
}

/* Payment failed state */
.woocommerce-order .woocommerce-thankyou-order-failed {
    background: #FFE4E4;
    border: 2px solid black;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #8B0000;
}

.woocommerce-order .woocommerce-thankyou-order-failed-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    background: none;
    border: none;
    padding: 0;
}

.woocommerce-order .woocommerce-thankyou-order-failed-actions .button {
    display: inline-flex;
    align-items: center;
    background: var(--blue) !important;
    color: black !important;
    border: 2px solid black !important;
    border-radius: 9999px !important;
    padding: 0.6rem 1.5rem !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    font-family: "Space Grotesk", sans-serif !important;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.woocommerce-order .woocommerce-thankyou-order-failed-actions .button:hover {
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

/* Login form on order-received (guest users) */
.woocommerce-order .woocommerce-form-login {
    border: 2px solid black;
    padding: 1.5rem;
    background: white;
    margin-bottom: 2rem;
}

.woocommerce-order .woocommerce-form-login label {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.25rem;
}

.woocommerce-order .woocommerce-form-login input[type="text"],
.woocommerce-order .woocommerce-form-login input[type="password"],
.woocommerce-order .woocommerce-form-login input[type="email"] {
    width: 100%;
    border: 2px solid black;
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
    font-family: "Space Grotesk", sans-serif;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease;
}

.woocommerce-order .woocommerce-form-login input[type="text"]:focus,
.woocommerce-order .woocommerce-form-login input[type="password"]:focus,
.woocommerce-order .woocommerce-form-login input[type="email"]:focus {
    outline: none;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.1);
}

.woocommerce-order .woocommerce-form-login .button {
    background: var(--blue) !important;
    color: black !important;
    border: 2px solid black !important;
    border-radius: 9999px !important;
    padding: 0.6rem 1.5rem !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    font-family: "Space Grotesk", sans-serif !important;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.woocommerce-order .woocommerce-form-login .button:hover {
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

/* Order received responsive */
@media (max-width: 640px) {
    .woocommerce-order .woocommerce-order-overview {
        grid-template-columns: 1fr 1fr;
    }

    .woocommerce-order .woocommerce-order-overview li {
        border-bottom: 2px solid black;
    }

    .woocommerce-order .woocommerce-order-overview li:nth-child(even) {
        border-right: none;
    }

    .woocommerce-order .woocommerce-order-overview li:nth-last-child(1),
    .woocommerce-order .woocommerce-order-overview li:nth-last-child(2) {
        border-bottom: none;
    }

    .woocommerce-order .woocommerce-order-overview li:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        border-right: none;
    }

    .woocommerce-order .woocommerce-bacs-bank-details ul {
        grid-template-columns: 1fr 1fr;
    }

    .woocommerce-order .woocommerce-bacs-bank-details ul li {
        border-bottom: 2px solid black;
    }

    .woocommerce-order .woocommerce-bacs-bank-details ul li:nth-child(even) {
        border-right: none;
    }

    .woocommerce-order .woocommerce-bacs-bank-details ul li:last-child {
        border-bottom: none;
    }

    .woocommerce-order .woocommerce-table--order-details thead th:first-child {
        width: 60%;
    }
}

/* =========================================
   Illustration Page – Responsive
   ========================================= */

/* "Why Illustration Is So Powerful?" – mobilde 2 sütun */
@media (max-width: 768px) {
    .ill-power-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* "Discover Other Services" – mobilde tek sütun */
@media (max-width: 640px) {
    .ill-other-services-grid {
        grid-template-columns: 1fr !important;
    }
}
