html {
  font-size: 70%;
}

/* Color Scheme Variables */
:root {
  --primary: #ffd700;
  --primary-invert: #000000;
  --scheme-main: #ffffff;
  --scheme-main-bis: #f5f5f5;
  --scheme-main-ter: #e6e6e6;
  --scheme-invert: #000000;
  --scheme-invert-bis: #1a1a1a;
  --scheme-invert-ter: #333333;
}

.is-primary {
  background-color: var(--primary);
  color: var(--primary-invert);
  border: 1px solid var(--primary);
}

.is-secondary {
  background-color: var(--scheme-main);
  color: var(--scheme-invert);
  border: 1px solid var(--primary);
}

.is-tertiary {
  background-color: var(--scheme-main);
  color: var(--scheme-invert);
  border: 1px solid var(--scheme-invert);
}

/* Button hover states */
.is-primary:hover {
  background-color: var(--primary-invert);
  color: var(--primary);
  border-color: var(--primary-invert);
}

.is-secondary:hover {
  border-color: var(--scheme-invert);
}

.is-tertiary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Focus states for buttons */
.is-primary:focus,
.is-secondary:focus,
.is-tertiary:focus {
  outline: none;
  box-shadow: 0 0 0 0.125em rgba(255, 215, 0, 0.25);
}

/* Base styles */
body {
    font-family: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    padding: 1rem 5px;
    max-width: 100%;
    margin: 0 auto;
}

/* Responsive max-width for different screen sizes */
@media screen and (min-width: 1200px) and (max-width: 1920px) {
    .container {
        max-width: 1000px;
    }
}

.site-content {
    padding: 1rem 0.5rem;
}

@media screen and (min-width: 769px) {
    .site-content {
        padding: 1rem;
    }
}

/* Navbar styles */
.navbar {
    background-color: var(--scheme-invert);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ensure proper navbar alignment on mobile */
@media screen and (max-width: 1023px) {
    .navbar {
        padding: 1rem;
        align-items: center;
    }
    
    .navbar-brand {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
}

.navbar-brand {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.5rem;
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-start,
.navbar-end {
    display: flex;
    align-items: center;
}

.navbar-item {
    color: var(--primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.navbar-item:hover {
    background-color: transparent;
    color: var(--primary);
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 1px solid transparent;
}

.button.is-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.button.is-fullwidth {
    width: 100%;
    box-sizing: border-box;
}

/* Product grid styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.product-card-wrapper {
    display: flex;
    justify-content: center;
}

/* Product card styles */
.card {
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 300px;
    min-height: 400px;
    margin: 0 auto 1rem auto; /* Center cards and add bottom margin */
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    background-color: #ffffff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-image {
    background-color: transparent;
}

.card-image img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.card-content .name {
    display: block;
    overflow: hidden;
    line-height: 1.3;
    height: 1.3em;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-content .price {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1.2;
    height: 1.2em;
    flex-shrink: 0;
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.card-content .description {
    display: block;
    overflow: hidden;
    line-height: 1.4;
    height: 2.8em;
    flex-shrink: 0;
    font-size: 0.875rem;
    color: #333;
}

.card-content .actions {
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* Reduced padding for product cards in shop index */
.product-card-content {
    padding: 0.75rem !important;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 150px; /* Reduced height for content */
}

.product-card-content > div:first-child {
    margin-top: auto;
}

.card-content > div {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments for product grid */
@media screen and (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .card {
        max-width: 100%;
        min-height: 350px;
    }
}

@media screen and (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .card {
        max-width: 100%;
        min-height: 350px;
    }
    
    .product-card-content {
        height: 120px;
    }
}

.card-content .name {
    display: block;
    overflow: hidden;
    line-height: 1.3;
    height: 1.3em;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-content .price {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1.2;
    height: 1.2em;
    flex-shrink: 0;
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.card-content .description {
    display: block;
    overflow: hidden;
    line-height: 1.4;
    height: 2.8em;
    flex-shrink: 0;
    font-size: 0.875rem;
    color: #333;
}

.card-content .actions {
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* Reduced padding for product cards in shop index */
.product-card-content {
    padding: 0.75rem !important;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 150px; /* Reduced height for content */
}

.product-card-content > div:first-child {
    margin-top: auto;
}

.card-content > div {
    position: relative;
    z-index: 1;
}

/* Form styles */
.field {
    margin-bottom: 1rem;
}

.label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.input, .textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--scheme-main-ter);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.input:focus, .textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 0.125em rgba(255, 215, 0, 0.25);
}

.checkbox, .radio {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.checkbox input, .radio input {
    margin-right: 0.5rem;
}

.select {
    position: relative;
}

.select select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--scheme-main-ter);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--scheme-main);
}

.select select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0.125em rgba(255, 215, 0, 0.25);
}

/* Centered form container */
.form-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Constrain width on larger screens */
@media screen and (min-width: 769px) {
    .form-container {
        max-width: 600px;
    }
}

@media screen and (min-width: 1024px) {
    .form-container {
        max-width: 700px;
    }
}

/*
 * Button System Documentation
 * 
 * Primary Button:
 * - Default: Black background (#000000) with gold text (#ffd700)
 * - Hover: Gold background (#ffd700) with black text (#000000)
 * 
 * Secondary Button:
 * - Default: White background (#ffffff) with black text (#00000) and gold border (#ffd700)
 * - Hover: Black border (#0000)
 * 
 * Tertiary Button:
 * - Default: White background (#ffffff) with black text (#000000)
 * - Hover: Gold background (#ffd700)
 */

/* Primary Button */
.button.is-primary {
    background-color: #000000;
    color: var(--primary);
    border-color: #0000;
}

.button.is-primary:hover {
    background-color: var(--primary);
    color: #000000;
    border-color: var(--primary);
}

.button.is-primary:focus {
    box-shadow: 0 0 0 0.125em rgba(255, 215, 0, 0.25);
}

.button.is-fullwidth {
    width: 100%;
    box-sizing: border-box;
}

/* Secondary Button */
.button.is-secondary {
    background-color: #ffffff;
    color: #000000;
    border-color: var(--primary);
}

.button.is-secondary:hover {
    border-color: #000000;
}

.button.is-secondary:focus {
    box-shadow: 0 0.125em rgba(255, 215, 0, 0.25);
}

/* Tertiary Button */
.button.is-tertiary {
    background-color: #ffffff;
    color: #000000;
    border-color: #000000;
}

.button.is-tertiary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.button.is-tertiary:focus {
    box-shadow: 0 0 0 0.125em rgba(255, 215, 0, 0.25);
}

/* Footer styles */
.footer {
    margin-top: auto;
    padding: 1rem;
    background-color: var(--scheme-invert);
    color: var(--primary);
}

.footer,
.footer .title,
.footer a,
.footer p {
    color: var(--primary);
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    color: var(--scheme-main);
    text-decoration: underline;
}

/* Footer content layout */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: start;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments for footer */
@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Checkout Page Styles */
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
}

.checkout-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}

.checkout-main {
    flex: 1;
    min-width: 300px;
}

.checkout-sidebar {
    flex: 0 0 350px;
}

.checkout-card {
    border: 1px solid var(--scheme-main-ter);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.checkout-card .card-body {
    padding: 1rem;
}

.checkout-card .card-title {
    color: var(--scheme-invert);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.checkout-form .form-group {
    margin-bottom: 1rem;
}

.checkout-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--scheme-invert);
}

.checkout-form .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--scheme-main-ter);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.checkout-form .form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 0.125em rgba(255, 215, 0, 0.25);
}

.checkout-summary table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.checkout-summary table tr:last-child {
    font-weight: bold;
    border-top: 1px solid var(--scheme-main-ter);
}

.checkout-summary .list-group-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--scheme-main-ter);
    margin-bottom: -1px;
}

.checkout-summary .list-group-item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.checkout-summary .list-group-item:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* Responsive adjustments for checkout layout */
@media screen and (max-width: 768px) {
    .checkout-layout {
        flex-direction: column;
    }
    
    .checkout-main,
    .checkout-sidebar {
        min-width: 100%;
    }
    
    .checkout-sidebar {
        flex: 1;
        order: -1; /* Show summary first on mobile */
    }
}

/* Line clamp utilities for consistent truncation */
.clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Spacing utilities */
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-0 { margin-top: 0 !important; }

/* Cart Summary Styles */
.cart-summary {
    background-color: var(--scheme-main-bis);
    padding: 0.5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--scheme-main-ter);
}

