/* RoPo coastal storefront theme */

:root {
    --ropo-navy: #0b2545;
    --ropo-navy-mid: #13315c;
    --ropo-teal: #1a9aab;
    --ropo-teal-light: #2ec4b6;
    --ropo-sand: #f4f1ea;
    --ropo-sand-dark: #e8e2d6;
    --ropo-foam: #eef6f8;
    --ropo-coral: #e07a5f;
    --ropo-white: #ffffff;
    --ropo-text: #1e293b;
    --ropo-muted: #5c6b7a;
    --ropo-shadow: 0 12px 40px rgba(11, 37, 69, 0.12);
}

body.gantry {
    font-family: "DM Sans", system-ui, sans-serif;
    background: linear-gradient(180deg, var(--ropo-foam) 0%, var(--ropo-sand) 35%, #f8fafc 100%);
    color: var(--ropo-text);
}

.g-container {
    margin-left: auto;
    margin-right: auto;
}

/* ── Top coastal accent bar ── */
.ropo-coast-bar {
    background: linear-gradient(90deg, var(--ropo-navy) 0%, var(--ropo-teal) 50%, var(--ropo-teal-light) 100%);
    color: rgba(255,255,255,0.92);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.ropo-coast-bar__tagline {
    text-align: center;
}

.ropo-coast-bar__social {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ropo-social-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ropo-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    color: var(--ropo-navy);
    background: var(--ropo-foam);
    border: 1px solid rgba(26,154,171,0.2);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s, background 0.2s, transform 0.15s, border-color 0.2s;
}

.ropo-social-btn:hover {
    color: #fff;
    background: var(--ropo-teal);
    border-color: var(--ropo-teal);
    transform: translateY(-1px);
}

.ropo-coast-bar .ropo-social-btn {
    color: var(--ropo-navy);
    background: #fff;
    border-color: #fff;
    box-shadow: 0 2px 10px rgba(11, 37, 69, 0.22);
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
}

.ropo-coast-bar .ropo-social-btn:hover {
    color: #fff;
    background: var(--ropo-navy);
    border-color: var(--ropo-navy);
}

.ropo-nav-actions {
    justify-self: end;
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

/* ── Navigation ── */
#g-navigation.fp-navigation {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 3px solid var(--ropo-teal-light);
    box-shadow: var(--ropo-shadow);
}

.ropo-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.25rem;
    min-height: 4.75rem;
    padding: 0.35rem 0;
}

.ropo-nav-logo {
    justify-self: start;
    flex-shrink: 0;
    line-height: 0;
}

.ropo-main-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    justify-self: center;
    grid-column: 2;
}

.ropo-nav-logo img,
#g-navigation .g-logo img {
    max-height: 76px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(11,37,69,0.15));
}

.ropo-main-nav li { margin: 0; }

.ropo-main-nav a {
    color: var(--ropo-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.82rem;
    text-decoration: none;
    padding: 0.45rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.ropo-main-nav a:hover,
.ropo-main-nav a.active {
    color: var(--ropo-navy);
    border-bottom-color: var(--ropo-teal);
}

.ropo-cart-bag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--ropo-navy);
    font-size: 1.55rem;
    text-decoration: none;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--ropo-foam);
    border: 1px solid rgba(26,154,171,0.2);
    transition: color 0.2s, background 0.2s, transform 0.15s;
    position: relative;
}

.ropo-cart-bag:hover {
    color: var(--ropo-teal);
    background: #fff;
    transform: translateY(-1px);
}

.ropo-cart-count {
    position: absolute;
    top: -0.2rem;
    right: -0.2rem;
    background: linear-gradient(135deg, var(--ropo-teal), var(--ropo-teal-light));
    color: #fff;
    border-radius: 999px;
    min-width: 1.3rem;
    height: 1.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.35rem;
    border: 2px solid #fff;
}

/* Trust strip below hero */
.ropo-trust-strip {
    background: var(--ropo-white);
    border-bottom: 1px solid var(--ropo-sand-dark);
    padding: 0.85rem 1rem;
}

.ropo-trust-strip__inner {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ropo-navy);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ropo-trust-strip__inner i {
    color: var(--ropo-teal);
    margin-right: 0.4rem;
}

/* ── Hero ── */
#g-slideshow.flush { padding: 0; }

.ropo-hero-slider {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: var(--ropo-navy);
}

.ropo-hero-slider::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 48px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath fill='%23eef6f8' d='M0,32 C200,48 400,8 600,24 C800,40 1000,16 1200,32 L1200,48 L0,48 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    z-index: 4;
    pointer-events: none;
}

