@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@font-face { font-family: 'Algerian';      src: url(../../fonts/Algerian.otf) format('opentype'); }
@font-face { font-family: 'AllegroScript'; src: url(../../fonts/AllegroScript.otf) format('opentype'); }
@font-face { font-family: 'Arch-Bold';     src: url(../../fonts/Arch-Bold.otf) format('opentype'); }
@font-face { font-family: 'Futura Bold';   src: url(../../fonts/Futura\ Bold.otf) format('opentype'); }
@font-face { font-family: 'Gecko';         src: url(../../fonts/Gecko.otf) format('opentype'); }
@font-face { font-family: 'Gotham Bold';   src: url(../../fonts/Gotham\ Bold.otf) format('opentype'); }
@font-face { font-family: 'Larisa-Script'; src: url(../../fonts/Larisa-Script.otf) format('opentype'); }
@font-face { font-family: 'Milonga';       src: url(../../fonts/Milonga.otf) format('opentype'); }
@font-face { font-family: 'Snow';          src: url(../../fonts/Snow.ttf) format('opentype'); }
@font-face { font-family: 'Stamper';       src: url(../../fonts/Stamper.otf) format('opentype'); }
@font-face { font-family: 'You2013';       src: url(../../fonts/You2013.otf) format('opentype'); }

:root {
    --col1: #FFF5F1;            /* cream background   */
    --col1t20: #fff5f133;
    --col1t60: #fff5f199;
    --col2: #2D3250;            /* navy               */
    --col3: #FFFFFF;
    --col4: #ff5112;            /* orange (primary)   */
    --col5: #ffeb00;            /* yellow rule        */
    --col6: #000000;
    --col7: #fff079;            /* light yellow       */
    --col7t50: #fff07980;
    --col8: #f392f2;            /* pink               */
    --col8t50: #f392f280;
    --radius: 14px;
    --shadow: 0 2px 10px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 28px rgba(0,0,0,.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; }
img { max-width: 100%; }
button { cursor: pointer; }

body {
    max-width: 1920px;
    margin: 0 auto;
    background: var(--col1);
    color: var(--col2);
    overflow-x: hidden;
}

.nav-ajust { height: 100px; }
.container { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }

/* ============ NAV ============ */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    display: flex; justify-content: space-between; align-items: center;
    height: 100px; padding-inline: 64px;
    background: var(--col1);
    box-shadow: 0 1px 0 rgba(45,50,80,.08);
}
.nav-left img { width: 64px; height: 64px; }
nav .menu { display: flex; align-items: center; gap: 32px; list-style: none; }
nav .menu li a { text-decoration: none; color: var(--col2); font-size: 15px; transition: color .25s; }
nav .menu li a:hover { color: var(--col4); }
.active-page a { color: var(--col4) !important; font-weight: 700; }