.cart-summary.is-hidden {
    display: none;
}

/* Blog post list responsiveness */
@media screen and (max-width: 768px) {
    .blog-post-card {
        margin-bottom: 1.5rem;
    }
    
    .blog-post-card .card-content {
        padding: 1rem;
    }
    
    .blog-post-card .title.is-5 {
        font-size: 1.25rem;
    }
    
    .blog-post-card .subtitle.is-6 {
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
    .blog-post-card {
        margin-bottom: 1.5rem;
    }
}

/* Blog posts grid styles */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.blog-post-wrapper {
    display: flex;
    justify-content: center;
}

/* Blog post card styles */
.blog-post-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-post-card .card-image {
    height: 200px;
    overflow: hidden;
    background-color: transparent;
}

.blog-post-card .card-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.blog-post-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-card .content {
    flex-grow: 1;
}

.blog-post-card .button {
    margin-top: auto;
}

/* Blog post detail page improvements */
.blog-post-detail {
    padding: 0;
    border: none;
    box-shadow: none;
}

.blog-post-detail .blog-header-container {
    margin-bottom: 2rem;
}

.blog-post-detail .blog-featured-image-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    background-color: transparent;
}

.blog-post-detail .blog-featured-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.blog-post-detail .blog-title-overlay .title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-post-detail .blog-title-overlay .subtitle {
    font-size: 1.2rem;
}

/* Blog content styling */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.blog-content h1 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.blog-content h2 {
    font-size: 1.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    display: block;
}

/* Featured products grid styles */
.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.featured-product-wrapper {
    display: flex;
    justify-content: center;
}

/* Product snippets section */
.product-snippets {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.product-snippets .title.is-4 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Responsive adjustments for blog detail page */
@media screen and (max-width: 768px) {
    .blog-post-detail .blog-featured-image-container {
        height: 250px;
        background-color: transparent;
    }
    
    .blog-post-detail .blog-title-overlay .title {
        font-size: 1.8rem;
    }
    
    .blog-post-detail .blog-title-overlay .subtitle {
        font-size: 1rem;
    }
    
    .blog-content {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .blog-content h1 {
        font-size: 1.75rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.25rem;
    }
    
        display: flex;
        justify-content: center;
    }
    
    .product-snippets .card {
        width: 100%;
        max-width: 300px;
    }
}

/* Additional responsive improvements for featured images */
.blog-featured-image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 40%; /* 5:2 aspect ratio by default */
    overflow: hidden;
    border-radius: 8px;
    background-color: transparent;
}

.blog-featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-color: transparent;
}

/* Adjust aspect ratio for different screen sizes */
@media screen and (min-width: 1024px) {
    .blog-featured-image-container {
        padding-bottom: 35%; /* 20:7 aspect ratio for larger screens */
    }
}

@media screen and (max-width: 768px) {
    .blog-featured-image-container {
        padding-bottom: 50%; /* 2:1 aspect ratio for mobile */
    }
}

/* Blog list featured image improvements */
.card-image .image.is-4by3 {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background-color: transparent;
}

.card-image .image.is-4by3 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-color: transparent;
}

/* Ensure consistent image styling across the site */
img {
    max-width: 100%;
    height: auto;
}

/* Consistent spacing and typography for blog pages */
.blog-content {
    line-height: 1.6;
    color: #333;
}

.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-weight: 700;
    color: #000;
}

.blog-content h1 {
    font-size: 2rem;
}

.blog-content h2 {
    font-size: 1.75rem;
}

.blog-content h3 {
    font-size: 1.5rem;
}

.blog-content h4 {
    font-size: 1.25rem;
}

.blog-content h5 {
    font-size: 1.1rem;
}

.blog-content h6 {
    font-size: 1rem;
}

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

.blog-content ul, .blog-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.25rem;
}

.blog-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary);
    background-color: var(--scheme-main-bis);
    font-style: italic;
}

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

.blog-content pre {
    background-color: #f8f8f8;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-content code {
    background-color: #f8f8f8;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.blog-content pre code {
    background-color: transparent;
    padding: 0;
}

/* Consistent spacing for blog elements */
.blog-post-card {
    margin-bottom: 2rem;
}

.blog-post-card .title {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.blog-post-card .subtitle {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #666;
}

.blog-post-card .content {
    margin-bottom: 1rem;
}

/* Consistent typography for blog titles */
.simple-blog-main .title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #000;
    font-weight: 700;
    line-height: 1.2;
}

.simple-blog-main .subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 400;
}

/* Consistent spacing for sidebar elements */
.simple-blog-sidebar .title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
}

.simple-blog-sidebar .card {
    margin-bottom: 1.5rem;
}

.simple-blog-sidebar .card-content {
    padding: 1rem;
}