.ropo-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    transform: scale(1.04);
}

.ropo-hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.2s ease, transform 10s ease;
}

.ropo-hero-overlay {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3.5rem 1.5rem 3rem;
    background: linear-gradient(160deg, rgba(11,37,69,0.55) 0%, rgba(26,154,171,0.35) 100%);
    color: #fff;
}

.ropo-hero-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.75rem;
    margin: 0 0 1.25rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}

.ropo-hero-overlay h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
    font-size: clamp(2.1rem, 5.5vw, 3.4rem);
    line-height: 1.15;
    margin: 0 0 1.25rem;
    max-width: 14ch;
    text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.ropo-hero-overlay .ropo-hero-lead {
    max-width: 32rem;
    margin: 0 auto 1.75rem;
    font-size: 1.12rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.94);
}

.ropo-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.25rem;
    margin-bottom: 0;
    padding: 1rem 2.15rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(135deg, var(--ropo-coral) 0%, #c96a52 100%);
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    box-shadow: 0 10px 32px rgba(0,0,0,0.28), 0 4px 16px rgba(224,122,95,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ropo-hero-cta::after {
    content: '\2192';
    font-size: 1.15em;
    line-height: 1;
    transition: transform 0.2s ease;
}

.ropo-hero-cta:hover,
.ropo-hero-cta:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #eb8f74 0%, var(--ropo-coral) 100%) !important;
    border-color: rgba(255,255,255,0.45) !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.32), 0 6px 20px rgba(224,122,95,0.5);
}

.ropo-hero-cta:hover::after,
.ropo-hero-cta:focus::after {
    transform: translateX(4px);
}

.ropo-hero-dots {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 0.55rem;
    margin-top: 1.35rem;
    padding-bottom: 0.25rem;
}

.ropo-hero-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.6);
    cursor: pointer;
}

.ropo-hero-dots span.is-active {
    background: var(--ropo-teal-light);
    border-color: #fff;
}

/* ── Page headers (inner pages) ── */
.ropo-page-hero {
    background: linear-gradient(135deg, var(--ropo-navy) 0%, var(--ropo-navy-mid) 60%, #0d4f6e 100%);
    color: #fff;
    text-align: center;
    padding: 2.75rem 1.5rem;
    margin: 0 0 2rem;
    position: relative;
}

.ropo-page-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 28' preserveAspectRatio='none'%3E%3Cpath fill='%23eef6f8' d='M0,20 C300,28 600,8 900,20 C1050,26 1150,22 1200,24 L1200,28 L0,28 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.ropo-page-hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0;
    font-weight: 600;
}

/* ── Sections ── */
#g-container-main {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 72rem;
    padding: 0 1.25rem;
    background: transparent !important;
}

#g-header {
    padding: 2.5rem 0 0.5rem;
}

#g-header .g-content p,
.ropo-section-lead {
    color: var(--ropo-muted);
    font-size: 1.08rem;
    max-width: 36rem;
    margin: 0.5rem auto 0;
    line-height: 1.65;
}

/* ── Perks / Why shop with us ── */
.ropo-perks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.ropo-perk {
    background: var(--ropo-white);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 20px rgba(11,37,69,0.08);
    border: 1px solid rgba(26,154,171,0.15);
    text-align: center;
    min-width: 0;
}

.ropo-perk-icon {
    color: var(--ropo-teal);
    font-size: 2.25rem;
    margin-bottom: 0.85rem;
}

.ropo-perk h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.15rem;
    color: var(--ropo-navy);
    margin: 0 0 0.5rem;
}

.ropo-perk p {
    color: var(--ropo-muted);
    line-height: 1.65;
    margin: 0;
    font-size: 0.98rem;
}

#g-above {
    padding: 2.5rem 0;
    background: linear-gradient(180deg, var(--ropo-sand) 0%, var(--ropo-foam) 100%);
    border-top: 1px solid var(--ropo-sand-dark);
    border-bottom: 1px solid var(--ropo-sand-dark);
}

#g-above .g-content {
    margin-bottom: 1.75rem;
}

/* legacy infolist overrides if still present */
#g-above .g-infolist {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 0.5rem;
    flex-wrap: unset !important;
}

#g-above .g-infolist .g-infolist-item {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    flex: none !important;
}

#g-feature {
    padding: 2.5rem 0 1rem;
    background: transparent !important;
}

#g-feature .g-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