.nav-right { display: flex; align-items: center; gap: 28px; }
.cart { position: relative; display: flex; }
.cart img { width: 26px; height: 26px; }
.cart-count {
    position: absolute; top: -10px; right: -12px;
    min-width: 20px; height: 20px; padding-inline: 4px;
    display: flex; justify-content: center; align-items: center;
    background: var(--col4); color: #fff;
    font-size: 11px; font-weight: 700; border-radius: 10px;
}
.profile { position: relative; display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.profile img { width: 24px; height: 24px; }
.profile p { font-size: 14px; max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-dropdown {
    display: none; position: absolute; top: calc(100% + 14px); right: 0;
    min-width: 190px; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.profile-dropdown.open { display: block; }
.profile-dropdown-header {
    padding: 14px 16px; font-size: 13px; font-weight: 700;
    background: var(--col7t50); border-bottom: 1px solid rgba(0,0,0,.06);
}
.profile-dropdown-item { display: block; padding: 12px 16px; font-size: 14px; color: var(--col2); text-decoration: none; transition: .2s; }
.profile-dropdown-item:hover { background: var(--col7t50); color: var(--col4); }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; justify-content: center; align-items: center; background: none; border: 0; border-radius: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--col2); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.main-btn {
    height: 50px; padding-inline: 30px;
    background: var(--col4); color: #fff;
    font-size: 17px; font-weight: 700;
    border: 0; border-radius: 12px; transition: .25s;
}
.main-btn:hover { background: var(--col2); transform: translateY(-2px); }
.main-btn:disabled { opacity: .5; transform: none; cursor: not-allowed; }
.ghost-btn {
    height: 44px; padding-inline: 20px; background: transparent;
    border: 2px solid var(--col2); color: var(--col2);
    border-radius: 12px; font-size: 15px; font-weight: 600; transition: .25s;
}
.ghost-btn:hover { background: var(--col2); color: #fff; }

/* ============ HERO ============ */
.hero { position: relative; }
.hero > img { width: 100%; height: auto; display: block; }
.hero-card {
    position: absolute; top: 50%; transform: translateY(-50%);
    max-width: 500px; padding: 36px 64px;
    background: var(--col1t20); backdrop-filter: blur(2px);
    border-radius: 0 24px 24px 0;
    display: flex; flex-direction: column; gap: 16px; transition: .4s;
}
.hero-card:hover { background: var(--col1t60); box-shadow: var(--shadow); }
.hero-card h1 { font-size: 38px; line-height: 1.15; }
.hero-card p { font-size: 19px; }

/* ============ SECTIONS ============ */
section.block { padding-block: 48px; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head hr { width: 90vw; max-width: 1240px; height: 2px; border: 0; background: var(--col5); margin: 0 auto 32px; }
.section-head h1 { font-size: 32px; }
.section-head p.sub { margin-top: 8px; color: #6b7280; font-size: 15px; }

/* ============ ABOUT ============ */
.about { display: flex; justify-content: center; align-items: flex-start; gap: 120px; padding: 64px; position: relative; }
.about > img { max-width: 420px; border-radius: var(--radius); }
.about-text { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.about-text h1 { font-size: 32px; }
.about-text p { font-size: 16px; line-height: 1.6; }
.shapes { position: absolute; inset: 0; overflow: visible; pointer-events: none; z-index: -1; }
.shapes img { position: absolute; opacity: .5; }
#shape-1 { top: 10px;  left: -15px; width: 233px; }
#shape-2 { top: 250px; left: -50px; width: 130px; }
#shape-3 { top: -20px; left: 629px; width: 195px; }
#shape-4 { top: 198px; left: 724px; width: 133px; }
#shape-5 { top: 275px; left: 95vw;  width: 128px; }

/* ============ FILTERS ============ */
.filter-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.filter-btns button {
    height: 40px; padding-inline: 16px;
    background: var(--col7); color: var(--col2);
    border: 0; border-radius: 20px; font-size: 15px; transition: .25s;
}
.filter-btns button:hover { transform: scale(1.05); box-shadow: var(--shadow); }
.filter-btns button.active { background: var(--col4); color: #fff; font-weight: 700; }

/* ============ PACKAGE / PRODUCT CARDS ============ */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.pkg-card {
    display: flex; flex-direction: column; background: #fff;
    border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pkg-card-top { background: var(--col8t50); padding: 22px 22px 16px; }
.pkg-card-top h2 { font-size: 21px; }
.pkg-card-top p { font-size: 13.5px; margin-top: 6px; color: #4b5563; }
.pkg-card-body { padding: 16px 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pkg-items { font-size: 13px; color: #6b7280; line-height: 1.7; }
.pkg-card-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 20px; }
.pkg-price { font-size: 23px; font-weight: 800; color: var(--col2); }
.pkg-card-foot .main-btn { height: 42px; font-size: 14px; padding-inline: 18px; }

.item-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.item-table th, .item-table td { padding: 13px 16px; text-align: left; font-size: 14px; }
.item-table th { background: var(--col2); color: #fff; font-weight: 600; }
.item-table tr:nth-child(even) td { background: #fafafa; }
.item-table .price-cell { font-weight: 700; white-space: nowrap; }
.smart-badge { background: var(--col2); color: var(--col7); font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; vertical-align: middle; }

/* ============ CATEGORIES STRIP ============ */
.category-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }
.category-item {
    width: 100px; height: 100px; border-radius: 14px;
    background: #fff; box-shadow: var(--shadow);
    display: flex; justify-content: center; align-items: center; transition: .25s;
    text-decoration: none;
}
.category-item img { width: 70px; height: 70px; object-fit: contain; }
.category-item:hover { transform: scale(1.06); background: var(--col7); box-shadow: var(--shadow-lg); }

/* ============ FOOTER ============ */
footer {
    display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap;
    gap: 32px; padding: 48px 64px 24px; margin-top: 90px;
    border-top: 2px solid var(--col5);
}
.footer-logo img { height: 150px; width: auto; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact a { color: var(--col2); text-decoration: none; }
.footer-contact a:hover { color: var(--col4); }
.footer-subscribe { display: flex; flex-direction: column; gap: 14px; }
.footer-subscribe h2 { font-size: 16px; }
.footer-subscribe form { display: flex; }
.footer-subscribe input {
    width: 270px; height: 48px; padding-inline: 14px;
    border: 2px solid var(--col2); border-radius: 12px 0 0 12px; font-size: 16px;
}
.footer-subscribe input:focus { outline: none; border-color: var(--col4); }
.footer-subscribe button {
    height: 48px; padding-inline: 22px; border: 2px solid var(--col2); border-left: 0;
    border-radius: 0 12px 12px 0; background: var(--col4); color: #fff; font-size: 16px; font-weight: 700; transition: .25s;
}
.footer-subscribe button:hover { background: var(--col2); }
.subscribe-ok { color: #166534; font-weight: 600; }
.footer-social-media { display: flex; flex-wrap: wrap; gap: 22px; max-width: 230px; }
.footer-social-media img { width: 46px; height: 46px; transition: .25s; }
.footer-social-media a:hover img { transform: scale(1.1); }
.signature { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-block: 18px; }
.signature a { color: var(--col2); font-size: 14px; font-weight: 600; text-decoration: none; }
.signature a:hover { color: var(--col4); }

/* ============ MODALS ============ */
.modal {
    display: none; position: fixed; inset: 0; z-index: 100;
    background: rgba(0,0,0,.5); padding: 24px;
}
.modal.open { display: flex; justify-content: center; align-items: flex-start; overflow-y: auto; }
.modal-content {
    background: #fff; margin-block: 4vh; padding: 30px;
    border-radius: 16px; width: 100%; max-width: 520px;
    position: relative; box-shadow: var(--shadow-lg);
}
.close-modal { position: absolute; right: 18px; top: 14px; font-size: 26px; background: none; border: 0; color: #999; }
.close-modal:hover { color: #000; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 600; font-size: 14px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 11px 12px;
    border: 1.5px solid #ddd; border-radius: 8px; font-size: 15px;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--col4); }
.required::after { content: " *"; color: #dc2626; }

.auth-tabs { display: flex; margin-bottom: 22px; border-bottom: 2px solid rgba(0,0,0,.08); }
.auth-tab { flex: 1; padding: 12px; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; font-size: 16px; color: var(--col2); }
.auth-tab.active { color: var(--col4); border-bottom-color: var(--col4); font-weight: 700; }
.auth-error, .form-error { display: none; background: #fee2e2; color: #dc2626; padding: 10px 12px; border-radius: 8px; font-size: 14px; margin-bottom: 14px; }
.auth-submit-btn { width: 100%; }

/* ============ STICKER SHAPES + PATTERNS ============ */
.sticker {
    position: relative; display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 4%;
    width: 100%; overflow: hidden;
    background-color: #3eb5a1; color: #fff;
    container-type: inline-size;
}
.sticker .st-text1, .sticker .st-text2 { text-align: center; font-weight: 700; line-height: 1.15; word-break: break-word; max-width: 88%; }
.sticker .st-text1 { font-size: 13cqw; }
.sticker .st-text2 { font-size: 9cqw; }
.sticker .st-icon  { width: 34%; height: auto; object-fit: contain; }
.sticker.no-icon .st-icon { display: none; }
.sticker.narrow .st-text1 { font-size: 8.5cqw; }
.sticker.narrow .st-icon { width: 14%; }

.shape-rect   { border-radius: 12% / 40%; }
.shape-square { border-radius: 10%; }
.shape-oval   { border-radius: 50%; }
.shape-circle { border-radius: 50%; }
.shape-shoe   { border-radius: 45% 55% 55% 45% / 60% 60% 40% 40%; }

/* Patterns: white overlays drawn above the background color */
.pattern-dots    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='6' cy='6' r='2.4' fill='white' fill-opacity='.35'/%3E%3Ccircle cx='18' cy='18' r='2.4' fill='white' fill-opacity='.35'/%3E%3C/svg%3E"); }
.pattern-stars   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cpath d='M9 2l1.8 4.1 4.2.4-3.2 2.9.9 4.2L9 11.4 5.3 13.6l.9-4.2L3 6.5l4.2-.4z' fill='white' fill-opacity='.35'/%3E%3Cpath d='M27 20l1.8 4.1 4.2.4-3.2 2.9.9 4.2-3.7-2.2-3.7 2.2.9-4.2-3.2-2.9 4.2-.4z' fill='white' fill-opacity='.35'/%3E%3C/svg%3E"); }
.pattern-hearts  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M8 6c-1.5-2.5-5-2-5 .8 0 2 2.5 3.8 5 5.8 2.5-2 5-3.8 5-5.8 0-2.8-3.5-3.3-5-.8z' fill='white' fill-opacity='.35'/%3E%3Cpath d='M24 20c-1.5-2.5-5-2-5 .8 0 2 2.5 3.8 5 5.8 2.5-2 5-3.8 5-5.8 0-2.8-3.5-3.3-5-.8z' fill='white' fill-opacity='.35'/%3E%3C/svg%3E"); }
.pattern-stripes { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M-4 24L24-4M-4 14L14-4M6 24L24 6' stroke='white' stroke-opacity='.3' stroke-width='3'/%3E%3C/svg%3E"); }
.pattern-waves   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16'%3E%3Cpath d='M0 8q5-8 10 0t10 0 10 0 10 0' fill='none' stroke='white' stroke-opacity='.35' stroke-width='2.5'/%3E%3C/svg%3E"); }
.pattern-zigzag  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Cpath d='M0 10L6 2l6 8 6-8 6 8' fill='none' stroke='white' stroke-opacity='.35' stroke-width='2.5'/%3E%3C/svg%3E"); }

/* ============ GENERATOR ============ */
.generator { display: grid; grid-template-columns: 1fr 460px; gap: 28px; padding: 16px 48px 0; align-items: start; }
.generator-preview {
    background: var(--col7t50); border-radius: 24px; padding: 18px;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; align-items: start;
}
.sticker-card {
    background: #fff; border-radius: 14px; padding: 10px;
    display: flex; flex-direction: column; gap: 8px;
    border: 2px solid transparent; box-shadow: var(--shadow);
    transition: .25s;
}
.sticker-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sticker-card.in-cart { border-color: var(--col4); }
.sticker-preview-wrap { width: 100%; display: flex; justify-content: center; align-items: center; min-height: 90px; }
.sticker-card-head { font-size: 12px; font-weight: 700; color: var(--col2); line-height: 1.3; min-height: 31px; }
.sticker-card-meta { font-size: 11px; color: #9ca3af; display: flex; justify-content: space-between; }
.sticker-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 7px; border-top: 1px solid rgba(0,0,0,.06); }
.sticker-price { font-size: 12.5px; font-weight: 700; color: var(--col4); }

.qty-selector { display: flex; align-items: center; gap: 2px; background: rgba(0,0,0,.05); border-radius: 20px; padding: 2px; }
.qty-btn {
    width: 26px; height: 26px; border-radius: 50%; border: 0;
    background: #fff; color: var(--col2); font-size: 15px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,.1); transition: .2s; line-height: 1;
}
.qty-btn:hover { background: var(--col4); color: #fff; }
.qty-btn:active { transform: scale(.88); }
.qty-display { min-width: 26px; text-align: center; font-size: 13px; font-weight: 700; }
.in-cart .qty-display { color: var(--col4); }

.generator-inputs { display: flex; flex-direction: column; gap: 16px; }
.input-parent {
    background: #fff; border-radius: 14px; padding: 18px;
    box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 10px;
}
.input-parent h2 { font-size: 15px; }
.input-parent-head { display: flex; justify-content: space-between; align-items: center; }
.input-parent-head label { font-size: 13px; }
.input-parent-head input[type=color] { width: 34px; height: 34px; border-radius: 6px; border: 1px solid #ccc; padding: 0; background: none; }
.input-group { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.input-group input[type=text] { flex: 1; min-width: 130px; height: 46px; padding-inline: 14px; border: 1.5px solid #ddd; border-radius: 10px; font-size: 15px; }
.input-group input[type=text]:focus { outline: none; border-color: var(--col4); }

.font-button {
    width: 48px; height: 48px; border-radius: 12px; border: 1px solid #eee;
    background: var(--col7); font-size: 22px; font-weight: 700; color: var(--col2); transition: .2s;
}
.font-button:hover { background: var(--col4); color: #fff; }
.font-button.active-opt { background: var(--col2); color: #fff; box-shadow: 0 0 0 2px var(--col4); }

.color-button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(0,0,0,.2); transition: .15s; }
.color-button.active-opt { transform: scale(1.12); box-shadow: 0 0 0 3px var(--col4); }

.pattern-button {
    width: 52px; height: 52px; border-radius: 10px; border: 1px solid #ddd;
    background-color: #9ca3af; transition: .15s; position: relative;
}
.pattern-button.active-opt { box-shadow: 0 0 0 3px var(--col4); transform: scale(1.08); }
.pattern-none { background: repeating-linear-gradient(45deg, #f3f4f6 0 8px, #e5e7eb 8px 16px); }

.icon-categories { display: flex; flex-wrap: wrap; gap: 8px; }
.icon-category { width: 50px; height: 50px; border-radius: 10px; background: var(--col1); border: 0; box-shadow: var(--shadow); }
.icon-category img { width: 36px; height: 36px; object-fit: contain; }
.icon-category.active-opt { background: var(--col7); box-shadow: 0 0 0 2px var(--col4); }
.icons-scroll { max-height: 250px; overflow-y: auto; }
.icon-list { display: flex; flex-wrap: wrap; gap: 10px; }
.icon-item { width: 60px; height: 60px; border-radius: 10px; background: #fff; border: 0; box-shadow: var(--shadow); }
.icon-item img { max-width: 46px; max-height: 46px; object-fit: contain; }
.icon-item.active-opt { box-shadow: 0 0 0 3px var(--col4); }

.generator-buttons { grid-column: 1 / -1; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; padding-block: 28px; }

/* Upload area */
.upload-area { border: 2px dashed var(--col4); border-radius: 12px; padding: 36px 18px; text-align: center; transition: .25s; cursor: pointer; }
.upload-area:hover, .upload-area.drag { background: #fff7f4; }
.upload-preview { max-width: 160px; margin: 0 auto 18px; display: none; }
.upload-preview img { border-radius: 8px; }

/* ============ CART PAGE ============ */
.cart-page { min-height: calc(100vh - 300px); padding: 40px 20px; }
.cart-container { max-width: 1100px; margin: 0 auto; }
.page-title { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.page-title h1 { font-size: 28px; }
.badge-pill { background: var(--col4); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 20px; }

.empty-state { background: #fff; border-radius: 20px; padding: 70px 20px; text-align: center; color: #9ca3af; box-shadow: var(--shadow); }
.empty-state p { font-size: 17px; margin-bottom: 18px; }

.cart-content { display: grid; grid-template-columns: 1fr 350px; gap: 26px; align-items: start; }
.cart-items-col { display: flex; flex-direction: column; gap: 14px; }
.cart-item-card { background: #fff; border-radius: 16px; padding: 16px 20px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow); }
.cart-thumb { width: 74px; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info strong { font-size: 15px; display: block; margin-bottom: 5px; }
.cart-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #555; background: #f3f4f6; border-radius: 6px; padding: 2px 8px; }
.chip .swatch { width: 12px; height: 12px; border-radius: 3px; border: 1px solid rgba(0,0,0,.15); }
.cart-item-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.cart-line-price { font-weight: 700; min-width: 70px; text-align: right; }
.cart-remove-btn { background: none; border: 0; color: #d1d5db; font-size: 18px; padding: 6px; border-radius: 8px; transition: .2s; }
.cart-remove-btn:hover { color: #ef4444; background: #fee2e2; }

.cart-summary-box { background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.cart-summary-box h2 { font-size: 17px; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; font-size: 15px; color: #555; padding-block: 5px; }
.summary-row.total { border-top: 1px solid #eee; margin-top: 8px; padding-top: 12px; font-weight: 700; color: var(--col2); }
.summary-row.total span:last-child { color: var(--col4); font-size: 20px; }
.gift-row { display: flex; align-items: center; gap: 8px; margin-block: 12px; font-size: 14px; }
.logged-in-user { display: flex; align-items: center; gap: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; color: #166534; margin-bottom: 14px; }

/* ============ ORDERS PAGE ============ */
.orders-page { min-height: calc(100vh - 300px); padding: 40px 20px; }
.orders-container { max-width: 860px; margin: 0 auto; }
.order-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 20px; }
.order-card-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 16px 24px; border-bottom: 1px solid #f3f4f6; }
.order-card-id { font-weight: 700; }
.order-card-date { font-size: 13px; color: #9ca3af; }
.order-status { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.status-pending   { background: #fef9c3; color: #854d0e; }
.status-confirmed { background: #dbeafe; color: #1e40af; }
.status-shipped   { background: #ede9fe; color: #5b21b6; }
.status-delivered { background: #dcfce7; color: #166534; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.order-card-body { padding: 16px 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.order-item-chip { display: inline-flex; align-items: center; gap: 6px; background: #f3f4f6; border-radius: 8px; padding: 5px 12px; font-size: 13px; }
.order-item-chip .chip-badge { background: var(--col4); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; }
.order-card-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 24px; background: #fafafa; border-top: 1px solid #f3f4f6; font-size: 13px; color: #6b7280; }
.order-success-banner { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 16px; padding: 18px 22px; margin-bottom: 26px; color: #166534; }
.order-success-banner h3 { font-size: 16px; margin-bottom: 4px; }

/* ============ SMART STICKER PAGE ============ */
.smart-page { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.smart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; margin-top: 24px; }
.smart-shapes { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.smart-shape-card { background: #fff; border: 2px solid transparent; border-radius: 14px; padding: 14px; text-align: center; box-shadow: var(--shadow); cursor: pointer; transition: .2s; }
.smart-shape-card.selected { border-color: var(--col4); }
.smart-shape-card h3 { font-size: 13px; margin-top: 10px; }
.smart-shape-card .price { font-size: 13px; font-weight: 700; color: var(--col4); margin-top: 4px; }
.smart-form { background: #fff; border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.qr-preview-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-block: 14px; }
.qr-sticker { width: 190px; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 8px solid var(--col2); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 22px; }
.qr-sticker .qr-name { font-size: 13px; font-weight: 700; text-align: center; color: var(--col2); }
.qr-box canvas, .qr-box img { width: 100px !important; height: 100px !important; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
    .generator { grid-template-columns: 1fr; padding-inline: 20px; }
    .cart-content, .smart-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    nav { height: 70px; padding-inline: 16px; }
    .nav-ajust { height: 70px; }
    .nav-left img { width: 46px; height: 46px; }
    .hamburger { display: flex; }
    nav .menu {
        display: none; position: fixed; top: 70px; left: 0; width: 100%;
        flex-direction: column; gap: 0; background: var(--col1);
        box-shadow: 0 8px 12px rgba(0,0,0,.1); padding-block: 6px;
    }
    nav .menu.open { display: flex; }
    nav .menu li { width: 100%; text-align: center; padding: 13px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
    .nav-right { gap: 16px; }
    .nav-right .profile p { display: none; }

    .hero { display: flex; flex-direction: column; }
    .hero-card { position: static; transform: none; border-radius: 0; max-width: none; padding: 20px 16px; background: var(--col1t60); }
    .hero-card h1 { font-size: 25px; }
    .hero-card p { font-size: 15px; }

    .about { flex-direction: column; padding: 24px 16px; gap: 24px; align-items: center; }
    #shape-3, #shape-4, #shape-5 { display: none; }

    .section-head h1, .about-text h1 { font-size: 25px; }
    footer { padding: 32px 16px 16px; justify-content: center; }
    .footer-logo img { height: 110px; }
    .footer-subscribe input { width: 200px; }

    .generator-preview { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; }
    .item-table { display: block; overflow-x: auto; }
}
@media (max-width: 480px) {
    .main-btn { font-size: 15px; height: 46px; padding-inline: 20px; }
    .cart-item-card { flex-wrap: wrap; }
    .cart-item-right { width: 100%; justify-content: space-between; }
    .generator-preview { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