.simple-blog-sidebar .name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.simple-blog-sidebar .price,
.simple-blog-sidebar .description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Additional mobile responsiveness improvements */
@media screen and (max-width: 480px) {
    /* Adjust font sizes for very small screens */
    .simple-blog-main .title {
        font-size: 2rem;
    }
    
    .blog-content h1 {
        font-size: 1.5rem;
    }
    
    .blog-content h2 {
        font-size: 1.25rem;
    }
    
    .blog-content h3 {
        font-size: 1.1rem;
    }
    
    /* Adjust padding and margins for small screens */
    .simple-blog-layout {
        padding: 0.5rem;
        gap: 1rem;
    }
    
    .simple-blog-main {
        padding: 0.5rem 0;
    }
    
    .blog-post-detail .blog-header-container {
        margin-bottom: 1rem;
    }
    
    .blog-post-card {
        margin-bottom: 1rem;
    }
    
    .blog-content {
        padding: 0 0.5rem;
    }
    
    .blog-content p {
        margin-bottom: 0.75rem;
    }
    
    /* Adjust button sizes for small screens */
    .button.is-small {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    /* Adjust product snippet cards for small screens */
    .product-snippets .card {
        max-width: 100%;
    }
    
    /* Adjust sidebar for small screens */
    .simple-blog-sidebar {
        padding: 0.75rem;
    }
    
    .simple-blog-sidebar .title {
        font-size: 1.25rem;
    }
    
    .simple-blog-sidebar .card {
        margin-bottom: 1rem;
    }
    
    .blog-featured-image-container {
        height: 250px;
    }
    
    .blog-detail-title {
        font-size: 1.8rem;
    }
    
    .blog-detail-subtitle {
        font-size: 1rem;
    }
    
    .blog-content {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .blog-content h1 {
        font-size: 1.75rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.25rem;
    }
}

/* Medium screen adjustments */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .simple-blog-main .title {
        font-size: 2.25rem;
    }
    
    .blog-content h1 {
        font-size: 1.75rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.25rem;
    }
}

/* Large screen adjustments */
@media screen and (min-width: 1200px) {
    .simple-blog-layout {
        max-width: 1400px;
    }
    
    .simple-blog-main {
        flex: 1 1 70%;
    }
    
    .simple-blog-sidebar {
        flex: 1 1 25%;
    }
}

.cart-link {
    color: var(--scheme-invert);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-link:hover {
    color: var(--primary);
}

.cart-icon {
    font-size: 1.2rem;
}

.cart-text {
    font-size: 1rem;
}

/* Cart layout styles */
.cart-layout {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.cart-items {
    flex: 2;
    min-width: 300px;
}

.cart-summary-sidebar {
    flex: 1;
    min-width: 250px;
}

/* Cart Table Styles */
.table-container {
    overflow-x: auto;
}

/* Responsive adjustments for cart layout */
@media screen and (max-width: 768px) {
    .cart-layout {
        flex-direction: column;
    }
    
    .cart-items,
    .cart-summary-sidebar {
        min-width: 100%;
    }
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75em 1em;
    vertical-align: top;
    border-bottom: 1px solid #dbdbdb;
}

.table th {
    color: #333;
    text-align: left;
}

.table.is-hoverable tbody tr:hover {
    background-color: #fafafa;
}

.table.is-fullwidth {
    width: 100%;
}

/* Product name column - allow wrapping but limit width */
.table td:first-child,
.table th:first-child {
    max-width: 200px;
    word-wrap: break-word;
    white-space: normal;
}

/* Cart table responsive adjustments */
@media screen and (max-width: 768px) {
    .table th, 
    .table td {
        padding: 0.25em 0.5em;
    }
    
    .table .is-narrow {
        white-space: nowrap;
    }
    
    /* Product name column on mobile - allow wrapping with smaller max width */
    .table td:first-child,
    .table th:first-child {
        max-width: 150px;
        word-wrap: break-word;
        white-space: normal;
    }
    
    /* Make quantity inputs smaller on mobile */
    .table input[type="number"] {
        width: 50px !important;
        padding: 0.25em;
    }
    
    /* Adjust button sizes on mobile */
    .table .button.is-small {
        padding: 0.25em 0.5em;
        font-size: 0.75rem;
    }
}

/* Sticky Navigation Styles */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--scheme-invert);
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sticky-nav.is-hidden {
    display: none;
}

.sticky-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 30px;
}

.nav-cart .cart-link {
    color: var(--primary);
}

/* Main content styles */
.main-content {
    margin-top: 0;
}

/* Responsive adjustments */
@media screen and (min-width: 1024px) {
    .navbar.is-primary.is-hidden-tablet {
        display: none !important;
    }
}

/* Blog post featured image styles */
.blog-header-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.blog-title-overlay .title {
    margin-bottom: 1rem;
}

.blog-featured-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    background-color: transparent;
}

.blog-featured-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.blog-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.blog-title-overlay .title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0.5);
    max-width: 90%;
}

.blog-title-overlay .subtitle {
    color: white;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 90%;
}

/* Blog title container styles for better spacing */
.blog-title-container {
    margin-bottom: 1rem;
}

.blog-subtitle-container {
    margin-top: 1rem;
}

/* Staff edit button styles */
.staff-edit-button {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

/* Notification styles */
.notifications-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    width: 300px;
}

.notification {
    position: relative;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    animation: slideInLeft 0.3s ease-out;
    background-color: var(--scheme-main);
    border-left: 4px solid var(--primary);
    color: var(--scheme-invert);
}

.notification.is-info {
    background-color: var(--scheme-main-bis);
    border-left-color: var(--primary);
    color: var(--scheme-invert);
}

.notification.is-success {
    background-color: var(--scheme-main);
    border-left-color: var(--primary);
    color: var(--scheme-invert);
}

.notification.is-warning {
    background-color: var(--scheme-main-ter);
    border-left-color: var(--primary);
    color: var(--scheme-invert);
}

.notification.is-error {
    background-color: var(--scheme-main-bis);
    border-left-color: #ff3860;
    color: var(--scheme-invert);
}

.notification .delete {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
    width: 20px;
    height: 20px;
    color: inherit;
    opacity: 0.7;
}

.notification .delete:hover {
    opacity: 1;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive notification styles for mobile */
@media screen and (max-width: 768px) {
    .notifications-container {
        width: calc(100% - 40px);
        bottom: 10px;
        left: 10px;
    }
    
    .notification {
        padding: 12px 15px;
        margin-bottom: 10px;
    }
}

/* Blog layout styles */
/* Simple blog layout - flex container for main content and sidebar */
.simple-blog-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 1rem auto;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 1rem;
}

/* Main content area */
.simple-blog-main {
    flex: 1;
    min-width: 300px;
    margin-right: 0;
}

/* Sidebar */
.simple-blog-sidebar {
    flex: 0 0 250px;
    border: 1px solid var(--primary);
    padding: 1rem;
    border-radius: 8px;
    background-color: var(--scheme-main);
}

/* Desktop layout */
@media (min-width: 992px) {
    .simple-blog-layout {
        flex-wrap: nowrap;
    }
    
    .simple-blog-main {
        flex: 1;
    }
}