#g-feature .g-block {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
}

/* ── Products ── */
.g-productlist .g-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.g-productlist .filtr-item {
    width: auto !important;
    flex: none !important;
}

.g-productlist-container.ropo-visible { opacity: 1 !important; }

.g-productlist .filtr-item .g-product-container {
    border-radius: 14px;
    border: 1px solid rgba(11,37,69,0.08);
    box-shadow: var(--ropo-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: var(--ropo-white);
    margin: 0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ropo-product-media {
    display: block;
    overflow: hidden;
    margin: -1.5rem -1.5rem 1rem;
    border-radius: 14px 14px 0 0;
    line-height: 0;
}

.ropo-product-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.g-productlist .filtr-item .g-product-container:hover .ropo-product-media img {
    transform: scale(1.03);
}

.g-productlist .filtr-item .g-product-container .g-product-actions {
    position: static !important;
    opacity: 1 !important;
    z-index: auto !important;
    display: flex !important;
    flex-direction: column;
    gap: 0.6rem;
    justify-content: stretch;
    align-items: stretch;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--ropo-sand-dark);
}

.g-productlist .filtr-item .g-product-container .g-product-actions .g-product-addtocart,
.g-productlist .filtr-item .g-product-container .g-product-actions .g-product-more {
    padding: 0 !important;
    width: 100%;
}

.g-productlist .filtr-item .g-product-container .g-product-actions .button {
    width: 100%;
    text-align: center;
    padding: 0.65rem 1rem !important;
}

.g-productlist .filtr-item .g-product-container .g-product-brand a {
    color: inherit;
    text-decoration: none;
}

.g-productlist .filtr-item .g-product-container .g-product-brand a:hover {
    color: var(--ropo-teal);
}

.title6 .g-title,
h1.g-title, h2.g-title {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
    color: var(--ropo-navy);
}

.title6 .g-title { font-size: 2rem; }

.title6 .g-title::after {
    content: '';
    display: block;
    width: 3.5rem;
    height: 3px;
    margin: 0.75rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ropo-teal), var(--ropo-teal-light));
}

.center-block { text-align: center; }

/* Coastal feature cards */
.ropo-coast-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--ropo-shadow);
    text-align: center;
    padding: 2rem 1.5rem;
    min-height: 10rem;
    color: #fff;
    position: relative;
}

.ropo-coast-card h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    margin: 0 0 0.65rem;
}

.ropo-coast-card p {
    margin: 0;
    opacity: 0.95;
    line-height: 1.55;
    font-size: 0.98rem;
}

.ropo-coast-card--sea {
    background: linear-gradient(145deg, var(--ropo-navy) 0%, var(--ropo-navy-mid) 100%);
}

.ropo-coast-card--teal {
    background: linear-gradient(145deg, #0d4f6e 0%, var(--ropo-teal) 100%);
}

.ropo-coast-card--coral {
    background: linear-gradient(145deg, #c45c4a 0%, var(--ropo-coral) 100%);
}

.g-productlist .filtr-item .g-product-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(11,37,69,0.16);
}

.g-productlist .g-product-image,
.g-productlist .product-image {
    width: 100%;
    height: 220px;
    max-height: none;
    object-fit: cover;
    margin-bottom: 0;
    border-radius: 0;
}

.g-productlist .g-product-brand {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.1rem;
    color: var(--ropo-navy);
    opacity: 1;
}

.g-productlist .g-product-price {
    color: var(--ropo-teal);
    font-size: 1.35rem;
    font-weight: 700;
}

.g-productlist .g-product-desc {
    color: var(--ropo-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0.5rem 0 1rem;
    text-align: center;
}

.g-productlist .g-product-actions { opacity: 1 !important; margin-top: auto !important; }

.ropo-product-link {
    color: var(--ropo-teal);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    display: block;
    padding: 0.25rem 0;
}

.ropo-product-link:hover {
    color: var(--ropo-navy);
    text-decoration: underline;
}

/* ── Showcase ── */
.ropo-showcase-strip {
    padding: 0 0 3rem;
}

.ropo-showcase-strip .g-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ropo-showcase-strip .g-block {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
}

.ropo-showcase-card {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--ropo-shadow);
}

.ropo-showcase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 35%, rgba(11,37,69,0.82));
    transition: background 0.3s;
}

.ropo-showcase-card:hover::before {
    background: linear-gradient(transparent 15%, rgba(26,154,171,0.88));
}

.ropo-showcase-card span {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 1.75rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* ── Buttons (override Versla ghost-hover with higher specificity) ── */
body.ropo-coastal .button,
body.ropo-coastal .btn,
body.ropo-coastal button.button {
    display: inline-block;
    background: linear-gradient(135deg, var(--ropo-teal) 0%, var(--ropo-teal-light) 100%) !important;
    color: #fff !important;
    border: 2px solid var(--ropo-teal) !important;
    padding: 0.75rem 1.6rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(26,154,171,0.35);
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s, color 0.2s;
}

body.ropo-coastal .button:hover,
body.ropo-coastal .btn:hover,
body.ropo-coastal button.button:hover,
body.ropo-coastal .button:active,
body.ropo-coastal .btn:active,
body.ropo-coastal button.button:active,
body.ropo-coastal .button:focus,
body.ropo-coastal .btn:focus,
body.ropo-coastal button.button:focus {
    background: linear-gradient(135deg, var(--ropo-teal-light) 0%, #1fc4b8 100%) !important;
    color: #fff !important;
    border-color: var(--ropo-teal-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26,154,171,0.45);
}

body.ropo-coastal .button.button-2,
body.ropo-coastal .button-2 {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.9) !important;
    box-shadow: none;
}

body.ropo-coastal .button.button-2:hover,
body.ropo-coastal .button.button-2:active,
body.ropo-coastal .button.button-2:focus,
body.ropo-coastal .button-2:hover,
body.ropo-coastal .button-2:active,
body.ropo-coastal .button-2:focus {
    background: #fff !important;
    color: var(--ropo-navy) !important;
    border-color: #fff !important;
    box-shadow: var(--ropo-shadow);
}

body.ropo-coastal .button.button-3,
body.ropo-coastal .button-3 {
    background: var(--ropo-white) !important;
    color: var(--ropo-teal) !important;
    border: 2px solid var(--ropo-teal) !important;
    box-shadow: none;
}

body.ropo-coastal .button.button-3:hover,
body.ropo-coastal .button.button-3:active,
body.ropo-coastal .button.button-3:focus,
body.ropo-coastal .button-3:hover,
body.ropo-coastal .button-3:active,
body.ropo-coastal .button-3:focus {
    background: var(--ropo-teal) !important;
    color: #fff !important;
    border-color: var(--ropo-teal) !important;
}

body.ropo-coastal .button-block,
body.ropo-coastal .btn-block { display: block; width: 100%; text-align: center; }

.ropo-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ropo-teal);
}

/* ── Panels ── */
.ropo-panel {
    background: var(--ropo-white);
    border: 1px solid rgba(11,37,69,0.08);
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--ropo-shadow);
}

.ropo-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.ropo-back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--ropo-teal);
    font-weight: 600;
    text-decoration: none;
}

.ropo-back-link:hover { color: var(--ropo-navy); }

.ropo-panel label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--ropo-navy);
}

.ropo-panel input,
.ropo-panel textarea,
.ropo-panel select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--ropo-sand-dark);
    border-radius: 6px;
    margin-bottom: 0.85rem;
    font: inherit;
    background: var(--ropo-foam);
}

.ropo-panel input:focus,
.ropo-panel textarea:focus {
    outline: 2px solid var(--ropo-teal-light);
    border-color: var(--ropo-teal);
}

.ropo-alert {
    padding: 0.85rem 1rem;
    margin: 0.75rem 0;
    border-radius: 8px;
}

.ropo-alert-success { background: #e0f2f1; color: #00695c; border: 1px solid #80cbc4; }
.ropo-alert-error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.ropo-alert-error ul { margin: 0; padding-left: 1.2rem; }

/* ── Footer ── */
#g-footer {
    background: linear-gradient(160deg, var(--ropo-navy) 0%, var(--ropo-navy-mid) 100%);
    color: rgba(255,255,255,0.88);
    padding: 3rem 0 2rem;
    margin-top: 1rem;
    position: relative;
}

#g-footer > .g-container {
    width: 100%;
    max-width: 72rem;
    padding: 0 1.25rem;
}

#g-footer > .g-grid {
    border-bottom: none !important;
}

#g-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 32px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 32' preserveAspectRatio='none'%3E%3Cpath fill='%230b2545' d='M0,16 C300,32 600,0 900,16 C1050,24 1150,20 1200,22 L1200,0 L0,0 Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
    transform: translateY(-100%);
    pointer-events: none;
}

.ropo-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.ropo-footer-col {
    min-width: 0;
}

#g-footer h4.g-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: var(--ropo-teal-light);
}