/* Mobile responsive layout */
@media (max-width: 768px) {
    .simple-blog-layout {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem;
    }
    
    .simple-blog-main,
    .simple-blog-sidebar {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: 1;
        margin-right: 0;
    }
}

/* Progressive Image Loading Styles */

/* Ensure images don't overflow their containers */
.card-image {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    background-color: transparent;
}

.card-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
    opacity: 1;
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: transparent;
}

/* Adjust padding for non-square images */
@media screen and (max-width: 768px) {
    .product-figure {
        padding-bottom: 75%; /* 4:3 aspect ratio for mobile */
    }
}

/* Card image container adjustments */
.card-image {
    overflow: hidden;
}

/* Product detail page layout */
.product-detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-images {
    flex: 1;
    min-width: 300px;
}

.product-info {
    flex: 1;
    min-width: 300px;
}

/* Product detail page image styles */
.image-gallery .main-image .image {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background-color: transparent;
}

.image-gallery .main-image .image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    background-color: transparent;
}

/* Product detail page thumbnail styles */
.image-gallery .thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.image-gallery .thumbnail {
    flex: 1;
    max-width: 100px;
    cursor: pointer;
}

.image-gallery .thumbnail .image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Square aspect ratio */
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 4px;
    background-color: transparent;
}

.image-gallery .thumbnail .image:hover {
    border-color: #ffd700;
}

.image-gallery .thumbnail .image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    background-color: transparent;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
    }
    
    .product-images,
    .product-info {
        min-width: 100%;
    }
    
    .image-gallery .thumbnails {
        flex-wrap: wrap;
    }
    
    .image-gallery .thumbnail {
        max-width: 80px;
    }
}

/* Column adjustments for fixed-width cards */

/* Responsive adjustments for fixed-width cards */
@media screen and (max-width: 768px) {
    .card {
        width: 100%;
        max-width: 300px;
        height: auto;
        min-height: 400px;
    }
    
        width: 100%;
    }
}

/* Typography classes */
.title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.125;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.25;
}

.title.is-1 {
    font-size: 3rem;
}

.title.is-2 {
    font-size: 2.5rem;
}

.title.is-3 {
    font-size: 2rem;
}

.title.is-4 {
    font-size: 1.5rem;
}

.title.is-5 {
    font-size: 1.25rem;
}

.title.is-6 {
    font-size: 1rem;
}

.subtitle.is-1 {
    font-size: 3rem;
}

.subtitle.is-2 {
    font-size: 2.5rem;
}

.subtitle.is-3 {
    font-size: 2rem;
}

.subtitle.is-4 {
    font-size: 1.5rem;
}

.subtitle.is-5 {
    font-size: 1.25rem;
}

.subtitle.is-6 {
    font-size: 1rem;
}

/* Box styles */
.box {
    border-radius: 6px;
    box-shadow: 0 0.5em 1em -0.125em rgba(10,10,10,.1), 0 0 1px rgba(10,10,10,.02);
    padding: 1.25rem;
}

/* Section styles */
.section {
    padding: 3rem 1.5rem;
}

@media screen and (min-width: 1024px) {
    .section {
        padding: 3rem 3rem;
    }
}

/* Columns and layout */


/* Ensure columns work properly on desktop */
@media screen and (min-width: 1024px) {
        display: flex !important;
    }
}


/* Responsive column adjustments */
@media screen and (max-width: 768px) {
        flex: none;
        width: 100%;
    }
    
        flex: none;
        width: 75%;
    }
    
        flex: none;
        width: 66.6666%;
    }
    
        flex: none;
        width: 50%;
    }
    
        flex: none;
        width: 33.3333%;
    }
    
        flex: none;
        width: 25%;
    }
    
        flex: none;
        width: 20%;
    }
    
    .card {
        max-width: 100%;
        min-height: 400px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
        flex: none;
        width: 100%;
    }
    
        flex: none;
        width: 75%;
    }
    
        flex: none;
        width: 66.666%;
    }
    
        flex: none;
        width: 50%;
    }
    
        flex: none;
        width: 33.3333%;
    }
    
        flex: none;
        width: 25%;
    }
    
        flex: none;
        width: 20%;
    }
}

@media screen and (min-width: 1024px) {
        flex: none;
        width: 100%;
    }
    
        flex: none;
        width: 75%;
    }
    
        flex: none;
        width: 66.6666%;
    }
    
        flex: none;
        width: 50%;
    }
    
        flex: none;
        width: 33.3333%;
    }
    
        flex: none;
        width: 25%;
    }
    
        flex: none;
        width: 20%;
    }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
        flex: none;
        width: 100%;
    }
    
        flex: none;
        width: 75%;
    }
    
        flex: none;
        width: 66.666%;
    }
    
        flex: none;
        width: 50%;
    }
    
        flex: none;
        width: 33.3333%;
    }
    
        flex: none;
        width: 25%;
    }
    
        flex: none;
        width: 20%;
    }
}

@media screen and (min-width: 1024px) {
        flex: none;
        width: 100%;
    }
    
        flex: none;
        width: 75%;
    }
    
        flex: none;
        width: 66.6666%;
    }
    
        flex: none;
        width: 50%;
    }
    
        flex: none;
        width: 33.3333%;
    }
    
        flex: none;
        width: 25%;
    }
    
        flex: none;
        width: 20%;
    }
}

/* Tags */
.tag {
    align-items: center;
    background-color: var(--scheme-main-ter);
    border-radius: 4px;
    color: var(--scheme-invert);
    display: inline-flex;
    font-size: 0.75rem;
    height: 2em;
    justify-content: center;
    line-height: 1.5;
    padding-left: 0.75em;
    padding-right: 0.75em;
    white-space: nowrap;
}

.tag.is-danger {
    background-color: #ff3860;
    color: #fff;
}

.tag.is-rounded {
    border-radius: 290486px;
}

/* Icons */
.icon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    height: 1.5rem;
    width: 1.5rem;
}

.icon.is-small {
    height: 1rem;
    width: 1rem;
}

.icon-text {
    align-items: flex-start;
    color: inherit;
    display: inline-flex;
    flex-wrap: wrap;
    line-height: 1.5rem;
    vertical-align: top;
}

.icon-text .icon {
    flex-grow: 0;
    flex-shrink: 0;
}

.icon-text .icon:first-child:not(:last-child) {
    margin-right: 0.25em;
}

.icon-text .icon:last-child:not(:first-child) {
    margin-left: 0.25em;
}

/* Utility classes */
.has-text-centered {
    text-align: center;
}

.has-text-white {
    color: white !important;
}

.has-text-grey {
    color: #7a7a7a !important;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-5 {
    margin-bottom: 1.5rem;
}

.is-size-6 {
    font-size: 1rem !important;
}

.is-size-7 {
    font-size: 0.875rem !important;
}

.has-text-weight-semibold {
    font-weight: 600 !important;
}