#g-footer p { color: rgba(255,255,255,0.75); line-height: 1.6; }

.ropo-footer-links { list-style: none; margin: 0; padding: 0; }
.ropo-footer-links li { margin-bottom: 0.55rem; }
.ropo-footer-links a { color: rgba(255,255,255,0.8); text-decoration: none; }
.ropo-footer-links a:hover { color: var(--ropo-teal-light); }

#g-copyright {
    background: #081c33;
    color: rgba(255,255,255,0.55);
    padding: 1rem 0;
    font-size: 0.9rem;
}

#g-copyright .g-container {
    width: 100%;
    max-width: 72rem;
    padding: 0 1.25rem;
}

#g-copyright a { color: var(--ropo-teal-light); text-decoration: none; }

.ropo-cart-table { width: 100%; border-collapse: collapse; }
.ropo-cart-table th, .ropo-cart-table td { padding: 0.85rem; border-bottom: 1px solid var(--ropo-sand-dark); text-align: left; }
.ropo-cart-table th { background: var(--ropo-foam); font-weight: 600; color: var(--ropo-navy); }

.ropo-product-detail img { width: 100%; border-radius: 10px; border: 1px solid rgba(11,37,69,0.08); }
.ropo-qty { width: 5rem; }
.align-right { text-align: right; }
#g-main { padding: 0; }

@media (max-width: 768px) {
    .ropo-checkout-grid { grid-template-columns: 1fr; }

    .ropo-nav {
        display: flex;
        flex-wrap: wrap;
        min-height: auto;
        padding: 0.5rem 0 0;
        gap: 0.5rem 1rem;
    }

    .ropo-nav-logo { order: 1; justify-self: auto; }

    .ropo-nav-logo img,
    #g-navigation .g-logo img {
        max-height: 52px;
    }

    .ropo-nav-actions {
        order: 2;
        margin-left: auto;
        grid-column: auto;
        justify-self: auto;
    }

    .ropo-social-nav {
        display: flex;
    }

    .ropo-coast-bar__social {
        display: none;
    }

    .ropo-coast-bar {
        padding-right: 1rem;
    }

    .ropo-social-btn {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1.05rem;
        background: #fff;
        border: 2px solid var(--ropo-teal);
        color: var(--ropo-navy);
        box-shadow: 0 2px 8px rgba(11, 37, 69, 0.12);
    }

    .ropo-cart-bag {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1.05rem;
        background: #fff;
        border: 2px solid var(--ropo-teal);
        box-shadow: 0 2px 8px rgba(11, 37, 69, 0.12);
    }

    .ropo-main-nav {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        justify-content: space-around;
        gap: 0.25rem;
        padding: 0.65rem 0 0.75rem;
        border-top: 1px solid var(--ropo-sand-dark);
        grid-column: auto;
        justify-self: stretch;
    }

    .ropo-main-nav a {
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    .ropo-hero-slider, .ropo-hero-overlay { min-height: 400px; }

    .ropo-hero-overlay {
        padding: 2.5rem 1.25rem 2rem;
    }

    .ropo-hero-cta {
        padding: 0.9rem 1.75rem;
        font-size: 0.8rem;
    }

    .ropo-hero-dots {
        margin-top: 1.1rem;
    }

    .ropo-hero-overlay h1 { max-width: none; }

    .ropo-trust-strip__inner {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .g-productlist .g-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #g-feature .g-grid {
        grid-template-columns: 1fr;
    }

    #g-above .g-infolist,
    .ropo-perks {
        grid-template-columns: 1fr;
    }

    .ropo-showcase-strip .g-grid {
        grid-template-columns: 1fr;
    }

    .ropo-showcase-card { min-height: 200px; }

    .ropo-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }

    .ropo-footer-col--brand {
        grid-column: 1 / -1;
        text-align: center;
        padding-top: 1.25rem;
        margin-top: 0.25rem;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    #g-container-main { padding: 0 1rem; }

    .title6 .g-title { font-size: 1.65rem; }
}

@media (max-width: 480px) {
    .ropo-coast-bar {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }

    .ropo-footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ropo-footer-col {
        padding: 1.15rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .ropo-footer-col--brand {
        border-top: none;
        margin-top: 0;
        padding-top: 1.15rem;
        border-bottom: none;
    }

    .ropo-footer-links { text-align: center; }

    #g-footer {
        padding: 2.5rem 0 1.5rem;
    }

    #g-footer > .g-container {
        padding: 0 1rem;
    }
}