.is-inline-block {
    display: inline-block !important;
}

.is-128x128 {
    height: 128px !important;
    width: 128px !important;
}

.is-square {
    padding-bottom: 100% !important;
}

.is-4by3 {
    padding-bottom: 75% !important;
}

.image {
    display: block;
    position: relative;
}

.image img {
    display: block;
    height: auto;
    width: 100%;
}

.image.is-128x128 {
    height: 128px;
    width: 128px;
}

.image.is-square {
    padding-bottom: 100%;
}

.image.is-4by3 {
    padding-bottom: 75%;
}

.image.is-4by3 img {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

/* Content styles */
.content {
    font-size: 1rem;
}

.content p {
    margin-bottom: 1em;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
    color: #333;
    font-weight: 600;
    line-height: 1.125;
}

.content h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.content h1:not(:first-child) {
    margin-top: 1em;
}

.content h2 {
    font-size: 1.75em;
    margin-bottom: 0.5714em;
}

.content h2:not(:first-child) {
    margin-top: 1.1428em;
}

.content h3 {
    font-size: 1.5em;
    margin-bottom: 0.6666em;
}

.content h3:not(:first-child) {
    margin-top: 1.3333em;
}

.content h4 {
    font-size: 1.25em;
    margin-bottom: 0.8em;
}

.content h5 {
    font-size: 1.125em;
    margin-bottom: 0.8888em;
}

.content h6 {
    font-size: 1em;
    margin-bottom: 1em;
}

.content ul,
.content ol {
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 2em;
}

.content ul ul,
.content ul ol,
.content ol ul,
.content ol ol {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.content li {
    margin-bottom: 0.25em;
}

.content li:last-child {
    margin-bottom: 0;
}

.content blockquote {
    background-color: var(--scheme-main-bis);
    border-left: 5px solid var(--primary);
    padding: 1.25em 1.5em;
}

.content pre {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    padding: 1.25em 1.5em;
    white-space: pre;
    word-wrap: normal;
}

.content code {
    background-color: var(--scheme-main-ter);
    color: #ff3860;
    font-size: 0.875em;
    font-weight: normal;
    padding: 0.25em 0.5em;
}

.content pre code {
    background-color: transparent;
    color: currentColor;
    font-size: 1em;
    padding: 0;
}

/* Delete button */
.delete {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-color: rgba(10,10,10,.2);
    border: none;
    border-radius: 290486px;
    cursor: pointer;
    pointer-events: auto;
    display: inline-block;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 0;
    height: 20px;
    max-height: 20px;
    max-width: 20px;
    min-height: 20px;
    min-width: 20px;
    outline: none;
    position: relative;
    vertical-align: top;
    width: 20px;
}

.delete::before, .delete::after {
    background-color: #fff;
    content: "";
    display: block;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transform-origin: center center;
}

.delete::before {
    height: 2px;
    width: 50%;
}

.delete::after {
    height: 50%;
    width: 2px;
}

.delete:hover, .delete:focus {
    background-color: rgba(10,10,10,.3);
}

.delete:active {
    background-color: rgba(10,10,10,.4);
}

/* Field and control */
.field.is-grouped {
    display: flex;
    justify-content: flex-start;
}

.field.is-grouped > .control {
    flex-shrink: 0;
}

.field.is-grouped > .control:not(:last-child) {
    margin-bottom: 0;
    margin-right: 0.75rem;
}

.field.is-grouped.is-align-items-center {
    align-items: center;
}

.field.is-grouped.is-justify-content-center {
    justify-content: center;
}

.field.has-addons {
    display: flex;
    justify-content: flex-start;
}

.field.has-addons .control:not(:last-child) {
    margin-right: -1px;
}

.field.has-addons .control:first-child .button,
.field.has-addons .control:first-child .input,
.field.has-addons .control:first-child .select select {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.field.has-addons .control:last-child .button,
.field.has-addons .control:last-child .input,
.field.has-addons .control:last-child .select select {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

.field.has-addons .control .button,
.field.has-addons .control .input,
.field.has-addons .control .select select {
    border-radius: 0;
}

.field.has-addons .control .button:hover,
.field.has-addons .control .input:hover,
.field.has-addons .control .select select:hover {
    z-index: 2;
}

.field.has-addons .control .button:focus,
.field.has-addons .control .input:focus,
.field.has-addons .control .select select:focus,
.field.has-addons .control .button:active,
.field.has-addons .control .input:active,
.field.has-addons .control .select select:active {
    z-index: 3;
}

.field.has-addons .control.is-expanded {
    flex-grow: 1;
    flex-shrink: 1;
}

.field.has-addons.has-addons-centered {
    justify-content: center;
}

.field.has-addons.has-addons-right {
    justify-content: flex-end;
}

.field.has-addons.has-addons-fullwidth .control {
    flex-grow: 1;
    flex-shrink: 0;
}

.field.is-grouped.is-grouped-multiline {
    flex-wrap: wrap;
}

.field.is-grouped.is-grouped-multiline > .control:last-child, 
.field.is-grouped.is-grouped-multiline > .control:not(:last-child) {
    margin-bottom: 0.75rem;
}

.field.is-grouped.is-grouped-multiline:last-child {
    margin-bottom: -0.75rem;
}

.field.is-grouped.is-grouped-multiline:not(:last-child) {
    margin-bottom: 0;
}

.field.is-grouped.is-grouped-centered {
    justify-content: center;
}

.field.is-grouped.is-grouped-right {
    justify-content: flex-end;
}

.field.is-grouped.is-grouped-expanded .control {
    flex-grow: 1;
    flex-shrink: 1;
}

.field.is-horizontal {
    display: flex;
}

.field.is-horizontal .field-label {
    margin-right: 1.5rem;
    text-align: right;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 0;
}

.field.is-horizontal .field-body {
    flex-basis: 0;
    flex-grow: 5;
    flex-shrink: 1;
}

.field.is-horizontal .field-body .field .field {
    margin-bottom: 0;
}

.field.is-horizontal .field-label .label {
    font-size: inherit;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .field.is-horizontal {
        display: block;
    }
    
    .field.is-horizontal .field-label {
        margin-bottom: 0.5rem;
        margin-right: 0;
        text-align: left;
    }
}

/* Control */
.control {
    box-sizing: border-box;
    clear: both;
    font-size: 1rem;
    position: relative;
    text-align: inherit;
}

.control.has-icons-left .icon, 
.control.has-icons-right .icon {
    color: var(--scheme-main-ter);
    height: 2.5em;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 2.5em;
    z-index: 4;
}

.control.has-icons-left .input:focus ~ .icon, 
.control.has-icons-left .select:focus ~ .icon, 
.control.has-icons-right .input:focus ~ .icon, 
.control.has-icons-right .select:focus ~ .icon {
    color: var(--scheme-invert);
}

.control.has-icons-left .input.is-small ~ .icon, 
.control.has-icons-left .select.is-small ~ .icon, 
.control.has-icons-right .input.is-small ~ .icon, 
.control.has-icons-right .select.is-small ~ .icon {
    font-size: 0.75rem;
}

.control.has-icons-left .input.is-medium ~ .icon, 
.control.has-icons-left .select.is-medium ~ .icon, 
.control.has-icons-right .input.is-medium ~ .icon, 
.control.has-icons-right .select.is-medium ~ .icon {
    font-size: 1.25rem;
}

.control.has-icons-left .input.is-large ~ .icon, 
.control.has-icons-left .select.is-large ~ .icon, 
.control.has-icons-right .input.is-large ~ .icon, 
.control.has-icons-right .select.is-large ~ .icon {
    font-size: 1.5rem;
}

.control.has-icons-left .icon {
    left: 0;
}

.control.has-icons-right .icon {
    right: 0;
}

.control.is-loading::after {
    position: absolute !important;
    right: 0.625em;
    top: 0.625em;
    z-index: 4;
}

.control.is-loading.is-small:after {
    font-size: 0.75rem;
}

.control.is-loading.is-medium:after {
    font-size: 1.25rem;
}

.control.is-loading.is-large:after {
    font-size: 1.5rem;
}

/* Navbar burger for mobile */
.navbar-burger {
    color: var(--primary);
    cursor: pointer;
    display: block;
    height: 3.25rem;
    position: relative;
    width: 3.25rem;
    margin-left: auto;
}

/* Ensure navbar burger is positioned correctly on mobile */
.navbar-brand {
    display: flex;
    align-items: center;
    width: 100%;
}

.navbar-item {
    display: flex;
    align-items: center;
}

/* Mobile menu popup styles */
@media screen and (max-width: 1023px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 250px;
        max-width: 80%;
        background-color: var(--scheme-invert);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    
    .navbar-menu.is-active {
        transform: translateX(0);
    }
    
    .navbar-start,
    .navbar-end {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0;
    }
    
    .navbar-item {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    }
    
    /* Overlay for mobile menu */
    .navbar-menu.is-active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
    
    /* Ensure navbar burger stays on the right */
    .navbar-burger {
        margin-left: auto;
        order: 2;
    }
}

.navbar-burger span {
    background-color: currentColor;
    display: block;
    height: 1px;
    left: calc(50% - 8px);
    position: absolute;
    transform-origin: center;
    transition-duration: 86ms;
    transition-property: background-color, opacity, transform;
    transition-timing-function: ease-out;
    width: 16px;
}

.navbar-burger span:nth-child(1) {
    top: calc(50% - 6px);
}

.navbar-burger span:nth-child(2) {
    top: calc(50% - 1px);
}

.navbar-burger span:nth-child(3) {
    top: calc(50% + 4px);
}

.navbar-burger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.navbar-burger.is-active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

/* Navbar menu */
.navbar-menu {
    display: none;
}

.navbar-menu.is-active {
    display: block;
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: var(--scheme-invert);
        box-shadow: 0 8px 16px rgba(10,10,10,.1);
        padding: 0.5rem 0;
    }
    
    .navbar-menu .navbar-item {
        padding: 0.5rem 1rem;
    }
}

@media screen and (min-width: 1024px) {
    .navbar,
    .navbar-menu,
    .navbar-start,
    .navbar-end {
        align-items: stretch;
        display: flex;
    }
    
    .navbar {
        min-height: 3.25rem;
    }
    
    .navbar-burger {
        display: none;
    }
    
    .navbar-menu {
        flex-grow: 1;
        flex-shrink: 0;
        display: flex;
        align-items: stretch;
    }
    
    .navbar-start {
        justify-content: flex-start;
        margin-right: auto;
    }
    
    .navbar-end {
        justify-content: flex-end;
        margin-left: auto;
    }
    
    .navbar-item {
        display: flex;
        align-items: center;
        padding: 0.5rem 1rem;
    }
}

/* Product images grid styles */
.product-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.product-image-wrapper {
    display: flex;
    justify-content: center;
}

/* Images section styles */
.images-section {
    margin-top: 2rem;
}

.section-content {
    width: 100%;
}

/* Products list grid styles */
.products-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.product-list-item-wrapper {
    display: flex;
    justify-content: center;
}

.no-products-message {
    grid-column: 1 / -1;
}

/* ==================== BLOG STYLES ==================== */

/* Blog header styles */
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
    background-color: var(--scheme-main-bis);
    border-radius: 8px;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.blog-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog posts list improvements */
.blog-posts-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Blog post rectangle layout */
.blog-post-rectangle {
    display: flex;
    height: 250px;
    max-width: 1200px;
    width: 100%;
    border: 1px solid var(--primary);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--scheme-main);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-post-rectangle:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Staff edit button */
.staff-edit-button {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.staff-edit-button .button {
    background-color: var(--primary);
    color: var(--primary-invert);
    border: 1px solid var(--primary);
    font-weight: 600;
}

.staff-edit-button .button:hover {
    background-color: var(--primary-invert);
    color: var(--primary);
    border-color: var(--primary);
}

/* Blog post image container */
.blog-post-image-container {
    flex: 0 0 300px;
    height: 100%;
    overflow: hidden;
    background-color: #f8f8f8;
}

.blog-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-rectangle:hover .blog-post-image {
    transform: scale(1.03);
}

/* Blog post content */
.blog-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    overflow: hidden;
}

/* Post meta styles */
.post-meta {
    margin-bottom: 0.75rem;
}

.post-date {
    font-size: 0.875rem;
    color: #666;
    font-weight: 600;
}

/* Post title styles */
.post-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Post excerpt styles */
.post-excerpt {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Post actions */
.post-actions {
    margin-top: auto;
}

.post-actions .button {
    font-weight: 600;
    padding: 0.625rem 1.25rem;
}

/* Blog detail page styles */
.blog-header-container {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.blog-featured-image-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.blog-featured-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.blog-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.blog-detail-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0.5);
    max-width: 90%;
    font-weight: 700;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-detail-subtitle {
    color: white;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Blog content styling */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.blog-content h1 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
}

.blog-content h2 {
    font-size: 1.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem auto;
    display: block;
}

/* Featured products section improvements */
.product-snippets {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.product-snippets .title.is-4 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.featured-product-wrapper {
    display: flex;
    justify-content: center;
}

/* Sidebar improvements */
.simple-blog-sidebar {
    border: 1px solid var(--primary);
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--scheme-main);
    align-self: flex-start;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.simple-blog-sidebar .card {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.simple-blog-sidebar .card-image {
    height: 150px;
}

.simple-blog-sidebar .card-content {
    padding: 1rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.product-price,
.product-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Hero Section Styles */
.hero-section {
    background-color: var(--scheme-main-bis);
    background-image: url("/media/background/tile.jpeg");
    background-repeat: repeat;
    padding: 3rem 1rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    color: var(--scheme-invert);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle,
.hero-description {
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Features grid for hero section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-row {
    display: flex;
    flex-direction: column;
    background-color: var(--scheme-main);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.feature-image {
    height: 200px;
    overflow: hidden;
    background-color: #f8f8f8;
}

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

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

.feature-content {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-title {
    color: var(--scheme-invert);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-description {
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

/* Delivery Towns Section - Cloud Theme with Scrolling */
.delivery-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 4rem 1rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.delivery-section::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cpath d='M20,60 Q40,30 60,50 Q80,70 100,40 Q120,10 140,40 Q160,70 180,50 L180,100 L20,100 Z' fill='%23ffd700' opacity='0.1'/%3E%3C/svg%3E") no-repeat;
    background-size: contain;
    transform: rotate(15deg);
}

.delivery-section::after {
    content: "";
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 75px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cpath d='M20,60 Q40,30 60,50 Q80,70 100,40 Q120,10 140,40 Q160,70 180,50 L180,100 L20,100 Z' fill='%23ffd700' opacity='0.1'/%3E%3C/svg%3E") no-repeat;
    background-size: contain;
    transform: rotate(-10deg);
}

.delivery-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.delivery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.delivery-title {
    color: #000000;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.delivery-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.delivery-subtitle {
    color: #666;
    font-size: 1.25rem;
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

/* Scrolling towns container */
.towns-scroll-container {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    margin: 2rem 0;
}

.towns-scroll-content {
    display: flex;
    animation: scroll-left 180s linear infinite;
    gap: 2rem;
    width: max-content;
}

.towns-scroll-content:hover {
    animation-play-state: paused;
}

.town-cloud {
    background: white;
    border-radius: 50%;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.05),
        0 5px 10px rgba(0, 0, 0, 0.03);
    padding: 1.25rem;
    min-width: 160px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.town-cloud:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.1),
        0 8px 15px rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.5);
}

.town-cloud::before,
.town-cloud::after {
    content: "";
    position: absolute;
    background: white;
    border-radius: 50%;
    z-index: -1;
}

.town-cloud::before {
    width: 70px;
    height: 70px;
    top: -15px;
    left: 15px;
}

.town-cloud::after {
    width: 50px;
    height: 50px;
    top: -8px;
    right: 15px;
}

.town-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.town-name {
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
    text-align: center;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Additional responsive styles for delivery section */
@media screen and (max-width: 768px) {
    .delivery-section {
        padding: 3rem 0.5rem;
        margin: 2rem 0;
    }
    
    .delivery-title {
        font-size: 2rem;
    }
    
    .delivery-subtitle {
        font-size: 1rem;
    }
    
    .towns-scroll-container {
        padding: 1.5rem 0;
    }
    
    .town-cloud {
        min-width: 140px;
        padding: 1rem;
    }
    
    .town-icon {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .town-name {
        font-size: 0.8rem;
    }
    
    .static-cloud {
        min-width: 150px;
        padding: 1.25rem;
    }
    
    .static-cloud-icon {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .static-cloud-text {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .delivery-section {
        padding: 2rem 0.25rem;
        margin: 1.5rem 0;
    }
    
    .delivery-title {
        font-size: 1.75rem;
    }
    
    .delivery-subtitle {
        font-size: 0.9rem;
    }
    
    .towns-scroll-container {
        padding: 1rem 0;
    }
    
    .town-cloud {
        min-width: 120px;
        padding: 0.75rem;
    }
    
    .town-icon {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .town-name {
        font-size: 0.75rem;
    }
    
    .static-cloud {
        min-width: 130px;
        padding: 1rem;
    }
    
    .static-cloud-icon {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .static-cloud-text {
        font-size: 0.8rem;
    }
}

/* Static cloud elements for visual interest */
.static-clouds {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.static-cloud {
    background: white;
    border-radius: 50%;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.05),
        0 5px 10px rgba(0, 0, 0, 0.03);
    padding: 1.5rem;
    min-width: 180px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.static-cloud:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.1),
        0 8px 15px rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.5);
}

.static-cloud::before,
.static-cloud::after {
    content: "";
    position: absolute;
    background: white;
    border-radius: 50%;
    z-index: -1;
}

.static-cloud::before {
    width: 80px;
    height: 80px;
    top: -20px;
    left: 20px;
}

.static-cloud::after {
    width: 60px;
    height: 60px;
    top: -10px;
    right: 20px;
}

.static-cloud-content {
    position: relative;
    z-index: 2;
}

.static-cloud-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.static-cloud-text {
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
}

/* Responsive improvements */
@media screen and (max-width: 992px) {
    .blog-post-rectangle {
        flex-direction: column;
        height: auto;
    }
    
    .blog-post-image-container {
        flex: 0 0 200px;
        width: 100%;
    }
    
    .blog-post-content {
        padding: 1.25rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .cloud {
        min-width: 150px;
        padding: 1.25rem;
    }
}

@media screen and (max-width: 768px) {
    .blog-header {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-post-rectangle {
        padding: 1rem;
    }
    
    .blog-post-content {
        padding: 1rem;
    }
    
    .post-title {
        font-size: 1.3rem;
    }
    
    .product-snippets .title.is-4 {
        font-size: 1.5rem;
    }
    
    .simple-blog-sidebar {
        padding: 1rem;
    }
    
    .sidebar-title {
        font-size: 1.3rem;
    }
    
    .blog-featured-image-container {
        height: 300px;
    }
    
    .blog-detail-title {
        font-size: 1.8rem;
    }
    
    .blog-detail-subtitle {
        font-size: 1rem;
    }
    
    .blog-content {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .blog-content h1 {
        font-size: 1.75rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 2rem 0.5rem;
        margin: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle,
    .hero-description {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-content {
        padding: 1rem;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .delivery-section {
        padding: 3rem 0.5rem;
        margin: 2rem 0;
    }
    
    .delivery-title {
        font-size: 2rem;
    }
    
    .delivery-subtitle {
        font-size: 1rem;
    }
    
    .cloud {
        min-width: 130px;
        padding: 1rem;
    }
    
    .cloud-text {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .blog-header {
        padding: 1rem 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .blog-title {
        font-size: 1.75rem;
    }
    
    .blog-subtitle {
        font-size: 1rem;
    }
    
    .blog-post-rectangle {
        padding: 0.75rem;
    }
    
    .blog-post-image-container {
        flex: 0 0 150px;
    }
    
    .post-title {
        font-size: 1.2rem;
    }
    
    .post-excerpt {
        font-size: 0.9rem;
    }
    
    .post-actions .button {
        width: 100%;
        text-align: center;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .simple-blog-sidebar .card-image {
        height: 120px;
    }
    
    .blog-featured-image-container {
        height: 250px;
    }
    
    .blog-detail-title {
        font-size: 1.5rem;
    }
    
    .blog-detail-subtitle {
        font-size: 0.9rem;
    }
    
    .blog-content {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .blog-content h1 {
        font-size: 1.75rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 1.5rem 0.25rem;
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle,
    .hero-description {
        font-size: 0.9rem;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .delivery-section {
        padding: 2rem 0.25rem;
        margin: 1.5rem 0;
    }
    
    .delivery-title {
        font-size: 1.75rem;
    }
    
    .delivery-subtitle {
        font-size: 0.9rem;
    }
    
    .cloud-container {
        gap: 1rem;
    }
    
    .cloud {
        min-width: 110px;
        padding: 0.75rem;
    }
    
    .cloud-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .cloud-text {
        font-size: 0.8rem;
    }
}

/* Custom styled select */
.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-select select {
    display: none; /* Hide original select */
}

.select-selected {
    background-color: var(--scheme-main);
    border: 1px solid var(--scheme-main-ter);
    padding: 8px 16px;
    cursor: pointer;
    position: relative;
    border-radius: 4px;
}

.select-selected:after {
    position: absolute;
    content: "";
    top: 50%;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #000 transparent transparent transparent;
    transform: translateY(-50%);
}

.select-selected.select-arrow-active:after {
    border-color: transparent transparent #000 transparent;
    top: 20%;
}

.select-items {
    position: absolute;
    background-color: var(--scheme-main);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--scheme-main-ter);
    border-top: none;
    border-radius: 0 0 4px 4px;
    display: none;
}

.select-hide {
    display: none;
}

.select-items div {
    padding: 8px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--scheme-main-ter);
}

.select-items div:hover {
    background-color: var(--scheme-main-bis);
}

.same-as-selected {
    background-color: var(--primary) !important;
    color: var(--primary-invert);
}

/* Custom Icon System */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    position: relative;
}

.icon-shopping-cart:before {
    content: "";
    position: absolute;
    top: 20%;
    left: 10%;
    width: 70%;
    height: 50%;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.icon-shopping-cart:after {
    content: "";
    position: absolute;
    top: 70%;
    left: 20%;
    width: 20%;
    height: 20%;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 30% 0 0 currentColor;
}

.icon-edit:before {
    content: "";
    position: absolute;
    top: 20%;
    left: 70%;
    width: 50%;
    height: 20%;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: 0 50%;
}

.icon-edit:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 20%;
    width: 40%;
    height: 40%;
    border: 2px solid currentColor;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

.icon-cart-plus:before {
    content: "";
    position: absolute;
    top: 20%;
    left: 10%;
    width: 70%;
    height: 50%;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.icon-cart-plus:after {
    content: "";
    position: absolute;
    top: 70%;
    left: 20%;
    width: 20%;
    height: 20%;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 30% 0 0 currentColor;
}

.icon-cart-plus .plus {
    position: absolute;
    top: 30%;
    right: 10%;
    width: 20%;
    height: 40%;
    background: currentColor;
}

.icon-cart-plus .plus:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -40%;
    width: 100%;
    height: 20%;
    background: currentColor;
    transform: translateY(-50%);
}

/* Additional custom icons */
.icon-tint:before {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    width: 20%;
    height: 60%;
    background: currentColor;
    transform: translateX(-50%);
}

.icon-tint:after {
    content: "";
    position: absolute;
    top: 70%;
    left: 50%;
    width: 40%;
    height: 30%;
    background: currentColor;
    border-radius: 50%;
    transform: translateX(-50%);
}

.icon-sync-alt:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    border: 2px solid currentColor;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.icon-sync-alt:after {
    content: "";
    position: absolute;
    top: 20%;
    left: 20%;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-left-color: currentColor;
    transform: rotate(45deg);
}

.icon-heart:before {
    content: "";
    position: absolute;
    top: 30%;
    left: 50%;
    width: 40%;
    height: 60%;
    background: currentColor;
    transform: translateX(-50%) rotate(-45deg);
    transform-origin: 0 100%;
}

.icon-heart:after {
    content: "";
    position: absolute;
    top: 30%;
    right: 30%;
    width: 40%;
    height: 60%;
    background: currentColor;
    transform: translateX(50%) rotate(45deg);
    transform-origin: 100% 100%;
}

.icon-shield-alt:before {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    width: 50%;
    height: 70%;
    border: 2px solid currentColor;
    border-radius: 50% 50% 0 0;
    transform: translateX(-50%);
}

.icon-shield-alt:after {
    content: "";
    position: absolute;
    top: 70%;
    left: 50%;
    width: 60%;
    height: 30%;
    background: currentColor;
    transform: translateX(-50%);
}

.icon-hourglass-half:before {
    content: "";
    position: absolute;
    top: 20%;
    left: 30%;
    width: 40%;
    height: 60%;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.icon-hourglass-half:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 30%;
    width: 40%;
    height: 20%;
    background: currentColor;
    transform: translateY(-50%);
}

.icon-allergies:before {
    content: "";
    position: absolute;
    top: 30%;
    left: 30%;
    width: 40%;
    height: 40%;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-allergies:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20%;
    height: 20%;
    background: currentColor;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.icon-check-circle:before {
    content: "";
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-check-circle:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 40%;
    width: 30%;
    height: 15%;
    background: currentColor;
    transform: rotate(-45deg);
    transform-origin: 0 0;
}

.icon-check-circle .check {
    position: absolute;
    top: 40%;
    left: 30%;
    width: 15%;
    height: 40%;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: 0 100%;
}

.icon-truck:before {
    content: "";
    position: absolute;
    top: 40%;
    left: 20%;
    width: 50%;
    height: 30%;
    background: currentColor;
}

.icon-truck:after {
    content: "";
    position: absolute;
    top: 70%;
    left: 25%;
    width: 15%;
    height: 15%;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 30% 0 0 currentColor;
}

.icon-map-marker-alt:before {
    content: "";
    position: absolute;
    top: 30%;
    left: 50%;
    width: 40%;
    height: 50%;
    background: currentColor;
    border-radius: 50% 50% 0 0;
    transform: translateX(-50%);
}

.icon-map-marker-alt:after {
    content: "";
    position: absolute;
    top: 80%;
    left: 50%;
    width: 20%;
    height: 20%;
    background: currentColor;
    border-radius: 50%;
    transform: translateX(-50%);
}

.icon-cloud:before {
    content: "";
    position: absolute;
    top: 40%;
    left: 30%;
    width: 50%;
    height: 30%;
    background: currentColor;
    border-radius: 50px;
}

.icon-cloud:after {
    content: "";
    position: absolute;
    top: 30%;
    left: 20%;
    width: 30%;
    height: 20%;
    background: currentColor;
    border-radius: 50px;
    box-shadow: 50% 10% 0 currentColor;
}
